Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 264) sorted by last modified time

1234567891011

/linux/tools/testing/selftests/power_supply/
H A Dtest_power_supply_properties.sh81 test_sysfs_prop_optional_list scope "Unknown","System","Device"
/linux/tools/net/ynl/lib/
H A Dynl.py441 for scope in self.scopes:
442 if name in scope.spec:
443 if name in scope.values:
444 return scope.values[name]
445 spec_name = scope.spec.yaml['name']
/linux/net/tipc/
H A Dsocket.c689 if (ua->scope < 0) { in __tipc_bind()
691 ua->scope = -ua->scope; in __tipc_bind()
695 ua->scope = TIPC_CLUSTER_SCOPE; in __tipc_bind()
767 addr->scope = 0; in tipc_getname()
1222 ua.scope = TIPC_ANY_SCOPE; in tipc_sk_mcast_rcv()
1707 srcaddr->sock.scope = 0; in tipc_sk_set_orig_addr()
1719 srcaddr->member.scope = 0; in tipc_sk_set_orig_addr()
2945 if (p->scope != ua->scope) in tipc_sk_withdraw()
3116 int scope; in tipc_sk_leave() local
3122 ua.scope = scope; in tipc_sk_leave()
[all …]
/linux/net/sctp/
H A Dipv6.c285 enum sctp_scope scope; in sctp_v6_get_dst() local
334 scope = sctp_scope(daddr); in sctp_v6_get_dst()
378 scope > sctp_scope(&laddr->a)) in sctp_v6_get_dst()
1141 .scope = sctp_v6_scope,
H A Dprotocol.c133 enum sctp_scope scope, gfp_t gfp, int copy_flags) in sctp_copy_local_addr_list() argument
143 if (!sctp_in_scope(net, &addr->a, scope)) in sctp_copy_local_addr_list()
1187 .scope = sctp_v4_scope,
H A Dsocket.c1075 enum sctp_scope scope; in sctp_connect_new_asoc() local
1090 scope = sctp_scope(daddr); in sctp_connect_new_asoc()
1091 asoc = sctp_association_new(ep, sk, scope, GFP_KERNEL); in sctp_connect_new_asoc()
1095 err = sctp_assoc_set_bind_addr_from_ep(asoc, scope, GFP_KERNEL); in sctp_connect_new_asoc()
/linux/net/ipv4/
H A Dudp.c1068 u8 tos, scope; in udp_sendmsg() local
1193 scope = ip_sendmsg_scope(inet, &ipc, msg); in udp_sendmsg()
1194 if (scope == RT_SCOPE_LINK) in udp_sendmsg()
1229 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, scope, in udp_sendmsg()
H A Droute.c503 __u8 scope = RT_SCOPE_UNIVERSE; in __build_flow_key() local
509 scope = ip_sock_rt_scope(sk); in __build_flow_key()
514 flowi4_init_output(fl4, oif, mark, tos & IPTOS_RT_MASK, scope, in __build_flow_key()
H A Ddevinet.c1320 int scope) in in_dev_select_addr() argument
1328 ifa->ifa_scope <= scope) in in_dev_select_addr()
1355 if (min(ifa->ifa_scope, localnet_scope) > scope) in inet_select_addr()
1378 addr = in_dev_select_addr(in_dev, scope); in inet_select_addr()
1395 addr = in_dev_select_addr(in_dev, scope); in inet_select_addr()
1406 __be32 local, int scope) in confirm_addr_indev() argument
1421 min_scope <= scope) { in confirm_addr_indev()
1436 if (min_scope <= scope) { in confirm_addr_indev()
1458 __be32 dst, __be32 local, int scope) in inet_confirm_addr() argument
1464 return confirm_addr_indev(in_dev, dst, local, scope); in inet_confirm_addr()
[all …]
H A Dfib_semantics.c102 .scope = RT_SCOPE_NOWHERE,
106 .scope = RT_SCOPE_UNIVERSE,
110 .scope = RT_SCOPE_HOST,
114 .scope = RT_SCOPE_LINK,
118 .scope = RT_SCOPE_LINK,
122 .scope = RT_SCOPE_UNIVERSE,
126 .scope = RT_SCOPE_UNIVERSE,
142 .scope = RT_SCOPE_NOWHERE,
146 .scope = RT_SCOPE_NOWHERE,
1325 unsigned char scope) in fib_info_update_nhc_saddr() argument
[all …]
H A Darp.c399 int scope; in arp_ignore() local
406 scope = RT_SCOPE_HOST; in arp_ignore()
412 scope = RT_SCOPE_HOST; in arp_ignore()
416 scope = RT_SCOPE_LINK; in arp_ignore()
429 return !inet_confirm_addr(net, in_dev, sip, tip, scope); in arp_ignore()
435 int scope = RT_SCOPE_LINK; in arp_accept() local
446 return !!inet_confirm_addr(net, in_dev, sip, 0, scope); in arp_accept()
/linux/net/ipv6/
H A Daddrconf.c1136 ifa->scope = cfg->scope; in ipv6_add_addr()
1532 int scope; member
1632 if (ret >= dst->scope) in ipv6_get_saddr_eval()
2182 .scope = ifp->scope, in addrconf_dad_failure()
3197 .scope = scope, in add_addr()
3238 scope = IFA_LINK; in add_v4_addrs()
3253 int flag = scope; in add_v4_addrs()
3302 .scope = IFA_LINK, in addrconf_add_linklocal()
4489 ifp->scope, in if6_seq_show()
5072 ifm->ifa_scope = scope; in put_ifaddrmsg()
[all …]
/linux/net/core/
H A Dnetdev-genl.c664 netdev_nl_qstats_get_dump_one(struct net_device *netdev, unsigned int scope, in netdev_nl_qstats_get_dump_one() argument
671 switch (scope) { in netdev_nl_qstats_get_dump_one()
689 unsigned int scope; in netdev_nl_qstats_get_dumpit() local
692 scope = 0; in netdev_nl_qstats_get_dumpit()
694 scope = nla_get_uint(info->attrs[NETDEV_A_QSTATS_SCOPE]); in netdev_nl_qstats_get_dumpit()
704 err = netdev_nl_qstats_get_dump_one(netdev, scope, skb, in netdev_nl_qstats_get_dumpit()
713 err = netdev_nl_qstats_get_dump_one(netdev, scope, skb, in netdev_nl_qstats_get_dumpit()
/linux/lib/
H A DKconfig.debug118 enabled/disabled based on various levels of scope - per source file,
/linux/include/net/
H A Dnexthop.h484 int fib_check_nexthop(struct nexthop *nh, u8 scope,
H A Droute.h159 __u8 scope) in ip_route_output() argument
164 .flowi4_scope = scope, in ip_route_output()
H A Dip.h625 unsigned char scope = broadcast[5] & 0xF; in ip_ib_mc_map() local
633 buf[5] = 0x10 | scope; /* scope from broadcast address */ in ip_ib_mc_map()
/linux/include/linux/
H A Dbtf_ids.h89 #define __BTF_ID_LIST(name, scope) \ argument
92 "." #scope " " #name "; \n" \
148 #define __BTF_SET_START(name, scope) \ argument
151 "." #scope " __BTF_ID__set__" #name "; \n" \
192 #define __BTF_SET8_START(name, scope, flags) \ argument
196 "." #scope " __BTF_ID__set8__" #name "; \n" \
/linux/drivers/scsi/qedf/
H A Dqedf_io.c1128 u16 scope, qualifier = 0; in qedf_scsi_completion() local
1253 scope = fcp_rsp->retry_delay_timer & 0xC000; in qedf_scsi_completion()
1271 if ((scope == 1 || scope == 2) && in qedf_scsi_completion()
1283 scope, qualifier); in qedf_scsi_completion()
1296 scope, qualifier); in qedf_scsi_completion()
/linux/drivers/net/wireless/ath/ath11k/
H A Dmac.c9108 u32 count, scope; in ath11k_mac_op_ipv6_changed() local
9130 scope = ipv6_addr_src_scope(&ifa6->addr); in ath11k_mac_op_ipv6_changed()
9131 if (scope == IPV6_ADDR_SCOPE_LINKLOCAL || in ath11k_mac_op_ipv6_changed()
9132 scope == IPV6_ADDR_SCOPE_GLOBAL) { in ath11k_mac_op_ipv6_changed()
9138 scope); in ath11k_mac_op_ipv6_changed()
9141 ath11k_warn(ar->ab, "Unsupported ipv6 scope: %d\n", scope); in ath11k_mac_op_ipv6_changed()
9151 scope = ipv6_addr_src_scope(&ifaca6->aca_addr); in ath11k_mac_op_ipv6_changed()
9152 if (scope == IPV6_ADDR_SCOPE_LINKLOCAL || in ath11k_mac_op_ipv6_changed()
9153 scope == IPV6_ADDR_SCOPE_GLOBAL) { in ath11k_mac_op_ipv6_changed()
9159 scope); in ath11k_mac_op_ipv6_changed()
[all …]
/linux/drivers/iommu/intel/
H A Dirq_remapping.c854 bus = scope->bus; in ir_parse_one_hpet_scope()
855 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
871 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
882 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
886 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
899 bus = scope->bus; in ir_parse_one_ioapic_scope()
900 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
929 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
941 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
949 scope = start; in ir_parse_ioapic_hpet_scope()
[all …]
/linux/drivers/acpi/acpica/
H A Daclocal.h366 scope,
683 struct acpi_scope_state scope; member
917 union acpi_generic_state *scope; /* Current scope */ member
/linux/drivers/acpi/
H A Dproperty.c104 acpi_handle scope; in acpi_nondev_subnode_extract() local
113 status = acpi_get_parent(handle, &scope); in acpi_nondev_subnode_extract()
156 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument
164 if (!scope) in acpi_nondev_subnode_ok()
175 static bool acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument
200 result = acpi_nondev_subnode_ok(scope, link, list, in acpi_add_nondev_subnodes()
524 acpi_data_add_buffer_props(scope, data, properties); in acpi_extract_properties()
850 acpi_handle scope, handle; in acpi_parse_string_ref() local
856 scope = to_acpi_device_node(fwnode)->handle; in acpi_parse_string_ref()
858 scope = to_acpi_data_node(fwnode)->handle; in acpi_parse_string_ref()
[all …]
/linux/Documentation/scsi/
H A Dscsi_mid_low_api.rst107 scsi_host_template at file scope will cause NULL to be placed in function
114 All functions defined within an LLD and all data defined at file scope
1040 typically initialized as a file scope static in a driver's header file. That
/linux/Documentation/netlink/specs/
H A Dnetdev.yaml78 name: qstats-scope
278 Value of the `scope` attribute determines how statistics are
303 name: scope
307 enum: qstats-scope
608 - scope

1234567891011