Lines Matching refs:eseq
46 * @eseq: errseq_t field that should be set
49 * This function sets the error in @eseq, and increments the sequence counter
58 errseq_t errseq_set(errseq_t *eseq, int err)
71 old = READ_ONCE(*eseq);
94 cur = cmpxchg(eseq, old, new);
112 * @eseq: Pointer to errseq_t to be sampled.
116 * If there is an unseen error in @eseq, the caller of this function will
122 errseq_t errseq_sample(errseq_t *eseq)
124 errseq_t old = READ_ONCE(*eseq);
135 * @eseq: Pointer to errseq_t value to be checked.
138 * Grab the value that eseq points to, and see if it has changed @since
144 int errseq_check(errseq_t *eseq, errseq_t since)
146 errseq_t cur = READ_ONCE(*eseq);
156 * @eseq: Pointer to value being checked and reported.
159 * Grab the eseq value, and see whether it matches the value that @since
163 * swap it into place as the new eseq value. Then, set that value as the new
174 int errseq_check_and_advance(errseq_t *eseq, errseq_t *since)
184 old = READ_ONCE(*eseq);
200 cmpxchg(eseq, old, new);