Home
last modified time | relevance | path

Searched full:nesting (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux-6.15/include/linux/
Drcupdate_trace.h64 * Pairs with a preceding call to rcu_read_lock_trace(), and nesting is
72 int nesting; in rcu_read_unlock_trace() local
76 nesting = READ_ONCE(t->trc_reader_nesting) - 1; in rcu_read_unlock_trace()
79 WRITE_ONCE(t->trc_reader_nesting, INT_MIN + nesting); in rcu_read_unlock_trace()
80 if (likely(!READ_ONCE(t->trc_reader_special.s)) || nesting) { in rcu_read_unlock_trace()
81 WRITE_ONCE(t->trc_reader_nesting, nesting); in rcu_read_unlock_trace()
82 return; // We assume shallow reader nesting. in rcu_read_unlock_trace()
84 WARN_ON_ONCE(nesting != 0); in rcu_read_unlock_trace()
Dcontext_tracking_state.h42 long nesting; /* Track process nesting level. */ member
43 long nmi_nesting; /* Track irq/NMI nesting level. */
80 return __this_cpu_read(context_tracking.nesting); in ct_nesting()
87 return ct->nesting; in ct_nesting_cpu()
Dcookie.h10 local_t nesting; member
35 if (likely(local_inc_return(&local->nesting) == 1)) { in gen_cookie_next()
47 local_dec(&local->nesting); in gen_cookie_next()
Dkcsan.h30 * track of nesting. Both (a) and (b) are entirely independent of each
41 * To support these cases, we independently track the depth of nesting
/linux-6.15/rust/pin-init/internal/src/
Dhelpers.rs58 let mut nesting = 0; in parse_generics() localVariable
64 if nesting == 1 && matches!(&tt, TokenTree::Punct(p) if p.as_char() == '>') { in parse_generics()
67 } else if nesting >= 1 { in parse_generics()
72 if nesting >= 1 && !skip_until_comma { in parse_generics()
76 nesting += 1; in parse_generics()
80 if nesting == 0 { in parse_generics()
83 nesting -= 1; in parse_generics()
84 if nesting >= 1 && !skip_until_comma { in parse_generics()
91 if nesting == 1 { in parse_generics()
98 match nesting { in parse_generics()
Dpinned_drop.rs14 let mut nesting: usize = 0; in pinned_drop() localVariable
19 nesting += 1; in pinned_drop()
22 nesting = nesting.checked_sub(1).unwrap(); in pinned_drop()
27 if i >= 1 && nesting == 0 { in pinned_drop()
/linux-6.15/Documentation/userspace-api/
Diommufd.rst49 running in the user space, or a nesting parent stage-2 domain for mappings
61 feature.) As such, it must be created with a given nesting parent stage-2
79 * Access to a sharable nesting parent pagetable across physical IOMMUs
85 Such a vIOMMU object generally has the access to a nesting parent pagetable
87 must be created given a nesting parent HWPT_PAGING object, and then it would
214 allocates a nesting parent HWPT_PAGING if the IOMMU_HWPT_ALLOC_NEST_PARENT
219 nesting parent HWPT_PAGING via @pt_id to associate the new HWPT_NESTED object
221 must be a nesting parent manually allocated via the same uAPI previously with
224 nesting parent domain and the nested domain being allocated are compatible.
228 can be allocated by (and then associated to) the same nesting parent.
[all …]
/linux-6.15/kernel/
Dcontext_tracking.c31 .nesting = 1,
121 * of interrupt nesting level during the prior busy period.
133 ct->nesting--; in ct_kernel_exit()
147 WRITE_ONCE(ct->nesting, 0); /* Avoid irq-access tearing. */ in ct_kernel_exit()
160 * interrupt nesting level during the busy period that is just now starting.
172 ct->nesting++; in ct_kernel_enter()
186 WRITE_ONCE(ct->nesting, 1); in ct_kernel_enter()
217 * If the nesting level is not 1, the CPU wasn't RCU-idle, so in ct_nmi_exit()
251 * long as the nesting level does not overflow an int. (You will probably
562 * leading to that nesting: in ct_user_enter()
/linux-6.15/Documentation/virt/kvm/x86/
Drunning-nested-guests.rst40 a different design for nesting.
84 nesting, set the ``nested`` KVM module parameter to ``Y`` or ``1``. To
147 Once your bare metal host (L0) is configured for nesting, you should be
198 Migrating an L1 guest merely configured to support nesting, while not
221 of "nesting" at all, say so. Unfortunately, this needs to be called
/linux-6.15/arch/riscv/include/asm/
Dsimd.h37 * Nesting is achieved in preempt_v by spreading the control for in may_use_simd()
40 * fallback to check non preempt_v if nesting happens, or if the config in may_use_simd()
/linux-6.15/Documentation/netlink/specs/
Dnet_shaper.yaml177 name: support-nesting
180 The device supports nesting shaper belonging to this scope
182 scope can have flag 'support-nesting'.
348 - support-nesting
/linux-6.15/fs/btrfs/
Dlocking.c27 * Lock-nesting across peer nodes is always done with the immediate parent
133 * @nest: the nesting level to be used for lockdep
135 * This takes the read lock on the extent buffer, using the specified nesting
176 * @nest: the nesting to use for the lock
/linux-6.15/arch/arm/probes/kprobes/
Dtest-core.c693 unsigned nesting; member
700 unsigned nesting; member
749 entry->nesting = coverage->nesting; in coverage_start_fn()
755 ++coverage->nesting; in coverage_start_fn()
757 --coverage->nesting; in coverage_start_fn()
770 coverage.nesting = 0; in coverage_start()
847 unsigned nesting = 0; in coverage_add() local
853 if (entry->nesting > nesting) in coverage_add()
856 if (entry->nesting < nesting) in coverage_add()
868 ++nesting; in coverage_add()
/linux-6.15/Documentation/core-api/
Dgfp_mask-from-fs-io.rst46 nesting would be possible via reclaim. The restore function should be
51 allows nesting so it is safe to call ``memalloc_noio_save`` or
/linux-6.15/Documentation/admin-guide/device-mapper/
Dpersistent-data.rst83 thin-provisioning target uses a btree with two levels of nesting.
88 64bits, although nesting allows you to use multiple keys.
/linux-6.15/drivers/irqchip/
Dalphascale_asm9260-icoll.h33 * nesting is used then the CPU irq must be turned on before writing to this
46 /* disable interrupt level nesting */
/linux-6.15/tools/perf/bench/
Depoll-ctl.c44 /* Maximum number of nesting allowed inside epoll sets */
79 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)…
107 printinfo("Nesting level(s): %d\n", nested); in nest_epollfd()
Depoll-wait.c99 /* Maximum number of nesting allowed inside epoll sets */
138 …OPT_UINTEGER( 'N', "nested", &nested, "Nesting level epoll hierarchy (default is 0, no nesting)…
470 printinfo("Nesting level(s): %d\n", nested); in bench_epoll_wait()
/linux-6.15/tools/memory-model/
Dlinux-kernel.bell68 (* Validate nesting *)
76 (* Validate nesting *)
/linux-6.15/Documentation/bpf/
Dmap_of_maps.rst13 purpose support for map in map storage. One level of nesting is supported, where
27 - Multi-level nesting is not supported.
/linux-6.15/tools/build/tests/ex/empty2/
DREADME2 to test proper nesting into Build-less directories.
/linux-6.15/include/asm-generic/
Dmcs_spinlock.h7 int count; /* nesting count, see qspinlock.c */
/linux-6.15/Documentation/userspace-api/netlink/
Dnetlink-raw.rst66 :doc:`tc<../../networking/netlink_spec/tc>` use attribute nesting as an
82 example above shows attributes nesting inside the wrapper, the modules generally
/linux-6.15/Documentation/arch/x86/
Dkernel-stacks.rst63 stack size allocated to an IST assumes no nesting for the same code.
98 the IST stackpointer to a guard hole to catch triple nesting.
/linux-6.15/arch/powerpc/lib/
Dfeature-fixups-test.S246 /* Nesting test, inner section should be nop'ed */ \
259 /* Nesting test, whole section should be nop'ed */ \
272 /* Nesting test, none should be nop'ed */ \
518 /* Nesting test, inner section should be nop'ed */ \
531 /* Nesting test, whole section should be nop'ed */ \
545 /* Nesting test, none should be nop'ed */ \

12345678910