Home
last modified time | relevance | path

Searched full:scope (Results 1 – 25 of 557) sorted by relevance

12345678910>>...23

/linux/tools/testing/selftests/drivers/net/
H A Dshaper.py31 def _cap_get(cfg, nl_shaper, scope): argument
32 """ Return the shaper capabilities for the given scope, caching them on cfg. """
35 if scope not in cfg.cap_cache:
36 cfg.cap_cache[scope] = nl_shaper.cap_get({'ifindex': cfg.ifindex,
37 'scope': scope})
39 return cfg.cap_cache[scope]
41 def _require_caps(cfg, nl_shaper, scope, caps, msg) -> None: argument
42 """ Skip the test unless the given scope advertises all the required caps. """
44 supported = _cap_get(cfg, nl_shaper, scope)
47 raise KsftSkipEx(f"{scope} scope shapers not supported by the device")
[all …]
/linux/tools/perf/pmu-events/arch/powerpc/power8/
H A Dmemory.json5 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for all data …
6 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
11 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for a demand …
12 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
47 …"BriefDescription": "Initial and Final Pump Scope was group pump (prediction=correct) for a demand…
48 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was group pu…
53 …"BriefDescription": "Final Pump Scope (Group) ended up either larger or smaller than Initial Pump …
54 …mp Scope(Group) to get data sourced, ended up larger than Initial Pump Scope OR Final Pump Scope(G…
59 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a…
60 …"PublicDescription": "Final Pump Scope(Group) to get data sourced, ended up larger than Initial Pu…
[all …]
H A Dfrontend.json71 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for an instru…
72 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
239 …"BriefDescription": "Initial and Final Pump Scope was group pump (prediction=correct) for an instr…
240 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was group pu…
245 …"BriefDescription": "Final Pump Scope (Group) ended up either larger or smaller than Initial Pump …
246 …mp Scope(Group) to get data sourced, ended up larger than Initial Pump Scope OR Final Pump Scope(G…
251 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a…
252 …"PublicDescription": "Final Pump Scope(Group) to get data sourced, ended up larger than Initial Pu…
275 …"BriefDescription": "Initial and Final Pump Scope was system pump (prediction=correct) for an inst…
276 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was system p…
[all …]
H A Dother.json23 …"BriefDescription": "Initial and Final Pump Scope was chip pump (prediction=correct) for all data …
24 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was chip pum…
29 …"BriefDescription": "Initial and Final Pump Scope and data sourced across this scope was group pum…
30 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was group pu…
35 …"BriefDescription": "Final Pump Scope (Group) ended up either larger or smaller than Initial Pump …
36 …mp Scope(Group) to get data sourced, ended up larger than Initial Pump Scope OR Final Pump Scope(G…
41 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a…
42 …"PublicDescription": "Final Pump Scope(Group) to get data sourced, ended up larger than Initial Pu…
59 …"BriefDescription": "Initial and Final Pump Scope was system pump for all data types (demand load,…
60 …"PublicDescription": "Initial and Final Pump Scope and data sourced across this scope was system p…
[all …]
/linux/Documentation/netlink/specs/
H A Dnet_shaper.yaml14 comprising both a @scope and an @id.
16 Depending on the @scope value, the shapers are attached to specific
17 HW objects (queues, devices) or, for @node scope, represent a
24 group. Only the @group operation can create @node scope shapers.
40 scope: kernel
43 name: scope
48 doc: The scope is not specified.
141 name: scope
143 enum: scope
152 the scope. For @queue scope it's the queue id and for @node
[all …]
/linux/net/shaper/
H A Dshaper.c121 if (handle->scope == NET_SHAPER_SCOPE_UNSPEC) in net_shaper_fill_handle()
128 if (nla_put_u32(msg, NET_SHAPER_A_HANDLE_SCOPE, handle->scope) || in net_shaper_fill_handle()
129 (handle->scope >= NET_SHAPER_SCOPE_QUEUE && in net_shaper_fill_handle()
144 WRITE_ONCE(dst->parent.scope, READ_ONCE(src->parent.scope)); in net_shaper_copy()
146 WRITE_ONCE(dst->handle.scope, READ_ONCE(src->handle.scope)); in net_shaper_copy()
280 return FIELD_PREP(NET_SHAPER_SCOPE_MASK, handle->scope) | in net_shaper_handle_to_index()
287 handle->scope = FIELD_GET(NET_SHAPER_SCOPE_MASK, index); in net_shaper_index_to_handle()
294 switch (handle->scope) { in net_shaper_default_parent()
1376 net_shaper_cap_fill_one(struct sk_buff * msg,struct net_shaper_binding * binding,enum net_shaper_scope scope,unsigned long flags,const struct genl_info * info) net_shaper_cap_fill_one() argument
1409 enum net_shaper_scope scope; net_shaper_nl_cap_get_doit() local
1445 enum net_shaper_scope scope; net_shaper_nl_cap_get_dumpit() local
[all...]
/linux/tools/testing/selftests/bpf/
H A Dtest_lwt_seg6local.sh
/linux/rust/kernel/
H A Ddebugfs.rs107 let scope = Scope::<T>::new(data, move |data| {
110 // SAFETY: Because data derives from a scope, and our entry will be dropped before in new()
119 scope <- scope
378 /// Creates a new scope, which is a directory associated with some data `T`.
382 /// stored in the scope.
384 /// The entire directory tree created within the scope will be removed when the returned
385 /// `Scope` handle is dropped.
386 pub fn scope<'
83 let scope = Scope::<T>::new(data, move |data| { create_file() localVariable
362 pub fn scope<'a, T: 'a, E: 'a, F>( scope() method
389 pub struct Scope<T> { global() struct
406 scope: Scope<T>, global() field
410 impl<'b, T: 'b> Scope<T> { global() implementation
429 impl<'b, T: 'b> Scope<T> { global() implementation
453 impl<'a, T: 'a> Scope<T> { global() implementation
478 impl<T> Deref for Scope<T> { global() implementation
[all...]
/linux/drivers/acpi/acpica/
H A Dnsaccess.c75 * 0 _GPE Scope 00203160 00 in acpi_ns_root_initialize()
76 * 0 _PR_ Scope 002031D0 00 in acpi_ns_root_initialize()
78 * 0 _SI_ Scope 002032B0 00 in acpi_ns_root_initialize()
260 * PARAMETERS: scope_info - Current scope info block
319 /* Get the prefix scope. A null scope means use the root scope */ in acpi_ns_lookup()
321 if ((!scope_info) || (!scope_info->scope.node)) { in acpi_ns_lookup()
323 "Null scope prefix, using root node (%p)\n", in acpi_ns_lookup()
328 prefix_node = scope_info->scope.node; in acpi_ns_lookup()
339 * This node might not be a actual "scope" node (such as a in acpi_ns_lookup()
341 * node. Backup up the tree to find the containing scope node. in acpi_ns_lookup()
[all …]
/linux/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, in sctp_bind_addr_copy() argument
54 /* Extract the addresses which are relevant for this scope. */ in sctp_bind_addr_copy()
56 error = sctp_copy_one_addr(net, dest, &addr->a, scope, in sctp_bind_addr_copy()
62 /* If there are no addresses matching the scope and in sctp_bind_addr_copy()
63 * this is global scope, try to get a link scope addres in sctp_bind_addr_copy()
460 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) sctp_copy_one_addr() argument
506 sctp_in_scope(struct net * net,const union sctp_addr * addr,enum sctp_scope scope) sctp_in_scope() argument
[all...]
/linux/rust/syn/
H A Dbuffer.rs103 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()
135 // past it, unless `ptr == scope`, which means that we're at the edge of in create()
136 // our cursor's scope. We should only have `ptr != scope` at the exit in create()
139 if ptr::eq(ptr, scope) { in create()
147 scope, in create()
162 /// point at the first token in the group (with the same scope end).
164 unsafe { Cursor::create(self.ptr.offset(1), self.scope) } in bump_ignore_group()
183 /// scope.
[all …]
/linux/drivers/scsi/aic7xxx/aicasm/
H A Daicasm.c80 static void dump_scope(scope_t *scope);
81 static void emit_patch(scope_t *scope, int patch);
132 /* Set Sentinal scope node */ in main()
281 /* Process outmost scope */ in main()
286 * traversal, recursively handling each scope. in main()
288 /* start at the root scope */ in main()
460 dump_scope(scope_t *scope) in dump_scope() argument
465 * Emit the first patch for this scope in dump_scope()
467 emit_patch(scope, 0); in dump_scope()
470 * Dump each scope within this one. in dump_scope()
[all …]
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);
/linux/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()
570 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
749 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
766 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
806 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...]
H A Dcounter-chrdev.c285 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/samples/rust/
H A Drust_debugfs_scoped.rs6 //! `Scope::dir` to create a variety of files without the need to separately
12 Scope, //
83 let scope = KBox::pin_init( in create_file_write()
84 mod_data.device_dir.scope( in create_file_write()
99 (*mod_data.devices.lock()).push(scope, GFP_KERNEL)?;
105 _data: Pin<KBox<Scope<ModuleData>>>, in init()
112 devices: Mutex<KVec<Pin<KBox<Scope<DeviceData>>>>>, in init()
132 fn init_control(base_dir: &Dir, dyn_dirs: Dir) -> impl PinInit<Scope<ModuleData>> + '_ {
133 base_dir.scope(ModuleData::init(dyn_dirs), c"control", |data, dir| { in init()
72 let scope = KBox::pin_init( create_file_write() localVariable
/linux/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', someone could in sys_cacheflush()
444 if (len>=3*PAGE_SIZE && scope<FLUSH_SCOPE_PAGE) in sys_cacheflush()
[all …]
/linux/tools/testing/selftests/net/
H A Drtnetlink_notification.sh48 # 13: test-dummy1    inet6 mcast ff02::1 scope global 
49 # 13: test-dummy1    inet mcast 224.0.0.1 scope global 
50 # Deleted 13: test-dummy1    inet mcast 224.0.0.1 scope global 
51 # Deleted 13: test-dummy1    inet6 mcast ff02::1 scope global 
91 # 9: dummy2 inet6 any fe80:: scope global
92 # Deleted 9: dummy2 inet6 any fe80:: scope global
/linux/arch/arm64/kernel/
H A Dcpu_errata.c78 is_affected_midr_range(const struct arm64_cpu_capabilities *entry, int scope) in is_affected_midr_range() argument
83 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range()
98 int scope) in is_affected_midr_range_list() argument
100 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_affected_midr_range_list()
105 is_kryo_midr(const struct arm64_cpu_capabilities *entry, int scope) in is_kryo_midr() argument
109 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in is_kryo_midr()
120 int scope) in has_mismatched_cache_type() argument
126 WARN_ON(scope != SCOPE_LOCAL_CPU || preemptible()); in has_mismatched_cache_type()
164 * workaround. Since the scope of this workaround is limited to non-coherent DMA agents, its
168 need_arm_si_l1_workaround_4311569(const struct arm64_cpu_capabilities *entry, int scope) in need_arm_si_l1_workaround_4311569() argument
196 has_cortex_a76_erratum_1463225(const struct arm64_cpu_capabilities * entry,int scope) has_cortex_a76_erratum_1463225() argument
210 is_imx8qm_soc(const struct arm64_cpu_capabilities * entry,int scope) is_imx8qm_soc() argument
280 needs_tx2_tvm_workaround(const struct arm64_cpu_capabilities * entry,int scope) needs_tx2_tvm_workaround() argument
298 has_neoverse_n1_erratum_1542419(const struct arm64_cpu_capabilities * entry,int scope) has_neoverse_n1_erratum_1542419() argument
323 has_impdef_pmuv3(const struct arm64_cpu_capabilities * entry,int scope) has_impdef_pmuv3() argument
339 has_broken_gic_v3_seis(const struct arm64_cpu_capabilities * entry,int scope) has_broken_gic_v3_seis() argument
664 has_sme_dvmsync_erratum(const struct arm64_cpu_capabilities * entry,int scope) has_sme_dvmsync_erratum() argument
[all...]
/linux/include/linux/
H A Dcleanup.h10 * DOC: scope-based cleanup helpers
26 * dropped when the associated variable goes out of scope::
34 * when @dev goes out of scope (automatic variable scope). If a function
45 * dropped when the scope where guard() is invoked ends::
52 * scope of automatic variable declaration. Take the following example::
81 * "When multiple variables in the same scope have cleanup attributes,
82 * at exit from the scope their associated cleanup functions are run in
86 * mid-function scope rather than at the top of the file. Take the
152 * resources that need a "goto" cleanup to scope-based cleanup, or
326 * similar to CLASS(name, scope)(args), except the variable (with the
[all …]
/linux/arch/riscv/mm/
H A Dcacheflush.c212 * a process will be affected when ``scope == PR_RISCV_SCOPE_PER_PROCESS``.
216 * @scope: Set scope of where icache flushing instructions are allowed to be
219 * Supported values for scope:
229 * When ``scope == PR_RISCV_SCOPE_PER_PROCESS``, all threads in the process are
238 * In per-thread context (eg. ``scope == PR_RISCV_SCOPE_PER_THREAD``) only the
246 int riscv_set_icache_flush_ctx(unsigned long ctx, unsigned long scope) in riscv_set_icache_flush_ctx() argument
251 switch (scope) { in riscv_set_icache_flush_ctx()
263 switch (scope) { in riscv_set_icache_flush_ctx()
/linux/Documentation/core-api/
H A Dworkqueue.rst379 An unbound workqueue groups CPUs according to its affinity scope to improve
381 scope of "cache_shard", it will group CPUs into sub-LLC shards. A work item
384 Once started, the worker may or may not be allowed to move outside the scope
385 depending on the ``affinity_strict`` setting of the scope.
390 Use the scope in module parameter ``workqueue.default_affinity_scope``
411 This is the default affinity scope.
420 The default affinity scope can be changed with the module parameter
422 scope can be changed using ``apply_workqueue_attrs()``.
424 If ``WQ_SYSFS`` is set, the workqueue will have the following affinity scope
429 Read to see the current affinity scope. Write to change.
[all …]
/linux/drivers/fwctl/pds/
H A Dmain.c257 /* Translate FW command attribute to fwctl scope */ in pdsfc_get_operations()
258 switch (entries[i].scope) { in pdsfc_get_operations()
262 entries[i].scope = FWCTL_RPC_CONFIGURATION; in pdsfc_get_operations()
265 entries[i].scope = FWCTL_RPC_DEBUG_READ_ONLY; in pdsfc_get_operations()
268 entries[i].scope = FWCTL_RPC_DEBUG_WRITE; in pdsfc_get_operations()
271 entries[i].scope = FWCTL_RPC_DEBUG_WRITE_FULL; in pdsfc_get_operations()
274 dev_dbg(dev, "endpoint %d operation: id %x scope %d\n", in pdsfc_get_operations()
275 ep, le32_to_cpu(entries[i].id), entries[i].scope); in pdsfc_get_operations()
283 enum fwctl_rpc_scope scope) in pdsfc_validate_rpc() argument
334 /* reject unsupported and/or out of scope commands */ in pdsfc_validate_rpc()
[all …]
/linux/tools/perf/pmu-events/arch/powerpc/power9/
H A Dmarked.json145 …"BriefDescription": "Final Pump Scope (Group) ended up larger than Initial Pump Scope (Chip) for a…
165 …"BriefDescription": "Initial and Final Pump Scope was system pump (prediction=correct) for a deman…
200 …"BriefDescription": "Final Pump Scope (system) ended up larger than Initial Pump Scope (Chip/Group…
205 …"BriefDescription": "Final Pump Scope (Group) ended up either larger or smaller than Initial Pump …
255 …escription": "Final Pump Scope (system) mispredicted. Either the original scope was too small (Chi…
265 …"BriefDescription": "Initial and Final Pump Scope was system pump for all data types excluding dat…
500 …"BriefDescription": "Initial and Final Pump Scope and data sourced across this scope was group pum…
545 …escription": "Final Pump Scope (system) mispredicted. Either the original scope was too small (Chi…
/linux/Documentation/networking/
H A Dvrf.rst120 By default the scope of the port bindings for unbound sockets is
284 inet 10.2.1.2/24 brd 10.2.1.255 scope global eth1
286 inet6 2002:1::2/120 scope global
288 inet6 fe80::ff:fe00:202/64 scope link
292 inet 10.2.2.2/24 brd 10.2.2.255 scope global eth2
294 inet6 2002:2::2/120 scope global
296 inet6 fe80::ff:fe00:203/64 scope link
321 broadcast 10.2.1.0 dev eth1 proto kernel scope link src 10.2.1.2
322 10.2.1.0/24 dev eth1 proto kernel scope link src 10.2.1.2
323 local 10.2.1.2 dev eth1 proto kernel scope host src 10.2.1.2
[all …]

12345678910>>...23