Home
last modified time | relevance | path

Searched refs:snap (Results 1 – 2 of 2) sorted by relevance

/kernel/rcu/
Dtree_exp.h350 int snap; in sync_rcu_exp_select_node_cpus() local
356 snap = rcu_dynticks_snap(rdp); in sync_rcu_exp_select_node_cpus()
357 if (rcu_dynticks_in_eqs(snap)) in sync_rcu_exp_select_node_cpus()
360 rdp->exp_dynticks_snap = snap; in sync_rcu_exp_select_node_cpus()
Dtree.c310 int snap = atomic_add_return(0, &rdp->dynticks); in rcu_dynticks_snap() local
312 return snap & ~RCU_DYNTICK_CTRL_MASK; in rcu_dynticks_snap()
319 static bool rcu_dynticks_in_eqs(int snap) in rcu_dynticks_in_eqs() argument
321 return !(snap & RCU_DYNTICK_CTRL_CTR); in rcu_dynticks_in_eqs()
329 static bool rcu_dynticks_in_eqs_since(struct rcu_data *rdp, int snap) in rcu_dynticks_in_eqs_since() argument
331 return snap != rcu_dynticks_snap(rdp); in rcu_dynticks_in_eqs_since()