Home
last modified time | relevance | path

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

12345678910>>...22

/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/drivers/acpi/acpica/
H A Dpsscope.c4 * Module Name: psscope - Parser scope stack management routines
32 return (parser_state->scope->parse_scope.op); in acpi_ps_get_parent_scope()
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 in acpi_ps_has_completed_scope()
54 || !parser_state->scope->parse_scope.arg_count))); in acpi_ps_has_completed_scope()
62 * root - the Root Node of this new scope
66 * DESCRIPTION: Allocate and init a new scope object
74 union acpi_generic_state *scope; in acpi_ps_init_scope() local
[all …]
H A Ddswscope.c4 * Module Name: dswscope - Scope stack manipulation
25 * 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 */ in acpi_ds_scope_stack_clear()
40 walk_state->scope_info = scope_info->scope.next; in acpi_ds_scope_stack_clear()
61 * DESCRIPTION: Push the current scope on the scope stack, and make the
78 /* Invalid scope */ in acpi_ds_scope_stack_push()
80 ACPI_ERROR((AE_INFO, "Null scope parameter")); in acpi_ds_scope_stack_push()
90 /* Allocate a new scope object */ in acpi_ds_scope_stack_push()
97 /* Init new scope object */ in acpi_ds_scope_stack_push()
[all …]
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 …]
H A Ddswload.c148 * The target name of the Scope() operator must exist at this point so in acpi_ds_load1_begin_op()
149 * that we can actually open the scope to enter new names underneath it. in acpi_ds_load1_begin_op()
160 * Target of Scope() not found. Generate an External for it, and in acpi_ds_load1_begin_op()
180 * one of the opcodes that actually opens a scope in acpi_ds_load1_begin_op()
184 case ACPI_TYPE_LOCAL_SCOPE: /* Scope */ in acpi_ds_load1_begin_op()
201 * Scope (DEB) { ... } in acpi_ds_load1_begin_op()
208 "for Scope operator, changed to type ANY\n", in acpi_ds_load1_begin_op()
218 * Allow scope change to root during execution of module-level in acpi_ds_load1_begin_op()
235 "Scope operator [%4.4s] (Cannot override)", in acpi_ds_load1_begin_op()
254 * 1) the Scope() operator can reopen a scoping object that was in acpi_ds_load1_begin_op()
[all …]
H A Ddswload2.c129 /* Special case for Scope(\) -> refers to the Root node */ in acpi_ds_load2_begin_op()
171 * one of the opcodes that actually opens a scope in acpi_ds_load2_begin_op()
175 case ACPI_TYPE_LOCAL_SCOPE: /* Scope */ in acpi_ds_load2_begin_op()
193 * Scope (DEB) { ... } in acpi_ds_load2_begin_op()
197 "for Scope operator, changed to type ANY", in acpi_ds_load2_begin_op()
208 * Allow scope change to root during execution of module-level in acpi_ds_load2_begin_op()
225 "Scope operator [%4.4s] (Cannot override)", in acpi_ds_load2_begin_op()
288 * Do not open a scope for AML_EXTERNAL_OP in acpi_ds_load2_begin_op()
289 * acpi_ns_lookup can open a new scope based on the object type in acpi_ds_load2_begin_op()
292 * acpi_ns_lookup will open a new scope. However, an AML_EXTERNAL_OP in acpi_ds_load2_begin_op()
[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()
257 return FIELD_PREP(NET_SHAPER_SCOPE_MASK, handle->scope) | in net_shaper_handle_to_index()
264 handle->scope = FIELD_GET(NET_SHAPER_SCOPE_MASK, index); in net_shaper_index_to_handle()
271 switch (handle->scope) { in net_shaper_default_parent()
275 parent->scope = NET_SHAPER_SCOPE_UNSPEC; in net_shaper_default_parent()
280 parent->scope = NET_SHAPER_SCOPE_NETDEV; in net_shaper_default_parent()
361 if (handle->scope == NET_SHAPER_SCOPE_NODE && in net_shaper_pre_insert()
472 handle->scope = nla_get_u32(tb[NET_SHAPER_A_HANDLE_SCOPE]); in net_shaper_parse_handle()
[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/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 address, with in sctp_bind_addr_copy()
66 if (list_empty(&dest->address_list) && (SCTP_SCOPE_GLOBAL == scope)) { in sctp_bind_addr_copy()
77 * scope, it's an error. in sctp_bind_addr_copy()
[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 …]
/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/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/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/arch/arm64/kvm/
H A Dnested.c954 struct s1e2_tlbi_scope *scope) in invalidate_vncr_va() argument
973 switch (scope->type) { in invalidate_vncr_va()
978 if (va_end <= scope->va || in invalidate_vncr_va()
979 va_start >= (scope->va + scope->size)) in invalidate_vncr_va()
981 if (vt->wr.nG && vt->wr.asid != scope->asid) in invalidate_vncr_va()
986 if (va_end <= scope->va || in invalidate_vncr_va()
987 va_start >= (scope->va + scope->size)) in invalidate_vncr_va()
992 if (!vt->wr.nG || vt->wr.asid != scope->asid) in invalidate_vncr_va()
1004 struct s1e2_tlbi_scope *scope) in compute_s1_tlbi_range() argument
1019 scope->type = TLBI_ALL; in compute_s1_tlbi_range()
[all …]
/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...]

12345678910>>...22