/linux/tools/testing/selftests/power_supply/ |
H A D | test_power_supply_properties.sh | 81 test_sysfs_prop_optional_list scope "Unknown","System","Device"
|
/linux/tools/net/ynl/lib/ |
H A D | ynl.py | 441 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 D | socket.c | 689 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 D | ipv6.c | 285 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 D | protocol.c | 133 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 D | socket.c | 1075 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 D | udp.c | 1068 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 D | route.c | 503 __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 D | devinet.c | 1320 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 D | fib_semantics.c | 102 .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 D | arp.c | 399 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 D | addrconf.c | 1136 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 D | netdev-genl.c | 664 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 D | Kconfig.debug | 118 enabled/disabled based on various levels of scope - per source file,
|
/linux/include/net/ |
H A D | nexthop.h | 484 int fib_check_nexthop(struct nexthop *nh, u8 scope,
|
H A D | route.h | 159 __u8 scope) in ip_route_output() argument 164 .flowi4_scope = scope, in ip_route_output()
|
H A D | ip.h | 625 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 D | btf_ids.h | 89 #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 D | qedf_io.c | 1128 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 D | mac.c | 9108 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 D | irq_remapping.c | 854 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 D | aclocal.h | 366 scope, 683 struct acpi_scope_state scope; member 917 union acpi_generic_state *scope; /* Current scope */ member
|
/linux/drivers/acpi/ |
H A D | property.c | 104 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 D | scsi_mid_low_api.rst | 107 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 D | netdev.yaml | 78 name: qstats-scope 278 Value of the `scope` attribute determines how statistics are 303 name: scope 307 enum: qstats-scope 608 - scope
|