Searched refs:s_wr (Results 1 – 3 of 3) sorted by relevance
218 union s_wr s_wr, old; in smr_lazy_advance() local227 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()[all …]
58 union s_wr { union67 union s_wr s_wr; /* Write sequence */ member92 return (atomic_load_int(&s->s_wr.seq)); in smr_shared_current()
69 smrs_smr->c_shared->s_wr.seq, smrs_smr->c_shared->s_rd_seq, in smrs_error()