Lines Matching refs:s_wr
218 union s_wr s_wr, old; in smr_lazy_advance() local
227 old._pair = s_wr._pair = atomic_load_acq_64(&s->s_wr._pair); in smr_lazy_advance()
233 d = t - s_wr.ticks; in smr_lazy_advance()
239 s_wr.ticks = t; in smr_lazy_advance()
240 s_wr.seq += d * SMR_SEQ_INCR; in smr_lazy_advance()
247 atomic_cmpset_64(&s->s_wr._pair, old._pair, s_wr._pair); in smr_lazy_advance()
249 return (s_wr.seq + SMR_LAZY_INCR); in smr_lazy_advance()
261 return (atomic_fetchadd_int(&s->s_wr.seq, SMR_SEQ_INCR) + SMR_SEQ_INCR); in smr_shared_advance()
528 s_wr_seq = atomic_load_acq_int(&s->s_wr.seq); in smr_poll()
594 s->s_rd_seq = s->s_wr.seq = SMR_SEQ_INIT; in smr_create()
595 s->s_wr.ticks = ticks; in smr_create()