| /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()
|
| /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 | 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 111 ip netns exec ${NS4} ip -6 route add fb00::87 dev veth7 scope link [all …]
|
| /linux/drivers/counter/ |
| A D | counter-sysfs.c | 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() 421 switch (a->scope) { in counter_comp_array_u64_show() 457 switch (a->scope) { in counter_comp_array_u64_store() 583 counter_attr->scope = scope; in counter_attr_create() 1085 scope, NULL); in counter_sysfs_attr_add() [all …]
|
| A D | counter-chrdev.c | 285 switch (watch.component.scope) { 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() 488 const enum counter_scope scope, in counter_get_array_data() argument 499 if (scope != COUNTER_SCOPE_SIGNAL) in counter_get_array_data() 506 switch (scope) { in counter_get_array_data() 528 const enum counter_scope scope = comp_node->component.scope; in counter_get_data() local 545 switch (scope) { in counter_get_data() 566 switch (scope) { in counter_get_data() 583 switch (scope) { in counter_get_data() [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 | 848 u8 spectre_bhb_loop_affected(int scope) in spectre_bhb_loop_affected() argument 853 if (scope == SCOPE_LOCAL_CPU) { in spectre_bhb_loop_affected() 919 static bool is_spectre_bhb_fw_affected(int scope) in is_spectre_bhb_fw_affected() argument 932 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_fw_affected() 944 static bool supports_ecbhb(int scope) in supports_ecbhb() argument 948 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb() 958 int scope) in is_spectre_bhb_affected() argument 962 if (supports_csv2p3(scope)) in is_spectre_bhb_affected() 965 if (supports_clearbhb(scope)) in is_spectre_bhb_affected() 968 if (spectre_bhb_loop_affected(scope)) in is_spectre_bhb_affected() [all …]
|
| /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/arch/arm64/include/asm/ |
| A 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/kernel/ |
| A 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/net/netfilter/ |
| A 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/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() 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() 536 if (addr_scope <= scope || SCTP_SCOPE_LINK == addr_scope) in sctp_in_scope() [all …]
|
| /linux/include/linux/ |
| A 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()
|
| 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/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/security/landlock/ |
| A D | task.c | 127 access_mask_t scope) in domain_is_scoped() argument 153 if (landlock_get_scope_mask(client, client_layer) & scope) in domain_is_scoped() 166 if (landlock_get_scope_mask(client, client_layer) & scope) { in domain_is_scoped() 208 .scope = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET, 253 .scope = LANDLOCK_SCOPE_SIGNAL,
|
| /linux/drivers/usb/typec/ucsi/ |
| A D | psy.c | 37 u8 scope = POWER_SUPPLY_SCOPE_UNKNOWN; in ucsi_psy_get_scope() local 40 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope() 41 if (scope == POWER_SUPPLY_SCOPE_UNKNOWN) { in ucsi_psy_get_scope() 46 scope = POWER_SUPPLY_SCOPE_SYSTEM; in ucsi_psy_get_scope() 48 scope = POWER_SUPPLY_SCOPE_DEVICE; in ucsi_psy_get_scope() 50 val->intval = scope; in ucsi_psy_get_scope()
|
| /linux/drivers/iommu/intel/ |
| A D | irq_remapping.c | 850 bus = scope->bus; in ir_parse_one_hpet_scope() 851 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope() 867 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope() 878 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope() 882 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope() 895 bus = scope->bus; in ir_parse_one_ioapic_scope() 896 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope() 925 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope() 937 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local 945 scope = start; in ir_parse_ioapic_hpet_scope() [all …]
|
| A D | dmar.c | 84 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local 88 scope = start; in dmar_alloc_dev_scope() 97 start += scope->length; in dmar_alloc_dev_scope() 222 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local 229 scope = start; in dmar_insert_dev_scope() 235 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/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/tools/testing/selftests/hid/tests/ |
| A 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/tools/include/linux/ |
| A D | btf_ids.h | 76 #define __BTF_ID_LIST(name, scope) \ argument 79 "." #scope " " #name "; \n" \ 135 #define __BTF_SET_START(name, scope) \ argument 138 "." #scope " __BTF_ID__set__" #name "; \n" \
|
| /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()
|