Lines Matching refs:eseq
47 * @eseq: errseq_t field that should be set
50 * This function sets the error in @eseq, and increments the sequence counter
59 errseq_t errseq_set(errseq_t *eseq, int err)
72 old = READ_ONCE(*eseq);
95 cur = cmpxchg(eseq, old, new);
113 * @eseq: Pointer to errseq_t to be sampled.
117 * If there is an unseen error in @eseq, the caller of this function will
123 errseq_t errseq_sample(errseq_t *eseq)
125 errseq_t old = READ_ONCE(*eseq);
136 * @eseq: Pointer to errseq_t value to be checked.
139 * Grab the value that eseq points to, and see if it has changed @since
145 int errseq_check(errseq_t *eseq, errseq_t since)
147 errseq_t cur = READ_ONCE(*eseq);
157 * @eseq: Pointer to value being checked and reported.
160 * Grab the eseq value, and see whether it matches the value that @since
164 * swap it into place as the new eseq value. Then, set that value as the new
175 int errseq_check_and_advance(errseq_t *eseq, errseq_t *since)
185 old = READ_ONCE(*eseq);
201 cmpxchg(eseq, old, new);