Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/drivers/acpi/acpica/
Dpsscope.c32 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 …]
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()
Dnsconvert.c286 acpi_ns_convert_to_unicode(struct acpi_namespace_node *scope, in acpi_ns_convert_to_unicode() argument
353 acpi_ns_convert_to_resource(struct acpi_namespace_node *scope, in acpi_ns_convert_to_resource() argument
432 acpi_ns_convert_to_reference(struct acpi_namespace_node *scope, in acpi_ns_convert_to_reference() argument
454 scope_info.scope.node = in acpi_ns_convert_to_reference()
455 ACPI_CAST_PTR(struct acpi_namespace_node, scope); in acpi_ns_convert_to_reference()
/Linux-v4.19/arch/m68k/kernel/
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()
409 if (scope == FLUSH_SCOPE_LINE && len < 256) { in sys_cacheflush()
442 if (len>=3*PAGE_SIZE && scope<FLUSH_SCOPE_PAGE) in sys_cacheflush()
443 scope=FLUSH_SCOPE_PAGE; in sys_cacheflush()
[all …]
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_lwt_seg6local.sh94 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 link
102 ip netns exec ns4 ip -6 addr add fb00::65/16 dev veth6 scope link
103 ip netns exec ns4 ip -6 addr add fb00::78/16 dev veth7 scope link
[all …]
/Linux-v4.19/drivers/scsi/aic7xxx/aicasm/
Daicasm_symbol.h172 typedef struct scope { struct
173 SLIST_ENTRY(scope) scope_stack_links;
174 TAILQ_ENTRY(scope) scope_links;
175 TAILQ_HEAD(, scope) inner_scope;
185 SLIST_HEAD(scope_list, scope); argument
186 TAILQ_HEAD(scope_tailq, scope);
Daicasm.c80 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 …]
Daicasm.h94 struct scope *scope_alloc(void);
95 void process_scope(struct scope *);
/Linux-v4.19/net/sctp/
Dbind_addr.c49 union sctp_addr *addr, enum sctp_scope scope,
60 enum sctp_scope scope, gfp_t gfp, in sctp_bind_addr_copy() argument
71 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy()
81 if (list_empty(&dest->address_list) && (SCTP_SCOPE_GLOBAL == scope)) { in sctp_bind_addr_copy()
443 union sctp_addr *addr, enum sctp_scope scope, in sctp_copy_one_addr() argument
449 error = sctp_copy_local_addr_list(net, dest, scope, gfp, flags); in sctp_copy_one_addr()
450 } else if (sctp_in_scope(net, addr, scope)) { in sctp_copy_one_addr()
488 enum sctp_scope scope) in sctp_in_scope() argument
510 if (addr_scope <= scope) in sctp_in_scope()
514 if (addr_scope <= scope || SCTP_SCOPE_PRIVATE == addr_scope) in sctp_in_scope()
[all …]
/Linux-v4.19/net/tipc/
Dname_table.c93 u32 scope, u32 node, u32 port, in tipc_publ_create() argument
104 publ->scope = scope; in tipc_publ_create()
222 u32 upper, u32 scope, in tipc_service_insert_publ() argument
244 p = tipc_publ_create(type, lower, upper, scope, node, port, key); in tipc_service_insert_publ()
254 p->port, p->node, p->scope, first); in tipc_service_insert_publ()
316 p->node, p->scope, first); in tipc_service_subscribe()
338 u32 scope, u32 node, in tipc_nametbl_insert_publ() argument
345 if (scope > TIPC_NODE_SCOPE || lower > upper) { in tipc_nametbl_insert_publ()
347 type, lower, upper, scope); in tipc_nametbl_insert_publ()
358 scope, node, port, key); in tipc_nametbl_insert_publ()
[all …]
Dname_table.h78 u32 scope; member
110 u32 scope, bool exact, struct list_head *dports);
119 u32 upper, u32 scope, u32 port,
124 u32 lower, u32 upper, u32 scope,
Dsocket.c130 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope,
132 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
645 res = (addr->scope >= 0) ? in tipc_bind()
646 tipc_sk_publish(tsk, addr->scope, &addr->addr.nameseq) : in tipc_bind()
647 tipc_sk_withdraw(tsk, -addr->scope, &addr->addr.nameseq); in tipc_bind()
687 addr->scope = 0; in tipc_getname()
932 u32 type, inst, scope; in tipc_send_group_anycast() local
941 scope = msg_lookup_scope(hdr); in tipc_send_group_anycast()
949 if (!tipc_nametbl_lookup(net, type, inst, scope, &dsts, in tipc_send_group_anycast()
1082 u32 type, inst, scope, exclude; in tipc_send_group_mcast() local
[all …]
/Linux-v4.19/arch/arm64/kernel/
Dcpu_errata.c27 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range() argument
32 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
47 int scope) in is_affected_midr_range_list() argument
49 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
54 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr() argument
58 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
69 int scope) in has_mismatched_cache_type() argument
77 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
331 int scope) in has_ssbd_mitigation() argument
337 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_ssbd_mitigation()
[all …]
/Linux-v4.19/net/decnet/
Ddn_fib.c68 u8 scope; member
70 [RTN_UNSPEC] = { .error = 0, .scope = RT_SCOPE_NOWHERE },
71 [RTN_UNICAST] = { .error = 0, .scope = RT_SCOPE_UNIVERSE },
72 [RTN_LOCAL] = { .error = 0, .scope = RT_SCOPE_HOST },
73 [RTN_BROADCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE },
74 [RTN_ANYCAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE },
75 [RTN_MULTICAST] = { .error = -EINVAL, .scope = RT_SCOPE_NOWHERE },
76 [RTN_BLACKHOLE] = { .error = -EINVAL, .scope = RT_SCOPE_UNIVERSE },
77 [RTN_UNREACHABLE] = { .error = -EHOSTUNREACH, .scope = RT_SCOPE_UNIVERSE },
78 [RTN_PROHIBIT] = { .error = -EACCES, .scope = RT_SCOPE_UNIVERSE },
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Dmobility.c45 static int mobility_rtas_call(int token, char *buf, s32 scope) in mobility_rtas_call() argument
52 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in mobility_rtas_call()
132 static int update_dt_node(__be32 phandle, s32 scope) in update_dt_node() argument
163 scope); in update_dt_node()
272 int pseries_devicetree_update(s32 scope) in pseries_devicetree_update() argument
288 rc = mobility_rtas_call(update_nodes_token, rtas_buf, scope); in pseries_devicetree_update()
309 update_dt_node(phandle, scope); in pseries_devicetree_update()
311 if (scope == PRRN_SCOPE) in pseries_devicetree_update()
/Linux-v4.19/drivers/iommu/
Ddmar.c93 struct acpi_dmar_device_scope *scope; in dmar_alloc_dev_scope() local
97 scope = start; in dmar_alloc_dev_scope()
98 if (scope->entry_type == ACPI_DMAR_SCOPE_TYPE_NAMESPACE || in dmar_alloc_dev_scope()
99 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_ENDPOINT || in dmar_alloc_dev_scope()
100 scope->entry_type == ACPI_DMAR_SCOPE_TYPE_BRIDGE) in dmar_alloc_dev_scope()
102 else if (scope->entry_type != ACPI_DMAR_SCOPE_TYPE_IOAPIC && in dmar_alloc_dev_scope()
103 scope->entry_type != ACPI_DMAR_SCOPE_TYPE_HPET) { in dmar_alloc_dev_scope()
106 start += scope->length; in dmar_alloc_dev_scope()
228 struct acpi_dmar_device_scope *scope; in dmar_insert_dev_scope() local
234 for (; start < end; start += scope->length) { in dmar_insert_dev_scope()
[all …]
Dintel_irq_remapping.c807 static int ir_parse_one_hpet_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_hpet_scope() argument
815 bus = scope->bus; in ir_parse_one_hpet_scope()
816 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_hpet_scope()
817 count = (scope->length - sizeof(struct acpi_dmar_device_scope)) in ir_parse_one_hpet_scope()
832 ir_hpet[count].id == scope->enumeration_id) in ir_parse_one_hpet_scope()
843 ir_hpet[free].id = scope->enumeration_id; in ir_parse_one_hpet_scope()
847 scope->enumeration_id, drhd->address); in ir_parse_one_hpet_scope()
852 static int ir_parse_one_ioapic_scope(struct acpi_dmar_device_scope *scope, in ir_parse_one_ioapic_scope() argument
860 bus = scope->bus; in ir_parse_one_ioapic_scope()
861 path = (struct acpi_dmar_pci_path *)(scope + 1); in ir_parse_one_ioapic_scope()
[all …]
/Linux-v4.19/net/ipv6/
Daddrconf_core.c18 #define IPV6_ADDR_SCOPE_TYPE(scope) ((scope) << 16) argument
20 static inline unsigned int ipv6_addr_scope2type(unsigned int scope) in ipv6_addr_scope2type() argument
22 switch (scope) { in ipv6_addr_scope2type()
33 return IPV6_ADDR_SCOPE_TYPE(scope); in ipv6_addr_scope2type()
/Linux-v4.19/Documentation/core-api/
Dgfp_mask-from-fs-io.rst29 Since 4.12 we do have a generic scope API for both NOFS and NOIO context
31 ``memalloc_noio_restore`` which allow to mark a scope to be a critical
33 scope will inherently drop __GFP_FS respectively __GFP_IO from the given
51 scope.
60 achieved by the scope API.
66 by the scope API with a comment explaining the problem.
/Linux-v4.19/arch/s390/kernel/
Dcache.c43 unsigned char scope : 2; member
96 if (ci->scope != CACHE_SCOPE_SHARED && ci->scope != CACHE_SCOPE_PRIVATE) in get_cache_type()
167 pvt = (ct.ci[level].scope == CACHE_SCOPE_PRIVATE) ? 1 : 0; in populate_cache_leaves()
/Linux-v4.19/include/trace/events/
Dfib.h27 __field( __u8, scope )
46 __entry->scope = flp->flowi4_scope;
87 __entry->tos, __entry->scope, __entry->flags,
Dfib6.h26 __field( __u8, scope )
46 __entry->scope = flp->flowi6_scope;
85 __entry->tos, __entry->scope, __entry->flags,
/Linux-v4.19/drivers/misc/cxl/
Dflash.c53 static int rcall(int token, char *buf, s32 scope) in rcall() argument
60 rc = rtas_call(token, 2, 1, NULL, rtas_data_buf, scope); in rcall()
106 static int update_node(__be32 phandle, s32 scope) in update_node() argument
134 rc = rcall(token, buf, scope); in update_node()
173 static int update_devicetree(struct cxl *adapter, s32 scope) in update_devicetree() argument
192 rc = rcall(token, buf, scope); in update_devicetree()
212 update_node(phandle, scope); in update_devicetree()
/Linux-v4.19/Documentation/networking/
Dvrf.txt115 The default VRF does not have limited scope with respect to port bindings.
231 inet 10.2.1.2/24 brd 10.2.1.255 scope global eth1
233 inet6 2002:1::2/120 scope global
235 inet6 fe80::ff:fe00:202/64 scope link
239 inet 10.2.2.2/24 brd 10.2.2.255 scope global eth2
241 inet6 2002:2::2/120 scope global
243 inet6 fe80::ff:fe00:203/64 scope link
265 broadcast 10.2.1.0 dev eth1 proto kernel scope link src 10.2.1.2
266 10.2.1.0/24 dev eth1 proto kernel scope link src 10.2.1.2
267 local 10.2.1.2 dev eth1 proto kernel scope host src 10.2.1.2
[all …]
/Linux-v4.19/net/ipv4/
Dfib_semantics.c96 .scope = RT_SCOPE_NOWHERE,
100 .scope = RT_SCOPE_UNIVERSE,
104 .scope = RT_SCOPE_HOST,
108 .scope = RT_SCOPE_LINK,
112 .scope = RT_SCOPE_LINK,
116 .scope = RT_SCOPE_UNIVERSE,
120 .scope = RT_SCOPE_UNIVERSE,
124 .scope = RT_SCOPE_UNIVERSE,
128 .scope = RT_SCOPE_UNIVERSE,
132 .scope = RT_SCOPE_UNIVERSE,
[all …]

12345678