Lines Matching refs:since
9 * number of "subscribers" to tell whether it has changed since a previous
18 * can later be used to tell whether any new errors have occurred since that
22 * frequently, since we have so few bits to use as a counter.
25 * been sampled since a new value was recorded. That allows us to avoid bumping
26 * the counter if no one has sampled it since the last time an error was
32 * has ever been an error set since it was first initialized.
134 * errseq_check() - Has an error occurred since a particular sample point?
136 * @since: Previously-sampled errseq_t from which to check.
138 * Grab the value that eseq points to, and see if it has changed @since
139 * the given value was sampled. The @since value is not advanced, so there
144 int errseq_check(errseq_t *eseq, errseq_t since)
148 if (likely(cur == since))
157 * @since: Pointer to previously-sampled errseq_t to check against and advance.
159 * Grab the eseq value, and see whether it matches the value that @since
164 * "since" value, and return whatever the error portion is set to.
166 * Note that no locking is provided here for concurrent updates to the "since"
174 int errseq_check_and_advance(errseq_t *eseq, errseq_t *since)
182 * to take the lock that protects the "since" value.
185 if (old != *since) {
195 * can advance "since" and return an error based on what we
201 *since = new;