Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/rcu/
Dtree_plugin.h316 …WARN_ONCE(!preempt && rcu_preempt_depth() > 0, "Voluntary context switch within RCU read-side crit… in rcu_note_context_switch()
317 if (rcu_preempt_depth() > 0 && in rcu_note_context_switch()
400 WARN_ON_ONCE(rcu_preempt_depth() > RCU_NEST_PMAX); in __rcu_read_lock()
425 int rrln = rcu_preempt_depth(); in __rcu_read_unlock()
585 rcu_preempt_depth() == 0; in rcu_preempt_need_deferred_qs()
715 if (rcu_preempt_depth() > 0 || in rcu_flavor_sched_clock_irq()
725 } else if (!WARN_ON_ONCE(rcu_preempt_depth())) { in rcu_flavor_sched_clock_irq()
731 if (rcu_preempt_depth() > 0 && in rcu_flavor_sched_clock_irq()
755 } else if (unlikely(rcu_preempt_depth())) { in exit_rcu()
Dtree_exp.h643 int depth = rcu_preempt_depth(); in rcu_exp_handler()
/Linux-v5.15/include/linux/
Drcupdate.h56 #define rcu_preempt_depth() READ_ONCE(current->rcu_read_lock_nesting) macro
77 static inline int rcu_preempt_depth(void) in rcu_preempt_depth() function
/Linux-v5.15/kernel/sched/
Dcore.c9474 int nested = preempt_count() + rcu_preempt_depth(); in preempt_count_equals()