Home
last modified time | relevance | path

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

/linux-6.3-rc2/kernel/rcu/
A Dtree_plugin.h318 …WARN_ONCE(!preempt && rcu_preempt_depth() > 0, "Voluntary context switch within RCU read-side crit… in rcu_note_context_switch()
319 if (rcu_preempt_depth() > 0 && in rcu_note_context_switch()
402 WARN_ON_ONCE(rcu_preempt_depth() > RCU_NEST_PMAX); in __rcu_read_lock()
427 int rrln = rcu_preempt_depth(); in __rcu_read_unlock()
588 rcu_preempt_depth() == 0; in rcu_preempt_need_deferred_qs()
722 if (rcu_preempt_depth() > 0 || in rcu_flavor_sched_clock_irq()
732 } else if (!WARN_ON_ONCE(rcu_preempt_depth())) { in rcu_flavor_sched_clock_irq()
738 if (rcu_preempt_depth() > 0 && in rcu_flavor_sched_clock_irq()
762 } else if (unlikely(rcu_preempt_depth())) { in exit_rcu()
A Dtree_exp.h740 int depth = rcu_preempt_depth(); in rcu_exp_handler()
/linux-6.3-rc2/include/linux/
A Drcupdate.h82 #define rcu_preempt_depth() READ_ONCE(current->rcu_read_lock_nesting) macro
104 static inline int rcu_preempt_depth(void) in rcu_preempt_depth() function
/linux-6.3-rc2/kernel/locking/
A Dspinlock_rt.c33 (rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT)
/linux-6.3-rc2/kernel/sched/
A Dcore.c10007 nested += rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT; in resched_offsets_ok()
10045 rcu_preempt_depth(), offsets >> MIGHT_RESCHED_RCU_SHIFT); in __might_resched()

Completed in 29 milliseconds