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

12345

/linux-master/drivers/acpi/acpica/
H A Dpsscope.c4 * Module Name: psscope - Parser scope stack management routines
32 return (parser_state->scope->parse_scope.op);
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
54 || !parser_state->scope->parse_scope.arg_count)));
62 * root - the Root Node of this new scope
66 * DESCRIPTION: Allocate and init a new scope object
74 union acpi_generic_state *scope; local
115 union acpi_generic_state *scope; local
168 union acpi_generic_state *scope = parser_state->scope; local
215 union acpi_generic_state *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 */
40 walk_state->scope_info = scope_info->scope.next;
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */
80 ACPI_ERROR((AE_INFO, "Null scope parameter"));
90 /* Allocate a new scope object */
97 /* Init new scope objec
[all...]
/linux-master/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.h90 struct scope *scope_alloc(void);
91 void process_scope(struct scope *);
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);
/linux-master/kernel/
H A Dpid_sysctl.h13 int err, scope, parent_scope; local
23 scope = max(READ_ONCE(ns->memfd_noexec_scope), parent_scope);
25 table_copy.data = &scope;
30 WRITE_ONCE(ns->memfd_noexec_scope, scope);
/linux-master/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);
/linux-master/include/linux/
H A Dpid_namespace.h61 int scope = MEMFD_NOEXEC_SCOPE_EXEC; local
64 scope = max(scope, READ_ONCE(ns->memfd_noexec_scope));
66 return scope;
H A Dbtf_ids.h87 #define __BTF_ID_LIST(name, scope) \
90 "." #scope " " #name "; \n" \
146 #define __BTF_SET_START(name, scope) \
149 "." #scope " __BTF_ID__set__" #name "; \n" \
190 #define __BTF_SET8_START(name, scope, flags) \
194 "." #scope " __BTF_ID__set8__" #name "; \n" \
/linux-master/net/tipc/
H A Daddr.h53 signed char scope; member in struct:tipc_uaddr
64 static inline void tipc_uaddr(struct tipc_uaddr *ua, u32 atype, u32 scope, argument
69 ua->scope = scope;
/linux-master/arch/m68k/include/asm/
H A Dsyscalls.h8 asmlinkage int sys_cacheflush(unsigned long addr, int scope, int cache,
/linux-master/arch/m68k/kernel/
H A Dsys_m68k.c68 cache_flush_040 (unsigned long addr, int scope, int cache, unsigned long len) argument
72 switch (scope)
228 cache_flush_060 (unsigned long addr, int scope, int cache, unsigned long len) argument
238 switch (scope)
378 sys_cacheflush (unsigned long addr, int scope, int cache, unsigned long len) argument
382 if (scope < FLUSH_SCOPE_LINE || scope > FLUSH_SCOPE_ALL ||
386 if (scope == FLUSH_SCOPE_ALL) {
411 if (scope == FLUSH_SCOPE_LINE && len < 256) {
440 * 040 or 060: don't blindly trust 'scope', someon
537 sys_cacheflush(unsigned long addr, int scope, int cache, unsigned long len) argument
[all...]
/linux-master/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")
/linux-master/net/netfilter/
H A Dnf_nat_redirect.c83 static bool nf_nat_redirect_ipv6_usable(const struct inet6_ifaddr *ifa, unsigned int scope) argument
93 if (scope) {
96 if (!(scope & ifa_scope))
112 unsigned int scope = ipv6_addr_scope(&ipv6_hdr(skb)->daddr); local
122 if (!nf_nat_redirect_ipv6_usable(ifa, scope))
/linux-master/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...]
/linux-master/drivers/counter/
H A Dcounter-sysfs.c32 * @scope: Counter scope of the attribute
40 enum counter_scope scope; member in struct:counter_attribute
113 switch (a->scope) {
154 switch (a->scope) {
182 switch (a->scope) {
279 switch (a->scope) {
310 switch (a->scope) {
342 switch (a->scope) {
371 if (a->scope !
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) 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) 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) 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) argument
844 const enum counter_scope scope = COUNTER_SCOPE_SIGNAL; local
944 const enum counter_scope scope = COUNTER_SCOPE_COUNT; local
1062 const enum counter_scope scope = COUNTER_SCOPE_DEVICE; local
[all...]
H A Dcounter-chrdev.c285 switch (watch.component.scope) {
319 if (watch.component.scope != COUNTER_SCOPE_SIGNAL)
326 if (watch.component.scope != COUNTER_SCOPE_COUNT)
333 if (watch.component.scope != COUNTER_SCOPE_COUNT)
340 if (watch.component.scope != COUNTER_SCOPE_COUNT)
489 const enum counter_scope scope,
500 if (scope != COUNTER_SCOPE_SIGNAL)
507 switch (scope) {
529 const enum counter_scope scope = comp_node->component.scope; local
488 counter_get_array_data(struct counter_device *const counter, const enum counter_scope scope, void *const parent, const struct counter_comp *const comp, const size_t idx, u64 *const value) argument
[all...]
/linux-master/tools/counter/
H A Dcounter_example.c23 .component.scope = COUNTER_SCOPE_COUNT,
33 .component.scope = COUNTER_SCOPE_COUNT,
/linux-master/arch/arm64/kernel/
H A Dcpu_errata.c18 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) argument
23 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
38 int scope)
40 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
45 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) argument
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
60 int scope)
66 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
112 int scope)
114 return is_affected_midr_range_list(entry, scope)
37 is_affected_midr_range_list(const struct arm64_cpu_capabilities *entry, int scope) argument
59 has_mismatched_cache_type(const struct arm64_cpu_capabilities *entry, int scope) argument
111 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities *entry, int scope) argument
168 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities *entry, int scope) argument
186 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities *entry, int scope) argument
[all...]
H A Dproton-pack.c202 bool has_spectre_v2(const struct arm64_cpu_capabilities *entry, int scope) argument
204 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
325 bool has_spectre_v3a(const struct arm64_cpu_capabilities *entry, int scope) argument
333 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
511 bool has_spectre_v4(const struct arm64_cpu_capabilities *cap, int scope) argument
515 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible());
836 u8 spectre_bhb_loop_affected(int scope) argument
841 if (scope == SCOPE_LOCAL_CPU) {
907 static bool is_spectre_bhb_fw_affected(int scope) argument
920 if (scope !
932 supports_ecbhb(int scope) argument
945 is_spectre_bhb_affected(const struct arm64_cpu_capabilities *entry, int scope) argument
[all...]
/linux-master/net/sctp/
H A Dbind_addr.c34 union sctp_addr *addr, enum sctp_scope scope,
40 /* Copy 'src' to 'dest' taking 'scope' into account. Omit addresses
41 * in 'src' which have a broader scope than 'scope'.
45 enum sctp_scope scope, gfp_t gfp,
54 /* Extract the addresses which are relevant for this scope. */
56 error = sctp_copy_one_addr(net, dest, &addr->a, scope,
62 /* If there are no addresses matching the scope and
63 * this is global scope, try to get a link scope addres
43 sctp_bind_addr_copy(struct net *net, struct sctp_bind_addr *dest, const struct sctp_bind_addr *src, enum sctp_scope scope, gfp_t gfp, int flags) argument
459 sctp_copy_one_addr(struct net *net, struct sctp_bind_addr *dest, union sctp_addr *addr, enum sctp_scope scope, gfp_t gfp, int flags) argument
505 sctp_in_scope(struct net *net, const union sctp_addr *addr, enum sctp_scope scope) argument
[all...]
/linux-master/include/trace/events/
H A Dfib6.h26 __field( __u8, scope )
46 __entry->scope = flp->flowi6_scope;
79 TP_printk("table %3u oif %d iif %d proto %u %pI6c/%u -> %pI6c/%u tos %d scope %d flags %x ==> dev %s gw %pI6c err %d",
82 __entry->tos, __entry->scope, __entry->flags,
/linux-master/arch/powerpc/include/asm/
H A Dio_event_irq.h40 uint8_t scope; /* 0x02 Error/Event Scope */ member in struct:pseries_io_event
/linux-master/arch/s390/kernel/
H A Dcache.c42 unsigned char scope : 2; member in struct:cache_info
79 seq_printf(m, "scope=%s ",
93 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE)
160 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0;
/linux-master/tools/include/linux/
H A Dbtf_ids.h76 #define __BTF_ID_LIST(name, scope) \
79 "." #scope " " #name "; \n" \
135 #define __BTF_SET_START(name, scope) \
138 "." #scope " __BTF_ID__set__" #name "; \n" \
/linux-master/drivers/usb/typec/ucsi/
H A Dpsy.c36 u8 scope = POWER_SUPPLY_SCOPE_UNKNOWN; local
39 device_property_read_u8(dev, "scope", &scope);
40 if (scope == POWER_SUPPLY_SCOPE_UNKNOWN) {
45 scope = POWER_SUPPLY_SCOPE_SYSTEM;
47 scope = POWER_SUPPLY_SCOPE_DEVICE;
49 val->intval = scope;

Completed in 229 milliseconds

12345