/linux-master/net/tipc/ |
H A D | msg.c | 704 u32 scope = msg_lookup_scope(msg); local 722 tipc_uaddr(&ua, TIPC_SERVICE_RANGE, scope, 724 sk.node = tipc_scope2node(net, scope);
|
H A D | socket.c | 667 * Name and name sequence binding are indicated using a positive scope value; 668 * a negative scope value unbinds the specified name. Specifying no name 689 if (ua->scope < 0) { 691 ua->scope = -ua->scope; 694 if (ua->scope != TIPC_NODE_SCOPE) 695 ua->scope = TIPC_CLUSTER_SCOPE; 767 addr->scope = 0; 1021 ua->scope = msg_lookup_scope(hdr); 1171 ua->scope 3116 int scope; local 3242 int len, scope; local [all...] |
/linux-master/net/ipv4/ |
H A D | udp.c | 1057 u8 tos, scope; local 1182 scope = ip_sendmsg_scope(inet, &ipc, msg); 1183 if (scope == RT_SCOPE_LINK) 1218 flowi4_init_output(fl4, ipc.oif, ipc.sockc.mark, tos, scope,
|
H A D | raw.c | 489 u8 tos, scope; local 585 scope = ip_sendmsg_scope(inet, &ipc, msg); 609 flowi4_init_output(&fl4, ipc.oif, ipc.sockc.mark, tos, scope,
|
H A D | route.c | 515 __u8 scope = RT_SCOPE_UNIVERSE; local 521 scope = ip_sock_rt_scope(sk); 526 flowi4_init_output(fl4, oif, mark, tos & IPTOS_RT_MASK, scope,
|
H A D | fib_frontend.c | 278 int scope; local 289 scope = RT_SCOPE_UNIVERSE; 297 .flowi4_scope = scope, 303 scope = RT_SCOPE_LINK; 306 return inet_select_addr(dev, ip_hdr(skb)->saddr, scope); 1371 frn->scope = res.scope;
|
H A D | nexthop.c | 1575 static int nexthop_check_scope(struct nh_info *nhi, u8 scope, argument 1578 if (scope == RT_SCOPE_HOST && nhi->fib_nhc.nhc_gw_family) { 1580 "Route with host scope can not have a gateway"); 1584 if (nhi->fib_nhc.nhc_flags & RTNH_F_ONLINK && scope >= RT_SCOPE_LINK) { 1596 int fib_check_nexthop(struct nexthop *nh, u8 scope, argument 1612 if (scope == RT_SCOPE_HOST) { 1613 NL_SET_ERR_MSG(extack, "Route with host scope can not have multiple nexthops"); 1618 /* all nexthops in a group have the same scope */ 1620 err = nexthop_check_scope(nhi, scope, extack); 1628 err = nexthop_check_scope(nhi, scope, extac [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/ |
H A D | r535.c | 1363 nvkm_error(subdev, "rc engn:%08x chid:%d type:%d scope:%d part:%d\n", 1364 msg->nv2080EngineType, msg->chid, msg->exceptType, msg->scope,
|
/linux-master/kernel/ |
H A D | workqueue.c | 243 PWQ_STAT_REPATRIATED, /* unbound workers brought back into scope */ 1274 * its affinity scope. Repatriate. 4582 enum wq_affn_scope scope; local 4589 scope = wq_affn_dfl; 4591 scope = attrs->affn_scope; 4593 pt = &wq_pod_types[scope]; 6858 * affinity_scope RW str : worker CPU affinity scope (cache, numa, none)
|
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.py | 398 for scope in self.scopes: 399 if name in scope.spec: 400 if name in scope.values: 401 return scope.values[name] 402 spec_name = scope.spec.yaml['name']
|
/linux-master/drivers/net/wireless/ath/ath11k/ |
H A D | mac.c | 9016 u32 count, scope; local 9038 scope = ipv6_addr_src_scope(&ifa6->addr); 9039 if (scope == IPV6_ADDR_SCOPE_LINKLOCAL || 9040 scope == IPV6_ADDR_SCOPE_GLOBAL) { 9044 ath11k_dbg(ar->ab, ATH11K_DBG_MAC, "count %d ipv6 uc %pI6 scope %d\n", 9046 scope); 9049 ath11k_warn(ar->ab, "Unsupported ipv6 scope: %d\n", scope); 9059 scope = ipv6_addr_src_scope(&ifaca6->aca_addr); 9060 if (scope [all...] |
/linux-master/tools/power/x86/turbostat/ |
H A D | turbostat.c | 7527 unsigned int width, enum counter_scope scope, 7550 switch (scope) { 7593 enum counter_scope scope = SCOPE_CPU; local 7616 scope = SCOPE_CPU; 7620 scope = SCOPE_CORE; 7624 scope = SCOPE_PACKAGE; 7682 if (add_counter(msr_num, path, name_buffer, width, scope, type, format, 0)) 7526 add_counter(unsigned int msr_num, char *path, char *name, unsigned int width, enum counter_scope scope, enum counter_type type, enum counter_format format, int flags) argument
|
/linux-master/net/ipv6/ |
H A D | addrconf.c | 33 * selection; consider scope, 1003 * Each device address list is sorted in order of scope - 1135 ifa->scope = cfg->scope; 1473 cfg.scope = ipv6_addr_scope(cfg.pfx); 1531 int scope; member in struct:ipv6_saddr_dst 1609 /* Rule 2: Prefer appropriate scope 1614 * ---+--+-+---> scope 1616 * | d is scope of the destination. 1618 * | \ <- smaller scope i 3186 add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int plen, int scope, u8 proto) argument 3217 int scope, plen, offset = 0; local 5062 put_ifaddrmsg(struct nlmsghdr *nlh, u8 prefixlen, u32 flags, u8 scope, int ifindex) argument 5210 u8 scope = RT_SCOPE_UNIVERSE; local 5245 u8 scope = RT_SCOPE_UNIVERSE; local [all...] |
/linux-master/include/net/ |
H A D | addrconf.h | 84 u16 scope; member in struct:ifa6_config 171 * scope according to RFC2373.
|
/linux-master/tools/include/linux/ |
H A D | btf_ids.h | 76 #define __BTF_ID_LIST(name, scope) \ 79 "." #scope " " #name "; \n" \ 135 #define __BTF_SET_START(name, scope) \ 138 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/linux-master/scripts/kconfig/tests/ |
H A D | conftest.py | 296 @pytest.fixture(scope="module")
|
/linux-master/kernel/sched/ |
H A D | core.c | 9120 struct rq *rq = scope.rq;
|
/linux-master/drivers/firmware/xilinx/ |
H A D | zynqmp.c | 1526 * struct zynqmp_pm_shutdown_scope - Struct for shutdown scope 1528 * @name: Matching string for scope argument 1530 * This struct encapsulates mapping between shutdown scope ID and string. 1556 * zynqmp_pm_is_shutdown_scope_valid - Check if shutdown scope string is valid 1557 * @scope_string: Shutdown scope string 1559 * Return: Return pointer to matching shutdown scope struct from 1601 struct zynqmp_pm_shutdown_scope *scope; local 1603 scope = zynqmp_pm_is_shutdown_scope_valid(buf); 1604 if (!scope) 1608 scope [all...] |
/linux-master/include/rdma/ |
H A D | uverbs_ioctl.h | 333 u8 scope; member in struct:uapi_definition 369 .scope = UAPI_SCOPE_OBJECT, \ 380 .scope = UAPI_SCOPE_OBJECT, \ 394 .scope = UAPI_SCOPE_OBJECT, \ 409 .scope = UAPI_SCOPE_METHOD, \ 421 .scope = UAPI_SCOPE_OBJECT, .func_is_supported = _func, \
|
/linux-master/arch/arm64/kernel/ |
H A D | cpufeature.c | 1538 has_always(const struct arm64_cpu_capabilities *entry, int scope) argument 1571 read_scoped_sysreg(const struct arm64_cpu_capabilities *entry, int scope) argument 1573 WARN_ON(scope == SCOPE_LOCAL_CPU && preemptible()); 1574 if (scope == SCOPE_SYSTEM) 1581 has_user_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) argument 1585 u64 val = read_scoped_sysreg(entry, scope); 1601 has_cpuid_feature(const struct arm64_cpu_capabilities *entry, int scope) argument 1603 u64 val = read_scoped_sysreg(entry, scope); 1651 static bool has_32bit_el0(const struct arm64_cpu_capabilities *entry, int scope) argument 1653 if (!has_cpuid_feature(entry, scope)) 1662 has_useable_gicv3_cpuif(const struct arm64_cpu_capabilities *entry, int scope) argument 1677 has_cache_idc(const struct arm64_cpu_capabilities *entry, int scope) argument 1702 has_cache_dic(const struct arm64_cpu_capabilities *entry, int scope) argument 1716 has_useable_cnp(const struct arm64_cpu_capabilities *entry, int scope) argument 1735 unmap_kernel_at_el0(const struct arm64_cpu_capabilities *entry, int scope) argument 1811 has_nv1(const struct arm64_cpu_capabilities *entry, int scope) argument 1852 has_lpa2(const struct arm64_cpu_capabilities *entry, int scope) argument 1860 has_lpa2(const struct arm64_cpu_capabilities *entry, int scope) argument 2124 has_nested_virt_support(const struct arm64_cpu_capabilities *cap, int scope) argument 2167 has_address_auth_cpucap(const struct arm64_cpu_capabilities *entry, int scope) argument 2193 has_address_auth_metacap(const struct arm64_cpu_capabilities *entry, int scope) argument 2223 can_use_gic_priorities(const struct arm64_cpu_capabilities *entry, int scope) argument 2237 has_gic_prio_relaxed_sync(const struct arm64_cpu_capabilities *entry, int scope) argument 3032 compat_has_neon(const struct arm64_cpu_capabilities *cap, int scope) argument [all...] |
/linux-master/arch/arm64/include/asm/ |
H A D | cpufeature.h | 168 * a) Boot CPU scope capabilities - Finalised by primary boot CPU via 338 bool (*matches)(const struct arm64_cpu_capabilities *caps, int scope); 401 int scope) 406 if (caps->matches(caps, scope)) 637 static inline bool supports_csv2p3(int scope) argument 642 if (scope == SCOPE_LOCAL_CPU) 652 static inline bool supports_clearbhb(int scope) argument 656 if (scope == SCOPE_LOCAL_CPU) 400 cpucap_multi_entry_cap_matches(const struct arm64_cpu_capabilities *entry, int scope) argument
|
/linux-master/drivers/iommu/intel/ |
H A D | dmar.c | 83 struct acpi_dmar_device_scope *scope; local 87 scope = start; 88 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || 89 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || 90 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) 92 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && 93 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { 94 pr_warn("Unsupported device scope\n"); 96 start += scope->length; 221 struct acpi_dmar_device_scope *scope; local 732 struct acpi_dmar_device_scope *scope; local [all...] |
/linux-master/drivers/acpi/ |
H A D | property.c | 66 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope, 99 acpi_handle scope; local 103 * The scope for the subnode object lookup is the one of the 105 * returned the package. That is, it's the scope of that 108 status = acpi_get_parent(handle, &scope); 110 && acpi_enumerate_nondev_subnodes(scope, desc, &dn->data, 151 static bool acpi_nondev_subnode_ok(acpi_handle scope, argument 159 if (!scope) 162 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, 170 static bool acpi_add_nondev_subnodes(acpi_handle scope, argument 218 acpi_enumerate_nondev_subnodes(acpi_handle scope, union acpi_object *desc, struct acpi_device_data *data, struct fwnode_handle *parent) argument 492 acpi_extract_properties(acpi_handle scope, union acpi_object *desc, struct acpi_device_data *data) argument 845 acpi_handle scope, handle; local [all...] |
/linux-master/tools/testing/selftests/power_supply/ |
H A D | test_power_supply_properties.sh | 81 test_sysfs_prop_optional_list scope "Unknown","System","Device"
|
/linux-master/net/sctp/ |
H A D | socket.c | 1075 enum sctp_scope scope; local 1090 scope = sctp_scope(daddr); 1091 asoc = sctp_association_new(ep, sk, scope, GFP_KERNEL); 1095 err = sctp_assoc_set_bind_addr_from_ep(asoc, scope, GFP_KERNEL);
|