Searched refs:nesting (Results 1 - 17 of 17) sorted by relevance

/linux-master/include/linux/
H A Drcupdate_trace.h63 * Pairs with a preceding call to rcu_read_lock_trace(), and nesting is
71 int nesting; local
75 nesting = READ_ONCE(t->trc_reader_nesting) - 1;
78 WRITE_ONCE(t->trc_reader_nesting, INT_MIN + nesting);
79 if (likely(!READ_ONCE(t->trc_reader_special.s)) || nesting) {
80 WRITE_ONCE(t->trc_reader_nesting, nesting);
81 return; // We assume shallow reader nesting.
83 WARN_ON_ONCE(nesting != 0);
H A Dcookie.h10 local_t nesting; member in struct:pcpu_gen_cookie
35 if (likely(local_inc_return(&local->nesting) == 1)) {
47 local_dec(&local->nesting);
/linux-master/arch/arm/probes/kprobes/
H A Dtest-core.c693 unsigned nesting; member in struct:coverage_entry
700 unsigned nesting; member in struct:coverage_table
749 entry->nesting = coverage->nesting;
755 ++coverage->nesting;
757 --coverage->nesting;
770 coverage.nesting = 0;
847 unsigned nesting = 0; local
853 if (entry->nesting > nesting)
[all...]
/linux-master/kernel/rcu/
H A Dtasks.h1551 int nesting; local
1561 nesting = READ_ONCE(t->trc_reader_nesting);
1562 if (likely(!nesting)) {
1567 if (unlikely(nesting < 0))
1588 int nesting; local
1604 nesting = 0;
1607 nesting = t->trc_reader_nesting;
1616 if (!nesting) {
1620 if (nesting < 0)
1783 int nesting; member in struct:trc_stall_chk_rdr
[all...]
H A Dtree_stall.h269 int nesting; member in struct:rcu_stall_chk_rdr
284 rscrp->nesting = t->rcu_read_lock_nesting;
325 t->pid, rscr.nesting,
H A Dtree.c348 long nesting; local
363 /* Are we at first interrupt nesting level? */
364 nesting = ct_dynticks_nmi_nesting();
365 if (nesting > 1)
371 WARN_ON_ONCE(!nesting && !is_idle_task(current));
/linux-master/drivers/infiniband/ulp/ipoib/
H A Dipoib_ib.c1176 int nesting)
1182 down_read_nested(&priv->vlan_rwsem, nesting);
1189 __ipoib_ib_dev_flush(cpriv, level, nesting + 1);
1174 __ipoib_ib_dev_flush(struct ipoib_dev_priv *priv, enum ipoib_flush_level level, int nesting) argument
H A Dipoib_main.c404 int nesting,
430 down_read_nested(&priv->vlan_rwsem, nesting);
434 nesting + 1,
400 ipoib_match_gid_pkey_addr(struct ipoib_dev_priv *priv, const union ib_gid *gid, u16 pkey_index, const struct sockaddr *addr, int nesting, struct net_device **found_net_dev) argument
/linux-master/include/net/bluetooth/
H A Dl2cap.h509 atomic_t nesting; member in struct:l2cap_chan
736 /* Lock nesting levels for L2CAP channels. We need these because lockdep
813 mutex_lock_nested(&chan->lock, atomic_read(&chan->nesting));
/linux-master/drivers/vfio/
H A Dvfio_iommu_type1.c75 bool nesting; member in struct:vfio_iommu
2201 if (iommu->nesting) {
2548 iommu->nesting = true;
/linux-master/net/bluetooth/
H A Dl2cap_sock.c319 atomic_set(&chan->nesting, L2CAP_NESTING_PARENT);
1516 * we need separation into separate nesting levels. The simplest
1517 * way to accomplish this is to inherit the nesting level used
1520 lock_sock_nested(sk, atomic_read(&chan->nesting));
H A D6lowpan.c938 atomic_set(&chan->nesting, L2CAP_NESTING_PARENT);
H A Dsmp.c3266 atomic_set(&chan->nesting, L2CAP_NESTING_SMP);
3362 /* Set correct nesting level for a parent/listening channel */
3363 atomic_set(&chan->nesting, L2CAP_NESTING_PARENT);
H A Dl2cap_core.c454 /* Set default lock nesting level */
455 atomic_set(&chan->nesting, L2CAP_NESTING_NORMAL);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dcore_reloc.c576 /* various struct/enum nesting and resolution scenarios */
577 NESTING_CASE(nesting),
/linux-master/kernel/trace/
H A Dtrace.c2885 /* Allow 4 levels of nesting: normal, softirq, irq, NMI */
3122 int nesting; member in struct:trace_buffer_struct
3136 if (!trace_percpu_buffer || buffer->nesting >= 4)
3139 buffer->nesting++;
3141 /* Interrupts must see nesting incremented before we use the buffer */
3143 return &buffer->buffer[buffer->nesting - 1][0];
3148 /* Don't let the decrement of nesting leak before this */
3150 this_cpu_dec(trace_percpu_buffer->nesting);
/linux-master/kernel/events/
H A Dcore.c1223 * nesting levels are inverted between the two. This is in fact safe because
1267 perf_event_ctx_lock_nested(struct perf_event *event, int nesting) argument
1280 mutex_lock_nested(&ctx->mutex, nesting);
6100 * Callers need to ensure there can be no nesting of this function, otherwise

Completed in 425 milliseconds