Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/rcu/
Dtree_plugin.h297 WARN_ON_ONCE(!preempt && rcu_preempt_depth() > 0); in rcu_note_context_switch()
298 if (rcu_preempt_depth() > 0 && in rcu_note_context_switch()
378 WARN_ON_ONCE(rcu_preempt_depth() > RCU_NEST_PMAX); in __rcu_read_lock()
402 int rrln = rcu_preempt_depth(); in __rcu_read_unlock()
562 rcu_preempt_depth() == 0; in rcu_preempt_need_deferred_qs()
688 if (rcu_preempt_depth() > 0 || in rcu_flavor_sched_clock_irq()
698 } else if (!WARN_ON_ONCE(rcu_preempt_depth())) { in rcu_flavor_sched_clock_irq()
704 if (rcu_preempt_depth() > 0 && in rcu_flavor_sched_clock_irq()
728 } else if (unlikely(rcu_preempt_depth())) { in exit_rcu()
Dtree_exp.h642 int depth = rcu_preempt_depth(); in rcu_exp_handler()
/Linux-v5.10/include/linux/
Drcupdate.h54 #define rcu_preempt_depth() (current->rcu_read_lock_nesting) macro
75 static inline int rcu_preempt_depth(void) in rcu_preempt_depth() function
/Linux-v5.10/kernel/sched/
Dcore.c7239 int nested = preempt_count() + rcu_preempt_depth(); in preempt_count_equals()