Home
last modified time | relevance | path

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

12345678910>>...17

/linux/tools/testing/selftests/drivers/net/
H A Dshaper.py33 # features in at least a scope.
39 'scope':'queue'})
45 raise KsftSkipEx("device does not support queue scope shapers with bw_max and metric bps")
60 'handle': {'scope': 'queue', 'id': 1},
64 'handle': {'scope': 'queue', 'id': 2},
72 'handle': {'scope': 'queue', 'id': 0}})
78 'handle': {'scope': 'queue', 'id': 1}})
80 'parent': {'scope': 'netdev'},
81 'handle': {'scope': 'queue', 'id': 1},
87 'parent': {'scope': 'netdev'},
[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/samples/rust/
H A Drust_debugfs_scoped.rs6 //! `Scope::dir` to create a variety of files without the need to separately
12 Scope, //
80 let scope = KBox::pin_init( in create_file_write()
81 mod_data.device_dir.scope( in create_file_write()
96 (*mod_data.devices.lock()).push(scope, GFP_KERNEL)?;
102 _data: Pin<KBox<Scope<ModuleData>>>,
109 devices: Mutex<KVec<Pin<KBox<Scope<DeviceData>>>>>, in init()
129 fn init_control(base_dir: &Dir, dyn_dirs: Dir) -> impl PinInit<Scope<ModuleData>> + '_ { in init_control()
130 base_dir.scope(ModuleData::init(dyn_dirs), c"control", |data, dir| { in init_control()
72 let scope = KBox::pin_init( create_file_write() localVariable
/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/include/net/
H A Dnet_shaper.h28 enum net_shaper_scope scope; member
55 u32 leaves; /* accounted only for NODE scope */
74 * comprising the shaper scope and a scope-specific id.
85 * @leaves scope must be NET_SHAPER_SCOPE_QUEUE.
115 * specified @scope and device specified by @binding.
118 enum net_shaper_scope scope, unsigned long *cap);
/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/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/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/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/security/landlock/
H A Dtask.c3 * Landlock - Ptrace and scope hooks
171 * server/receiver should be restricted based on scope controls.
175 * @scope: The scope restriction criteria.
182 access_mask_t scope) in domain_is_scoped()
211 if (landlock_get_scope_mask(client, client_layer) & scope) in domain_is_scoped()
224 if (landlock_get_scope_mask(client, client_layer) & scope) { in domain_is_scoped()
266 .scope = LANDLOCK_SCOPE_ABSTRACT_UNIX_SOCKET, in hook_unix_stream_connect()
339 .scope = LANDLOCK_SCOPE_SIGNAL, in hook_task_kill()
377 signal_scope.scope); in hook_task_kill()
181 domain_is_scoped(const struct landlock_ruleset * const client,const struct landlock_ruleset * const server,access_mask_t scope) domain_is_scoped() argument
[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/net/netfilter/
H A Dnf_nat_redirect.c83 static bool nf_nat_redirect_ipv6_usable(const struct inet6_ifaddr *ifa, unsigned int scope) in nf_nat_redirect_ipv6_usable() argument
93 if (scope) { in nf_nat_redirect_ipv6_usable()
96 if (!(scope & ifa_scope)) in nf_nat_redirect_ipv6_usable()
112 unsigned int scope = ipv6_addr_scope(&ipv6_hdr(skb)->daddr); in nf_nat_redirect_ipv6() local
122 if (!nf_nat_redirect_ipv6_usable(ifa, scope)) in nf_nat_redirect_ipv6()
/linux/tools/testing/selftests/landlock/
H A Dscoped_common.h3 * Landlock scope test helpers
13 const __u16 scope) in create_scoped_domain() argument
17 .scoped = scope, in create_scoped_domain()

12345678910>>...17