/linux/drivers/acpi/acpica/ |
A D | psscope.c | 79 if (!scope) { in acpi_ps_init_scope() 89 parser_state->scope = scope; in acpi_ps_init_scope() 120 if (!scope) { in acpi_ps_push_scope() 125 scope->parse_scope.op = op; in acpi_ps_push_scope() 132 acpi_ut_push_generic_state(&parser_state->scope, scope); in acpi_ps_push_scope() 168 union acpi_generic_state *scope = parser_state->scope; in acpi_ps_pop_scope() local 174 if (scope->common.next) { in acpi_ps_pop_scope() 175 scope = acpi_ut_pop_generic_state(&parser_state->scope); in acpi_ps_pop_scope() 179 *op = scope->parse_scope.op; in acpi_ps_pop_scope() 225 while (parser_state->scope) { in acpi_ps_cleanup_scope() [all …]
|
A D | dswscope.c | 40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear() 100 scope_info->scope.node = node; in acpi_ds_scope_stack_push() 114 scope.node), in acpi_ds_scope_stack_push() 123 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_push() 164 acpi_ut_get_node_name(scope_info->scope.node), in acpi_ds_scope_stack_pop() 171 scope.node), in acpi_ds_scope_stack_pop()
|
A D | nsconvert.c | 286 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope, in acpi_ns_convert_to_unicode() argument 353 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope, in acpi_ns_convert_to_resource() argument 432 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope, in acpi_ns_convert_to_reference() argument 454 scope_info.scope.node = in acpi_ns_convert_to_reference() 455 ACPI_CAST_PTR(struct acpi_namespace_node, scope); in acpi_ns_convert_to_reference()
|
/linux/arch/m68k/kernel/ |
A D | sys_m68k.c | 72 switch (scope) in cache_flush_040() 238 switch (scope) in cache_flush_060() 382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL || in sys_cacheflush() 386 if (scope == FLUSH_SCOPE_ALL) { in sys_cacheflush() 411 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush() 444 if (len>=3*PAGE_SIZE && scope<FLUSH_SCOPE_PAGE) in sys_cacheflush() 445 scope=FLUSH_SCOPE_PAGE; in sys_cacheflush() 446 if (len>=10*PAGE_SIZE && scope<FLUSH_SCOPE_ALL) in sys_cacheflush() 447 scope=FLUSH_SCOPE_ALL; in sys_cacheflush() 449 ret = cache_flush_040 (addr, scope, cache, len); in sys_cacheflush() [all …]
|
/linux/tools/testing/selftests/bpf/ |
A D | test_lwt_seg6local.sh | 94 ip netns exec ns1 ip -6 addr add fb00::12/16 dev veth1 scope link 95 ip netns exec ns1 ip -6 route add fb00::21 dev veth1 scope link 96 ip netns exec ns2 ip -6 addr add fb00::21/16 dev veth2 scope link 97 ip netns exec ns2 ip -6 addr add fb00::34/16 dev veth3 scope link 98 ip netns exec ns2 ip -6 route add fb00::43 dev veth3 scope link 99 ip netns exec ns3 ip -6 route add fb00::65 dev veth5 scope link 100 ip netns exec ns3 ip -6 addr add fb00::43/16 dev veth4 scope link 101 ip netns exec ns3 ip -6 addr add fb00::56/16 dev veth5 scope link 102 ip netns exec ns4 ip -6 addr add fb00::65/16 dev veth6 scope link 104 ip netns exec ns4 ip -6 route add fb00::87 dev veth7 scope link [all …]
|
/linux/arch/arm64/kernel/ |
A D | cpu_errata.c | 23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range() 38 int scope) in is_affected_midr_range_list() argument 40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list() 49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr() 60 int scope) in has_mismatched_cache_type() argument 66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type() 112 int scope) in has_cortex_a76_erratum_1463225() argument 169 int scope) in needs_tx2_tvm_workaround() argument 173 if (!is_affected_midr_range_list(entry, scope) || in needs_tx2_tvm_workaround() 187 int scope) in has_neoverse_n1_erratum_1542419() argument [all …]
|
A D | proton-pack.c | 162 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument 164 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 282 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument 290 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 468 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument 472 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
A D | aicasm_symbol.h | 168 typedef struct scope { struct 169 SLIST_ENTRY(scope) scope_stack_links; 170 TAILQ_ENTRY(scope) scope_links; 171 TAILQ_HEAD(, scope) inner_scope; 181 SLIST_HEAD(scope_list, scope); argument 182 TAILQ_HEAD(scope_tailq, scope);
|
A D | aicasm.c | 80 static void dump_scope(scope_t *scope); 460 dump_scope(scope_t *scope) in dump_scope() argument 467 emit_patch(scope, 0); in dump_scope() 472 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope() 484 emit_patch(scope, 1); in dump_scope() 488 emit_patch(scope_t *scope, int patch) in emit_patch() argument 493 pinfo = &scope->patches[patch]; in emit_patch() 507 new_patch->patch_func = scope->func_num; in emit_patch() 508 new_patch->begin = scope->begin_addr; in emit_patch() 511 new_patch->begin = scope->end_addr; in emit_patch() [all …]
|
/linux/drivers/counter/ |
A D | counter-sysfs.c | 35 enum counter_scope scope; member 97 switch (a->scope) { in counter_comp_u8_show() 138 switch (a->scope) { in counter_comp_u8_store() 166 switch (a->scope) { in counter_comp_u32_show() 257 switch (a->scope) { in counter_comp_u32_store() 288 switch (a->scope) { in counter_comp_u64_show() 320 switch (a->scope) { in counter_comp_u64_store() 430 const enum counter_scope scope, in counter_attr_create() argument 442 counter_attr->scope = scope; in counter_attr_create() 858 scope, NULL); in counter_sysfs_attr_add() [all …]
|
A D | counter-chrdev.c | 251 switch (watch.component.scope) { in counter_add_watch() 285 if (watch.component.scope != COUNTER_SCOPE_SIGNAL) in counter_add_watch() 292 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 299 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 306 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 470 switch (comp_node->component.scope) { in counter_get_data() 488 switch (comp_node->component.scope) { in counter_get_data() 503 switch (comp_node->component.scope) { in counter_get_data()
|
/linux/net/sctp/ |
A D | bind_addr.c | 34 union sctp_addr *addr, enum sctp_scope scope, 45 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy() argument 56 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy() 454 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument 460 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr() 461 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr() 500 enum sctp_scope scope) in sctp_in_scope() argument 522 if (addr_scope <= scope) in sctp_in_scope() 526 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope() 530 if (addr_scope <= scope || SCTP_SCOPE_LINK == addr_scope) in sctp_in_scope() [all …]
|
/linux/net/decnet/ |
A D | dn_fib.c | 68 u8 scope; member 70 [RTN_UNSPEC] = { .error = 0, .scope = RT_SCOPE_NOWHERE }, 72 [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST }, 73 [RTN_BROADCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, 74 [RTN_ANYCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, 75 [RTN_MULTICAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE }, 233 nh->nh_scope = res.scope; in dn_fib_check_nh() 277 if (dn_fib_props[r->rtm_type].scope > r->rtm_scope) in dn_fib_create_info() 699 int scope = RT_SCOPE_NOWHERE; in dn_fib_sync_down() local 702 scope = -1; in dn_fib_sync_down() [all …]
|
/linux/net/tipc/ |
A D | addr.h | 53 signed char scope; member 64 static inline void tipc_uaddr(struct tipc_uaddr *ua, u32 atype, u32 scope, in tipc_uaddr() argument 69 ua->scope = scope; in tipc_uaddr()
|
/linux/drivers/iommu/intel/ |
A D | irq_remapping.c | 858 bus = scope->bus; in ir_parse_one_hpet_scope() 859 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope() 875 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope() 886 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope() 890 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope() 903 bus = scope->bus; in ir_parse_one_ioapic_scope() 904 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope() 933 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope() 945 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local 953 scope = start; in ir_parse_ioapic_hpet_scope() [all …]
|
A D | dmar.c | 85 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local 89 scope = start; in dmar_alloc_dev_scope() 98 start += scope->length; in dmar_alloc_dev_scope() 225 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local 232 scope = start; in dmar_insert_dev_scope() 238 level = (scope->length - sizeof(*scope)) / sizeof(*path); in dmar_insert_dev_scope() 733 struct acpi_dmar_device_scope *scope; in dmar_acpi_insert_dev_scope() local 743 for (scope = (void *)(drhd + 1); in dmar_acpi_insert_dev_scope() 745 scope = ((void *)scope) + scope->length) { in dmar_acpi_insert_dev_scope() 751 path = (void *)(scope + 1); in dmar_acpi_insert_dev_scope() [all …]
|
/linux/tools/include/linux/ |
A D | btf_ids.h | 65 #define __BTF_ID_LIST(name, scope) \ argument 68 "." #scope " " #name "; \n" \ 121 #define __BTF_SET_START(name, scope) \ argument 124 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/linux/include/linux/ |
A D | btf_ids.h | 65 #define __BTF_ID_LIST(name, scope) \ argument 68 "." #scope " " #name "; \n" \ 124 #define __BTF_SET_START(name, scope) \ argument 127 "." #scope " __BTF_ID__set__" #name "; \n" \
|
/linux/arch/arm64/include/asm/ |
A D | spectre.h | 83 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope); 86 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope); 90 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
|
/linux/Documentation/core-api/ |
A D | gfp_mask-from-fs-io.rst | 31 Since 4.12 we do have a generic scope API for both NOFS and NOIO context 33 ``memalloc_noio_restore`` which allow to mark a scope to be a critical 35 scope will inherently drop __GFP_FS respectively __GFP_IO from the given 53 scope. 62 achieved by the scope API. 68 by the scope API with a comment explaining the problem.
|
/linux/net/ipv6/ |
A D | addrconf_core.c | 20 #define IPV6_ADDR_SCOPE_TYPE(scope) ((scope) << 16) argument 22 static inline unsigned int ipv6_addr_scope2type(unsigned int scope) in ipv6_addr_scope2type() argument 24 switch (scope) { in ipv6_addr_scope2type() 35 return IPV6_ADDR_SCOPE_TYPE(scope); in ipv6_addr_scope2type()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | mobility.c | 50 static int mobility_rtas_call(int token, char *buf, s32 scope) in mobility_rtas_call() argument 57 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call() 153 static int update_dt_node(struct device_node *dn, s32 scope) in update_dt_node() argument 177 scope); in update_dt_node() 268 int pseries_devicetree_update(s32 scope) in pseries_devicetree_update() argument 284 rc = mobility_rtas_call(update_nodes_token, rtas_buf, scope); in pseries_devicetree_update() 313 update_dt_node(np, scope); in pseries_devicetree_update()
|
/linux/arch/s390/kernel/ |
A D | cache.c | 43 unsigned char scope : 2; member 96 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type() 167 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves()
|
/linux/net/ipv4/ |
A D | fib_semantics.c | 98 .scope = RT_SCOPE_NOWHERE, 102 .scope = RT_SCOPE_UNIVERSE, 106 .scope = RT_SCOPE_HOST, 110 .scope = RT_SCOPE_LINK, 114 .scope = RT_SCOPE_LINK, 118 .scope = RT_SCOPE_UNIVERSE, 122 .scope = RT_SCOPE_UNIVERSE, 138 .scope = RT_SCOPE_NOWHERE, 142 .scope = RT_SCOPE_NOWHERE, 1326 unsigned char scope) in fib_info_update_nhc_saddr() argument [all …]
|
/linux/drivers/misc/cxl/ |
A D | flash.c | 53 static int rcall(int token, char *buf, s32 scope) in rcall() argument 60 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall() 106 static int update_node(__be32 phandle, s32 scope) in update_node() argument 134 rc = rcall(token, buf, scope); in update_node() 173 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() argument 192 rc = rcall(token, buf, scope); in update_devicetree() 212 update_node(phandle, scope); in update_devicetree()
|