Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Dcontext_tracking.c34 .state = ATOMIC_INIT(RCU_DYNTICKS_IDX),
93 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && (seq & RCU_DYNTICKS_IDX)); in ct_kernel_exit_state()
113 WARN_ON_ONCE(IS_ENABLED(CONFIG_RCU_EQS_DEBUG) && !(seq & RCU_DYNTICKS_IDX)); in ct_kernel_enter_state()
239 ct_kernel_exit_state(RCU_DYNTICKS_IDX); in ct_nmi_exit()
280 ct_kernel_enter_state(RCU_DYNTICKS_IDX); in ct_nmi_enter()
320 ct_kernel_exit(false, RCU_DYNTICKS_IDX + CONTEXT_IDLE); in ct_idle_enter()
338 ct_kernel_enter(false, RCU_DYNTICKS_IDX - CONTEXT_IDLE); in ct_idle_exit()
505 ct_kernel_exit(true, RCU_DYNTICKS_IDX + state); in __ct_user_enter()
619 ct_kernel_enter(true, RCU_DYNTICKS_IDX - state); in __ct_user_exit()
/linux-6.6.21/include/linux/
Dcontext_tracking.h122 return !(raw_atomic_read(this_cpu_ptr(&context_tracking.state)) & RCU_DYNTICKS_IDX); in rcu_dynticks_curr_cpu_in_eqs()
145 ct_state_inc(RCU_DYNTICKS_IDX); in warn_rcu_enter()
154 ct_state_inc(RCU_DYNTICKS_IDX); in warn_rcu_exit()
Dcontext_tracking_state.h22 #define RCU_DYNTICKS_IDX CONTEXT_MAX macro
/linux-6.6.21/kernel/rcu/
Dtree.c262 if (ct_dynticks() & RCU_DYNTICKS_IDX) in rcu_dynticks_eqs_online()
264 ct_state_inc(RCU_DYNTICKS_IDX); in rcu_dynticks_eqs_online()
283 return !(snap & RCU_DYNTICKS_IDX); in rcu_dynticks_in_eqs()
305 snap = ct_dynticks_cpu(cpu) & ~RCU_DYNTICKS_IDX; in rcu_dynticks_zero_in_eqs()
331 seq = ct_state_inc(2 * RCU_DYNTICKS_IDX); in rcu_momentary_dyntick_idle()
333 WARN_ON_ONCE(!(seq & RCU_DYNTICKS_IDX)); in rcu_momentary_dyntick_idle()