Home
last modified time | relevance | path

Searched refs:scope (Results 1 - 25 of 228) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/acpi/acpica/
H A Dpsscope.c4 * Module Name: psscope - Parser scope stack management routines
32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
41 * RETURN: Boolean, TRUE = scope completed.
44 * 1) AML pointer is at or beyond the end of the scope
45 * 2) The scope argument count has reached zero.
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()
62 * root - the Root Node of this new scope
66 * DESCRIPTION: Allocate and init a new scope object
74 union acpi_generic_state *scope; in acpi_ps_init_scope() local
115 union acpi_generic_state *scope; acpi_ps_push_scope() local
168 union acpi_generic_state *scope = parser_state->scope; acpi_ps_pop_scope() local
215 union acpi_generic_state *scope; acpi_ps_cleanup_scope() local
[all...]
H A Ddswscope.c25 * DESCRIPTION: Pop (and free) everything on the scope stack except the
26 * root scope object (which remains at the stack top.)
37 /* Pop a scope off the stack */ in acpi_ds_scope_stack_clear()
40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */ in acpi_ds_scope_stack_push()
80 ACPI_ERROR((AE_INFO, "Null scope parameter")); in acpi_ds_scope_stack_push()
90 /* Allocate a new scope object */ in acpi_ds_scope_stack_push()
97 /* Init new scope objec in acpi_ds_scope_stack_push()
[all...]
/kernel/linux/linux-6.6/drivers/acpi/acpica/
H A Dpsscope.c4 * Module Name: psscope - Parser scope stack management routines
32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
41 * RETURN: Boolean, TRUE = scope completed.
44 * 1) AML pointer is at or beyond the end of the scope
45 * 2) The scope argument count has reached zero.
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()
62 * root - the Root Node of this new scope
66 * DESCRIPTION: Allocate and init a new scope object
74 union acpi_generic_state *scope; in acpi_ps_init_scope() local
115 union acpi_generic_state *scope; acpi_ps_push_scope() local
168 union acpi_generic_state *scope = parser_state->scope; acpi_ps_pop_scope() local
215 union acpi_generic_state *scope; acpi_ps_cleanup_scope() local
[all...]
H A Ddswscope.c25 * DESCRIPTION: Pop (and free) everything on the scope stack except the
26 * root scope object (which remains at the stack top.)
37 /* Pop a scope off the stack */ in acpi_ds_scope_stack_clear()
40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */ in acpi_ds_scope_stack_push()
80 ACPI_ERROR((AE_INFO, "Null scope parameter")); in acpi_ds_scope_stack_push()
90 /* Allocate a new scope object */ in acpi_ds_scope_stack_push()
97 /* Init new scope objec in acpi_ds_scope_stack_push()
[all...]
/kernel/liteos_a/testsuites/kernel/sample/posix/pthread/full/
H A DIt_posix_pthread_177.c45 INT32 scope; in Testcase() local
50 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
52 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
58 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
60 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
66 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
68 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
[all...]
/kernel/liteos_a/testsuites/unittest/libc/posix/pthread/full/
H A DIt_posix_pthread_177.cpp38 INT32 scope; in Testcase() local
43 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
45 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
51 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
53 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
59 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
61 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
[all...]
/kernel/linux/linux-5.10/arch/m68k/kernel/
H A Dsys_m68k.c68 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()
440 * 040 or 060: don't blindly trust 'scope', someon in sys_cacheflush()
535 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len) sys_cacheflush() argument
[all...]
/kernel/linux/linux-6.6/arch/m68k/kernel/
H A Dsys_m68k.c68 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()
440 * 040 or 060: don't blindly trust 'scope', someon in sys_cacheflush()
537 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len) sys_cacheflush() argument
[all...]
/kernel/liteos_a/compat/posix/src/
H A Dpthread_attr.c46 attr->scope = PTHREAD_SCOPE_PROCESS; in pthread_attr_init()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
96 if (scope == PTHREAD_SCOPE_PROCESS) { in pthread_attr_setscope()
97 attr->scope = (unsigned int)scope; in pthread_attr_setscope()
101 if (scope == PTHREAD_SCOPE_SYSTEM) { in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
110 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
114 *scope = (int)attr->scope; in pthread_attr_getscope()
[all...]
/kernel/liteos_m/kal/posix/src/
H A Dpthread_attr.c49 attr->scope = PTHREAD_SCOPE_SYSTEM; in pthread_attr_init()
90 int pthread_attr_setscope(pthread_attr_t *attr, int scope) in pthread_attr_setscope() argument
96 if (scope == PTHREAD_SCOPE_SYSTEM) { in pthread_attr_setscope()
97 attr->scope = (unsigned int)scope; in pthread_attr_setscope()
101 if (scope == PTHREAD_SCOPE_PROCESS) { in pthread_attr_setscope()
108 int pthread_attr_getscope(const pthread_attr_t *attr, int *scope) in pthread_attr_getscope() argument
110 if ((attr == NULL) || (scope == NULL)) { in pthread_attr_getscope()
114 *scope = (int)attr->scope; in pthread_attr_getscope()
[all...]
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dcpu_errata.c18 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()
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()
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
114 int scope) in has_cortex_a76_erratum_1463225()
116 return is_affected_midr_range_list(entry, scope) in has_cortex_a76_erratum_1463225()
37 is_affected_midr_range_list(const struct arm64_cpu_capabilities *entry, int scope) is_affected_midr_range_list() argument
59 has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry, int scope) has_mismatched_cache_type() argument
113 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, int scope) has_cortex_a76_erratum_1463225() argument
170 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, int scope) needs_tx2_tvm_workaround() argument
188 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, int scope) has_neoverse_n1_erratum_1542419() argument
[all...]
/kernel/liteos_m/testsuites/unittest/xts/sched/
H A Dpthread_sched_api_test.c186 * @tc.name test the default value of sched scope.
196 int scope = -1; /* -1, common data for test, no special meaning */ variable
197 int rt = pthread_attr_getscope(&attr, &scope);
199 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_SYSTEM, scope);
205 * @tc.name test set and get scope.
224 int scope = -1; /* -1, common data for test, no special meaning */ variable
225 rt = pthread_attr_getscope(&attr, &scope);
227 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_SYSTEM, scope);
[all...]
/kernel/liteos_a/testsuites/unittest/process/basic/pthread/smoke/
H A Dpthread_test_013.cpp37 int scope = 0; in Testcase() local
45 ret = pthread_attr_getscope(&attr, &scope); in Testcase()
47 ICUNIT_ASSERT_EQUAL(scope, PTHREAD_SCOPE_PROCESS, scope); in Testcase()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lwt_seg6local.sh3 # Each NS may have different IPv6 global scope addresses :
93 # All link scope addresses and routes required between veths
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 lin
[all...]
H A Dtest_tc_redirect.sh98 ip -netns ${NS_SRC} route add ${IP4_DST}/32 dev veth_src scope global
99 ip -netns ${NS_SRC} route add ${IP4_NET}/16 dev veth_src scope global
100 ip -netns ${NS_FWD} route add ${IP4_SRC}/32 dev veth_src_fwd scope global
102 ip -netns ${NS_SRC} route add ${IP6_DST}/128 dev veth_src scope global
103 ip -netns ${NS_FWD} route add ${IP6_SRC}/128 dev veth_src_fwd scope global
105 ip -netns ${NS_DST} route add ${IP4_SRC}/32 dev veth_dst scope global
106 ip -netns ${NS_DST} route add ${IP4_NET}/16 dev veth_dst scope global
107 ip -netns ${NS_FWD} route add ${IP4_DST}/32 dev veth_dst_fwd scope global
109 ip -netns ${NS_DST} route add ${IP6_SRC}/128 dev veth_dst scope global
110 ip -netns ${NS_FWD} route add ${IP6_DST}/128 dev veth_dst_fwd scope globa
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_lwt_seg6local.sh3 # Each NS may have different IPv6 global scope addresses :
100 # All link scope addresses and routes required between veths
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 lin
[all...]
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dspectre.h25 bool has_spectre_v2(const struct arm64_cpu_capabilities *cap, int scope);
29 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope);
34 bool is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope);
35 u8 spectre_bhb_loop_affected(int scope);
/kernel/linux/linux-6.6/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);
100 u8 spectre_bhb_loop_affected(int scope);
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/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);
182 TAILQ_HEAD(scope_tailq, scope);
/kernel/linux/linux-6.6/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);
182 TAILQ_HEAD(scope_tailq, scope);
/kernel/linux/linux-6.6/drivers/counter/
H A Dcounter-sysfs.c32 * @scope: Counter scope of the attribute
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 ! in counter_comp_array_u32_show()
567 counter_attr_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const comp, const enum counter_scope scope, void *const parent) counter_attr_create() argument
746 counter_ext_attrs_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const ext, const enum counter_scope scope, void *const parent, const size_t id) counter_ext_attrs_create() argument
763 counter_array_attrs_create(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const comp, const enum counter_scope scope, void *const parent, const size_t id) counter_array_attrs_create() argument
802 counter_sysfs_exts_add(struct device *const dev, struct counter_attribute_group *const group, const struct counter_comp *const exts, const size_t num_ext, const enum counter_scope scope, void *const parent) counter_sysfs_exts_add() argument
844 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL; counter_signal_attrs_create() local
944 const enum counter_scope scope = COUNTER_SCOPE_COUNT; counter_count_attrs_create() local
1062 const enum counter_scope scope = COUNTER_SCOPE_DEVICE; counter_sysfs_attr_add() local
[all...]
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dproton-pack.c202 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 ! in is_spectre_bhb_fw_affected()
932 supports_ecbhb(int scope) supports_ecbhb() argument
945 is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope) is_spectre_bhb_affected() argument
[all...]
H A Dcpu_errata.c18 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()
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()
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
112 int scope) in has_cortex_a76_erratum_1463225()
114 return is_affected_midr_range_list(entry, scope) in has_cortex_a76_erratum_1463225()
37 is_affected_midr_range_list(const struct arm64_cpu_capabilities *entry, int scope) is_affected_midr_range_list() argument
59 has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry, int scope) has_mismatched_cache_type() argument
111 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, int scope) has_cortex_a76_erratum_1463225() argument
184 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, int scope) needs_tx2_tvm_workaround() argument
202 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, int scope) has_neoverse_n1_erratum_1542419() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dbtf_ids.h83 #define __BTF_ID_LIST(name, scope) \
86 "." #scope " " #name "; \n" \
142 #define __BTF_SET_START(name, scope) \
145 "." #scope " __BTF_ID__set__" #name "; \n" \
186 #define __BTF_SET8_START(name, scope) \
189 "." #scope " __BTF_ID__set8__" #name "; \n" \

Completed in 11 milliseconds

12345678910