Home
last modified time | relevance | path

Searched refs:scope (Results 1 – 25 of 316) sorted by relevance

12345678910>>...13

/linux-6.15/drivers/acpi/acpica/
H A Dpsscope.c79 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 …]
H A Ddswscope.c40 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.15/arch/m68k/kernel/
H A Dsys_m68k.c72 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-6.15/drivers/gpu/drm/amd/amdkfd/
H A Dcwsr_trap_handler_gfx12.asm473 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
509 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
528 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
585 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
603 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
651 buffer_store_dword v0, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
677 buffer_store_dword v0, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS
1081 s_buffer_load_dword s, s_rsrc, s_mem_offset scope:SCOPE_SYS
1087 s_buffer_load_dwordx16 s, s_rsrc, s_mem_offset scope:SCOPE_SYS
1092 s_buffer_load_dwordx8 s, s_rsrc, s_mem_offset scope:SCOPE_SYS
[all …]
/linux-6.15/net/shaper/
H A Dshaper.c116 if (handle->scope == NET_SHAPER_SCOPE_UNSPEC) in net_shaper_fill_handle()
124 (handle->scope >= NET_SHAPER_SCOPE_QUEUE && in net_shaper_fill_handle()
229 switch (handle->scope) { in net_shaper_default_parent()
233 parent->scope = NET_SHAPER_SCOPE_UNSPEC; in net_shaper_default_parent()
238 parent->scope = NET_SHAPER_SCOPE_NETDEV; in net_shaper_default_parent()
577 shaper->handle.scope); in net_shaper_validate_nesting()
1294 enum net_shaper_scope scope; in net_shaper_nl_cap_get_doit() local
1305 ops->capabilities(binding, scope, &flags); in net_shaper_nl_cap_get_doit()
1333 enum net_shaper_scope scope; in net_shaper_nl_cap_get_dumpit() local
1338 for (scope = 0; scope <= NET_SHAPER_SCOPE_MAX; ++scope) { in net_shaper_nl_cap_get_dumpit()
[all …]
/linux-6.15/Documentation/netlink/specs/
H A Dnet_shaper.yaml13 comprising both a @scope and an @id.
37 name: scope
42 doc: The scope is not specified.
135 name: scope
137 enum: scope
144 the scope. For @queue scope it's the queue id and for @node
164 name: scope
166 enum: scope
332 for the specified scope.
341 - scope
[all …]
/linux-6.15/drivers/counter/
H A Dcounter-sysfs.c113 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 …]
H A Dcounter-chrdev.c285 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-6.15/drivers/scsi/aic7xxx/aicasm/
H A Daicasm_symbol.h168 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);
H A Daicasm.c80 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-6.15/arch/arm64/kernel/
H A Dcpu_errata.c77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
92 int scope) in is_affected_midr_range_list() argument
94 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
103 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
114 int scope) in has_mismatched_cache_type() argument
120 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
166 int scope) in has_cortex_a76_erratum_1463225() argument
223 int scope) in needs_tx2_tvm_workaround() argument
227 if (!is_affected_midr_range_list(entry, scope) || in needs_tx2_tvm_workaround()
241 int scope) in has_neoverse_n1_erratum_1542419() argument
[all …]
H A Dproton-pack.c204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2()
333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a()
515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4()
848 static bool is_spectre_bhb_safe(int scope) in is_spectre_bhb_safe() argument
864 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe()
966 static bool supports_ecbhb(int scope) in supports_ecbhb() argument
970 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb()
982 int scope) in is_spectre_bhb_affected() argument
984 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_spectre_bhb_affected()
986 if (supports_csv2p3(scope)) in is_spectre_bhb_affected()
[all …]
/linux-6.15/kernel/
H A Dpid_sysctl.h13 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.15/net/netfilter/
H A Dnf_nat_redirect.c83 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.15/net/sctp/
H A Dbind_addr.c34 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-6.15/include/linux/
H A Dbtf_ids.h89 #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" \
H A Dpid_namespace.h67 int scope = MEMFD_NOEXEC_SCOPE_EXEC; in pidns_memfd_noexec_scope() local
70 scope = max(scope, READ_ONCE(ns->memfd_noexec_scope)); in pidns_memfd_noexec_scope()
72 return scope; in pidns_memfd_noexec_scope()
/linux-6.15/security/landlock/
H A Dtask.c181 access_mask_t scope) in domain_is_scoped() argument
207 if (landlock_get_scope_mask(client, client_layer) & scope) in domain_is_scoped()
220 if (landlock_get_scope_mask(client, client_layer) & scope) { in domain_is_scoped()
262 .scope = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET,
335 .scope = LANDLOCK_SCOPE_SIGNAL,
373 signal_scope.scope); in hook_task_kill()
414 signal_scope.scope); in hook_file_send_sigiotask()
/linux-6.15/arch/arm64/include/asm/
H A Dspectre.h85 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);
/linux-6.15/net/tipc/
H A Daddr.h53 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.15/drivers/usb/typec/ucsi/
H A Dpsy.c37 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-6.15/drivers/iommu/intel/
H A Dirq_remapping.c838 bus = scope->bus; in ir_parse_one_hpet_scope()
839 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
855 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
866 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
870 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
883 bus = scope->bus; in ir_parse_one_ioapic_scope()
884 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
913 ir_ioapic[free].id = scope->enumeration_id; in ir_parse_one_ioapic_scope()
925 struct acpi_dmar_device_scope *scope; in ir_parse_ioapic_hpet_scope() local
933 scope = start; in ir_parse_ioapic_hpet_scope()
[all …]
/linux-6.15/drivers/fwctl/pds/
H A Dmain.c257 switch (entries[i].scope) { in pdsfc_get_operations()
261 entries[i].scope = FWCTL_RPC_CONFIGURATION; in pdsfc_get_operations()
264 entries[i].scope = FWCTL_RPC_DEBUG_READ_ONLY; in pdsfc_get_operations()
267 entries[i].scope = FWCTL_RPC_DEBUG_WRITE; in pdsfc_get_operations()
270 entries[i].scope = FWCTL_RPC_DEBUG_WRITE_FULL; in pdsfc_get_operations()
274 ep, le32_to_cpu(entries[i].id), entries[i].scope); in pdsfc_get_operations()
282 enum fwctl_rpc_scope scope) in pdsfc_validate_rpc() argument
338 if (scope < op_entry[i].scope) in pdsfc_validate_rpc()
349 static void *pdsfc_fw_rpc(struct fwctl_uctx *uctx, enum fwctl_rpc_scope scope, in pdsfc_fw_rpc() argument
364 err = pdsfc_validate_rpc(pdsfc, rpc, scope); in pdsfc_fw_rpc()
/linux-6.15/Documentation/core-api/
H A Dgfp_mask-from-fs-io.rst31 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.
60 ``[k]vmalloc`` by implicitly using scope API.
70 wrap ``vmalloc`` by the scope API with a comment explaining the problem.
/linux-6.15/tools/testing/selftests/hid/tests/
H A Dconftest.py19 @pytest.fixture(autouse=True, scope="session")
25 @pytest.fixture(autouse=True, scope="session")
30 @pytest.fixture(autouse=True, scope="session")

12345678910>>...13