Home
last modified time | relevance | path

Searched refs:rcu_preempt_depth (Results 1 – 8 of 8) sorted by relevance

/linux/kernel/rcu/
H A Dtree_plugin.h332 …WARN_ONCE(!preempt && rcu_preempt_depth() > 0, "Voluntary context switch within RCU read-side crit… in rcu_note_context_switch()
333 if (rcu_preempt_depth() > 0 && in rcu_note_context_switch()
416 WARN_ON_ONCE(rcu_preempt_depth() > RCU_NEST_PMAX); in __rcu_read_lock()
441 int rrln = rcu_preempt_depth(); in __rcu_read_unlock()
604 rcu_preempt_depth() == 0; in rcu_preempt_need_deferred_qs()
647 if (rcu_preempt_depth() > 0) in rcu_preempt_deferred_qs_handler()
815 if (rcu_preempt_depth() > 0 || in rcu_flavor_sched_clock_irq()
823 } else if (!WARN_ON_ONCE(rcu_preempt_depth())) { in rcu_flavor_sched_clock_irq()
829 if (rcu_preempt_depth() > 0 && in rcu_flavor_sched_clock_irq()
853 } else if (unlikely(rcu_preempt_depth())) { in exit_rcu()
H A Dtree_exp.h751 int depth = rcu_preempt_depth(); in rcu_exp_handler()
H A Drcutorture.c500 return rcu_preempt_depth(); in rcu_torture_readlock_nesting()
/linux/include/linux/
H A Drcupdate.h91 #define rcu_preempt_depth() READ_ONCE(current->rcu_read_lock_nesting) macro
113 static inline int rcu_preempt_depth(void) in rcu_preempt_depth() function
/linux/kernel/locking/
H A Dspinlock_rt.c33 (rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT)
/linux/kernel/
H A Dworkqueue.c3247 rcu_start_depth = rcu_preempt_depth(); in process_one_work()
3289 rcu_preempt_depth() != rcu_start_depth)) { in process_one_work()
3294 rcu_start_depth, rcu_preempt_depth(), in process_one_work()
/linux/fs/erofs/
H A Dzdata.c1437 if (IS_ENABLED(CONFIG_PREEMPTION) && rcu_preempt_depth()) in z_erofs_in_atomic()
/linux/kernel/sched/
H A Dcore.c8837 nested += rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT; in resched_offsets_ok()
8875 rcu_preempt_depth(), offsets >> MIGHT_RESCHED_RCU_SHIFT); in __might_resched()