| /linux/drivers/acpi/acpica/ |
| H A 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 …]
|
| H 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/ |
| H A 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/rust/syn/ |
| H A D | buffer.rs | 103 scope: *const Entry, field 125 scope: &EMPTY_ENTRY.0, in empty() 133 unsafe fn create(mut ptr: *const Entry, scope: *const Entry) -> Self { in create() 139 if ptr::eq(ptr, scope) { in create() 147 scope, in create() 164 unsafe { Cursor::create(self.ptr.offset(1), self.scope) } in bump_ignore_group() 186 ptr::eq(self.ptr, self.scope) in eof() 254 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in group() 270 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in any_group() 280 let after_group = unsafe { Cursor::create(end_of_group, self.scope) }; in any_group_token() [all …]
|
| H A D | parse.rs | 249 scope: Span, field 338 scope: Span, field 374 error::new_at(self.scope, self.cursor, message) in error() 388 scope: Span, in new_parse_buffer() 393 scope, in new_parse_buffer() 839 lookahead::new(self.scope, self.cursor()) in lookahead1() 970 scope: self.scope, in fork() 1008 error::new_at(self.scope, self.cursor(), message) in error() 1078 scope: self.scope, in step() 1092 self.scope in span() [all …]
|
| H A D | lookahead.rs | 65 scope: Span, field 70 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 { in new() 72 scope, in new() 130 Error::new(self.scope, "unexpected end of input") in error() 137 error::new_at(self.scope, self.cursor, message) in error() 141 error::new_at(self.scope, self.cursor, message) in error() 146 error::new_at(self.scope, self.cursor, message) in error()
|
| /linux/drivers/gpu/drm/amd/amdkfd/ |
| H A D | cwsr_trap_handler_gfx12.asm | 267 s_load_dword ttmp2, [ttmp14, ttmp15], 0x10 scope:SCOPE_SYS // debug trap enabled flag 273 s_load_dwordx2 [ttmp2, ttmp3], [ttmp14, ttmp15], 0x0 scope:SCOPE_SYS // second-level TBA 275 s_load_dwordx2 [ttmp14, ttmp15], [ttmp14, ttmp15], 0x8 scope:SCOPE_SYS // second-level TMA 357 global_store_dword_addtid v0, [s_save_ttmps_lo, s_save_ttmps_hi] scope:SCOPE_SYS 388 global_store_dword_addtid v0, [s_save_ttmps_lo, s_save_ttmps_hi] offset:0x40 scope:SCOPE_SYS 423 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS offset:128 424 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS offset:128*2 425 buffer_store_dword v3, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS offset:128*3 433 buffer_store_dword v1, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS offset:256 434 buffer_store_dword v2, v0, s_save_buf_rsrc0, s_save_mem_offset scope:SCOPE_SYS offset:256*2 [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | test_lwt_seg6local.sh | |
| /linux/drivers/counter/ |
| H A 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 …]
|
| H A 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() 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() [all …]
|
| /linux/drivers/scsi/aic7xxx/aicasm/ |
| H 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);
|
| H A 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/arch/arm64/kvm/ |
| H A D | nested.c | 918 struct s1e2_tlbi_scope *scope) in invalidate_vncr_va() argument 937 switch (scope->type) { in invalidate_vncr_va() 942 if (va_end <= scope->va || in invalidate_vncr_va() 943 va_start >= (scope->va + scope->size)) in invalidate_vncr_va() 945 if (vt->wr.nG && vt->wr.asid != scope->asid) in invalidate_vncr_va() 950 if (va_end <= scope->va || in invalidate_vncr_va() 951 va_start >= (scope->va + scope->size)) in invalidate_vncr_va() 956 if (!vt->wr.nG || vt->wr.asid != scope->asid) in invalidate_vncr_va() 968 struct s1e2_tlbi_scope *scope) in compute_s1_tlbi_range() argument 983 scope->type = TLBI_ALL; in compute_s1_tlbi_range() [all …]
|
| /linux/arch/arm64/kernel/ |
| H A D | cpu_errata.c | 72 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range() argument 77 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() 99 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr() argument 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 168 return is_affected_midr_range_list(entry, scope) && is_kernel_in_hyp_mode(); in has_cortex_a76_erratum_1463225() [all …]
|
| H A D | proton-pack.c | 197 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v2() argument 199 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v2() 320 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) in has_spectre_v3a() argument 328 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v3a() 501 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) in has_spectre_v4() argument 505 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_spectre_v4() 838 static bool is_spectre_bhb_safe(int scope) in is_spectre_bhb_safe() argument 854 if (scope != SCOPE_LOCAL_CPU) in is_spectre_bhb_safe() 957 static bool supports_ecbhb(int scope) in supports_ecbhb() argument 961 if (scope == SCOPE_LOCAL_CPU) in supports_ecbhb() [all …]
|
| /linux/net/sctp/ |
| H 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() 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/net/netfilter/ |
| H 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/arch/arm64/include/asm/ |
| H 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);
|
| /linux/include/linux/ |
| H A D | pid_namespace.h | 71 int scope = MEMFD_NOEXEC_SCOPE_EXEC; in pidns_memfd_noexec_scope() local 74 scope = max(scope, READ_ONCE(ns->memfd_noexec_scope)); in pidns_memfd_noexec_scope() 76 return scope; in pidns_memfd_noexec_scope()
|
| /linux/security/landlock/ |
| H A D | task.c | 3 * Landlock - Ptrace and scope hooks 174 * @scope: The scope restriction criteria. in domain_is_scoped() 181 access_mask_t scope) in sock_is_scoped() 207 if (landlock_get_scope_mask(client, client_layer) & scope) 220 if (landlock_get_scope_mask(client, client_layer) & scope) { in hook_unix_stream_connect() 262 .scope = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET, in hook_task_kill() 335 .scope = LANDLOCK_SCOPE_SIGNAL, 373 signal_scope.scope); 414 signal_scope.scope); 127 domain_is_scoped(const struct landlock_ruleset * const client,const struct landlock_ruleset * const server,access_mask_t scope) domain_is_scoped() argument [all...] |
| /linux/drivers/acpi/ |
| H A D | property.c | 71 static bool acpi_enumerate_nondev_subnodes(acpi_handle scope, 86 acpi_handle scope = NULL; in acpi_nondev_subnode_extract() local 109 acpi_get_parent(handle, &scope); in acpi_nondev_subnode_extract() 118 result = acpi_extract_properties(scope, desc, &dn->data); in acpi_nondev_subnode_extract() 123 if (acpi_enumerate_nondev_subnodes(scope, desc, &dn->data, &dn->fwnode)) in acpi_nondev_subnode_extract() 143 static bool acpi_nondev_subnode_ok(acpi_handle scope, in acpi_nondev_subnode_ok() argument 158 if (!scope) in acpi_nondev_subnode_ok() 161 status = acpi_get_handle(scope, link->package.elements[1].string.pointer, in acpi_nondev_subnode_ok() 179 static bool acpi_add_nondev_subnodes(acpi_handle scope, in acpi_add_nondev_subnodes() argument 213 result = acpi_nondev_subnode_ok(scope, link, list, in acpi_add_nondev_subnodes() [all …]
|
| /linux/drivers/usb/typec/ucsi/ |
| H A D | psy.c | 38 u8 scope = POWER_SUPPLY_SCOPE_UNKNOWN; in ucsi_psy_get_scope() local 41 device_property_read_u8(dev, "scope", &scope); in ucsi_psy_get_scope() 42 if (scope == POWER_SUPPLY_SCOPE_UNKNOWN) { in ucsi_psy_get_scope() 47 scope = POWER_SUPPLY_SCOPE_SYSTEM; in ucsi_psy_get_scope() 49 scope = POWER_SUPPLY_SCOPE_DEVICE; in ucsi_psy_get_scope() 51 val->intval = scope; in ucsi_psy_get_scope()
|
| /linux/rust/kernel/ |
| H A D | debugfs.rs | 83 let scope = Scope::<T>::new(data, move |data| { in create_file() localVariable 95 scope <- scope in create_file() 362 pub fn scope<'a, T: 'a, E: 'a, F>( in scope() method 406 scope: Scope<T>, field 421 .pin_chain(|scope| { in new() 422 init(&scope.data); in new() 446 .pin_chain(|scope| { in new() 447 *scope.entry_mut() = init(&scope.data); in new() 488 &self.scope in deref()
|
| /linux/drivers/iommu/intel/ |
| H 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() 89 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope() 90 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope() 91 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope() 93 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope() 94 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { 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 228 for (; start < end; start += scope->length) { in dmar_insert_dev_scope() [all …]
|
| /linux/tools/include/linux/ |
| H 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" \
|