Searched refs:RCU_SEQ_STATE_MASK (Results 1 – 1 of 1) sorted by relevance
24 #define RCU_SEQ_STATE_MASK ((1 << RCU_SEQ_CTR_SHIFT) - 1) macro41 return s & RCU_SEQ_STATE_MASK; in rcu_seq_state()50 WARN_ON_ONCE(newstate & ~RCU_SEQ_STATE_MASK); in rcu_seq_set_state()51 WRITE_ONCE(*sp, (*sp & ~RCU_SEQ_STATE_MASK) + newstate); in rcu_seq_set_state()65 return (*sp | RCU_SEQ_STATE_MASK) + 1; in rcu_seq_endval()91 s = (READ_ONCE(*sp) + 2 * RCU_SEQ_STATE_MASK + 1) & ~RCU_SEQ_STATE_MASK; in rcu_seq_snap()108 return ULONG_CMP_LT((s - 1) & ~RCU_SEQ_STATE_MASK, READ_ONCE(*sp)); in rcu_seq_started()125 return ULONG_CMP_LT(old, new & ~RCU_SEQ_STATE_MASK); in rcu_seq_completed_gp()133 return ULONG_CMP_LT((old + RCU_SEQ_STATE_MASK) & ~RCU_SEQ_STATE_MASK, in rcu_seq_new_gp()151 rnd_diff = (new & ~RCU_SEQ_STATE_MASK) - in rcu_seq_diff()[all …]