Home
last modified time | relevance | path

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

/linux-6.14.4/kernel/rcu/
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()
602 rcu_preempt_depth() == 0; in rcu_preempt_need_deferred_qs()
736 if (rcu_preempt_depth() > 0 || in rcu_flavor_sched_clock_irq()
746 } else if (!WARN_ON_ONCE(rcu_preempt_depth())) { in rcu_flavor_sched_clock_irq()
752 if (rcu_preempt_depth() > 0 && in rcu_flavor_sched_clock_irq()
776 } else if (unlikely(rcu_preempt_depth())) { in exit_rcu()
Dtree_exp.h745 int depth = rcu_preempt_depth(); in rcu_exp_handler()
Drcutorture.c479 return rcu_preempt_depth(); in rcu_torture_readlock_nesting()
/linux-6.14.4/include/linux/
Drcupdate.h81 #define rcu_preempt_depth() READ_ONCE(current->rcu_read_lock_nesting) macro
103 static inline int rcu_preempt_depth(void) in rcu_preempt_depth() function
/linux-6.14.4/kernel/locking/
Dspinlock_rt.c33 (rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT)
/linux-6.14.4/kernel/
Dworkqueue.c3209 rcu_start_depth = rcu_preempt_depth(); in process_one_work()
3251 rcu_preempt_depth() != rcu_start_depth)) { in process_one_work()
3256 rcu_start_depth, rcu_preempt_depth(), in process_one_work()
/linux-6.14.4/kernel/sched/
Dcore.c8716 nested += rcu_preempt_depth() << MIGHT_RESCHED_RCU_SHIFT; in resched_offsets_ok()
8754 rcu_preempt_depth(), offsets >> MIGHT_RESCHED_RCU_SHIFT); in __might_resched()