Home
last modified time | relevance | path

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

12345678910>>...21

/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/tools/testing/selftests/bpf/
H A Dtest_lwt_seg6local.sh
/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/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/include/linux/sched/
H A Dmm.h346 * memalloc_noio_save - Marks implicit GFP_NOIO allocation scope.
348 * This functions marks the beginning of the GFP_NOIO allocation scope.
351 * point of view. Use memalloc_noio_restore to end the scope with flags
363 * memalloc_noio_restore - Ends the implicit GFP_NOIO scope.
366 * Ends the implicit GFP_NOIO scope started by memalloc_noio_save function.
376 * memalloc_nofs_save - Marks implicit GFP_NOFS allocation scope.
378 * This functions marks the beginning of the GFP_NOFS allocation scope.
381 * point of view. Use memalloc_nofs_restore to end the scope with flags
393 * memalloc_nofs_restore - Ends the implicit GFP_NOFS scope.
396 * Ends the implicit GFP_NOFS scope started by memalloc_nofs_save function.
[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/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/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 != COUNTER_SCOPE_SIGNAL || in counter_comp_array_u32_show()
394 a->scope != COUNTER_SCOPE_SIGNAL) in counter_comp_array_u32_store()
[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/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/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/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/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/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/security/landlock/
H A Dtask.c3 * Landlock - Ptrace and scope hooks
170 * server/receiver should be restricted based on scope controls.
174 * @scope: The scope restriction criteria.
181 access_mask_t scope) in domain_is_scoped() argument
210 if (landlock_get_scope_mask(client, client_layer) & scope) in domain_is_scoped()
223 if (landlock_get_scope_mask(client, client_layer) & scope) { in domain_is_scoped()
265 .scope = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET,
338 .scope = LANDLOCK_SCOPE_SIGNAL,
375 signal_scope.scope); in hook_task_kill()
426 signal_scope.scope); in hook_file_send_sigiotask()
/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>>...21