/linux-6.6.21/drivers/acpi/acpica/ |
D | psscope.c | 32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope() 53 ((parser_state->aml >= parser_state->scope->parse_scope.arg_end in acpi_ps_has_completed_scope() 54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope() 74 union acpi_generic_state *scope; in acpi_ps_init_scope() local 78 scope = acpi_ut_create_generic_state(); in acpi_ps_init_scope() 79 if (!scope) { in acpi_ps_init_scope() 83 scope->common.descriptor_type = ACPI_DESC_TYPE_STATE_RPSCOPE; in acpi_ps_init_scope() 84 scope->parse_scope.op = root_op; in acpi_ps_init_scope() 85 scope->parse_scope.arg_count = ACPI_VAR_ARGS; in acpi_ps_init_scope() 86 scope->parse_scope.arg_end = parser_state->aml_end; in acpi_ps_init_scope() [all …]
|
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()
|
/linux-6.6.21/arch/m68k/kernel/ |
D | sys_m68k.c | 68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_040() argument 72 switch (scope) in cache_flush_040() 228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) in cache_flush_060() argument 238 switch (scope) in cache_flush_060() 378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) in sys_cacheflush() argument 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() [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | test_lwt_seg6local.sh | 101 ip netns exec ${NS1} ip -6 addr add fb00::12/16 dev veth1 scope link 102 ip netns exec ${NS1} ip -6 route add fb00::21 dev veth1 scope link 103 ip netns exec ${NS2} ip -6 addr add fb00::21/16 dev veth2 scope link 104 ip netns exec ${NS2} ip -6 addr add fb00::34/16 dev veth3 scope link 105 ip netns exec ${NS2} ip -6 route add fb00::43 dev veth3 scope link 106 ip netns exec ${NS3} ip -6 route add fb00::65 dev veth5 scope link 107 ip netns exec ${NS3} ip -6 addr add fb00::43/16 dev veth4 scope link 108 ip netns exec ${NS3} ip -6 addr add fb00::56/16 dev veth5 scope link 109 ip netns exec ${NS4} ip -6 addr add fb00::65/16 dev veth6 scope link 110 ip netns exec ${NS4} ip -6 addr add fb00::78/16 dev veth7 scope link [all …]
|
/linux-6.6.21/drivers/counter/ |
D | counter-sysfs.c | 40 enum counter_scope scope; member 113 switch (a->scope) { in counter_comp_u8_show() 154 switch (a->scope) { in counter_comp_u8_store() 182 switch (a->scope) { in counter_comp_u32_show() 279 switch (a->scope) { in counter_comp_u32_store() 310 switch (a->scope) { in counter_comp_u64_show() 342 switch (a->scope) { in counter_comp_u64_store() 371 if (a->scope != COUNTER_SCOPE_SIGNAL || in counter_comp_array_u32_show() 394 a->scope != COUNTER_SCOPE_SIGNAL) in counter_comp_array_u32_store() 421 switch (a->scope) { in counter_comp_array_u64_show() [all …]
|
D | counter-chrdev.c | 285 switch (watch.component.scope) { in counter_add_watch() 319 if (watch.component.scope != COUNTER_SCOPE_SIGNAL) in counter_add_watch() 326 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 333 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 340 if (watch.component.scope != COUNTER_SCOPE_COUNT) in counter_add_watch() 489 const enum counter_scope scope, in counter_get_array_data() argument 500 if (scope != COUNTER_SCOPE_SIGNAL) in counter_get_array_data() 507 switch (scope) { in counter_get_array_data() 529 const enum counter_scope scope = comp_node->component.scope; in counter_get_data() local 546 switch (scope) { in counter_get_data() [all …]
|
/linux-6.6.21/arch/arm64/kernel/ |
D | cpu_errata.c | 18 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range() argument 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() 45 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr() argument 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 114 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225() [all …]
|
D | proton-pack.c | 202 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument 204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 325 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument 333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 511 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument 515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 836 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument 841 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected() 907 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument 920 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected() [all …]
|
/linux-6.6.21/drivers/scsi/aic7xxx/aicasm/ |
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);
|
D | aicasm.c | 80 static void dump_scope(scope_t *scope); 81 static void emit_patch(scope_t *scope, int patch); 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() [all …]
|
/linux-6.6.21/arch/arm64/include/asm/ |
D | spectre.h | 85 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope); 88 bool has_spectre_v3a(const struct arm64_cpu_capabilities *cap, int scope); 92 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope); 99 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope); 100 u8 spectre_bhb_loop_affected(int scope);
|
/linux-6.6.21/kernel/ |
D | pid_sysctl.h | 13 int err, scope, parent_scope; in pid_mfd_noexec_dointvec_minmax() local 23 scope = max(READ_ONCE(ns->memfd_noexec_scope), parent_scope); in pid_mfd_noexec_dointvec_minmax() 25 table_copy.data = &scope; in pid_mfd_noexec_dointvec_minmax() 30 WRITE_ONCE(ns->memfd_noexec_scope, scope); in pid_mfd_noexec_dointvec_minmax()
|
/linux-6.6.21/net/netfilter/ |
D | nf_nat_redirect.c | 83 static bool nf_nat_redirect_ipv6_usable(const struct inet6_ifaddr *ifa, unsigned int scope) in nf_nat_redirect_ipv6_usable() argument 93 if (scope) { in nf_nat_redirect_ipv6_usable() 96 if (!(scope & ifa_scope)) in nf_nat_redirect_ipv6_usable() 112 unsigned int scope = ipv6_addr_scope(&ipv6_hdr(skb)->daddr); in nf_nat_redirect_ipv6() local 122 if (!nf_nat_redirect_ipv6_usable(ifa, scope)) in nf_nat_redirect_ipv6()
|
/linux-6.6.21/net/sctp/ |
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() 66 if (list_empty(&dest->address_list) && (SCTP_SCOPE_GLOBAL == scope)) { in sctp_bind_addr_copy() 460 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument 466 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr() 467 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr() 506 enum sctp_scope scope) in sctp_in_scope() argument 528 if (addr_scope <= scope) in sctp_in_scope() 532 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope() [all …]
|
/linux-6.6.21/include/linux/ |
D | btf_ids.h | 83 #define __BTF_ID_LIST(name, scope) \ argument 86 "." #scope " " #name "; \n" \ 142 #define __BTF_SET_START(name, scope) \ argument 145 "." #scope " __BTF_ID__set__" #name "; \n" \ 186 #define __BTF_SET8_START(name, scope) \ argument 189 "." #scope " __BTF_ID__set8__" #name "; \n" \
|
D | pid_namespace.h | 61 int scope = MEMFD_NOEXEC_SCOPE_EXEC; in pidns_memfd_noexec_scope() local 64 scope = max(scope, READ_ONCE(ns->memfd_noexec_scope)); in pidns_memfd_noexec_scope() 66 return scope; in pidns_memfd_noexec_scope()
|
/linux-6.6.21/net/tipc/ |
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-6.6.21/drivers/usb/typec/ucsi/ |
D | psy.c | 36 u8 scope = POWER_SUPPLY_SCOPE_UNKNOWN; in ucsi_psy_get_scope() local 39 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope() 40 if (scope == POWER_SUPPLY_SCOPE_UNKNOWN) { in ucsi_psy_get_scope() 45 scope = POWER_SUPPLY_SCOPE_SYSTEM; in ucsi_psy_get_scope() 47 scope = POWER_SUPPLY_SCOPE_DEVICE; in ucsi_psy_get_scope() 49 val->intval = scope; in ucsi_psy_get_scope()
|
/linux-6.6.21/drivers/iommu/intel/ |
D | irq_remapping.c | 844 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument 852 bus = scope->bus; in ir_parse_one_hpet_scope() 853 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope() 854 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope() 869 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope() 880 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope() 884 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope() 889 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument 897 bus = scope->bus; in ir_parse_one_ioapic_scope() 898 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope() [all …]
|
D | dmar.c | 83 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local 87 scope = start; in dmar_alloc_dev_scope() 88 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope() 89 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope() 90 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope() 92 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope() 93 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { in dmar_alloc_dev_scope() 96 start += scope->length; in dmar_alloc_dev_scope() 221 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local 227 for (; start < end; start += scope->length) { in dmar_insert_dev_scope() [all …]
|
/linux-6.6.21/tools/include/linux/ |
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-6.6.21/Documentation/core-api/ |
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-6.6.21/tools/testing/selftests/hid/tests/ |
D | conftest.py | 19 @pytest.fixture(autouse=True, scope="session") 25 @pytest.fixture(autouse=True, scope="session") 30 @pytest.fixture(autouse=True, scope="session")
|
/linux-6.6.21/net/ipv6/ |
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-6.6.21/arch/s390/kernel/ |
D | cache.c | 42 unsigned char scope : 2; member 93 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type() 160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves()
|