Lines Matching refs:new
79 errseq_t new; in errseq_set() local
82 new = (old & ~(MAX_ERRNO|ERRSEQ_SEEN)) | -err; in errseq_set()
86 new += ERRSEQ_CTR_INC; in errseq_set()
89 if (new == old) { in errseq_set()
90 cur = new; in errseq_set()
95 cur = cmpxchg(eseq, old, new); in errseq_set()
101 if (likely(cur == old || cur == new)) in errseq_set()
178 errseq_t old, new; in errseq_check_and_advance() local
199 new = old | ERRSEQ_SEEN; in errseq_check_and_advance()
200 if (new != old) in errseq_check_and_advance()
201 cmpxchg(eseq, old, new); in errseq_check_and_advance()
202 *since = new; in errseq_check_and_advance()
203 err = -(new & MAX_ERRNO); in errseq_check_and_advance()