Lines Matching refs:seq
280 int seq = READ_ONCE(s->sequence); in raw_read_seqcount_latch() local
283 return seq; in raw_read_seqcount_latch()
526 static inline void read_seqbegin_or_lock(seqlock_t *lock, int *seq) in read_seqbegin_or_lock() argument
528 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock()
529 *seq = read_seqbegin(lock); in read_seqbegin_or_lock()
534 static inline int need_seqretry(seqlock_t *lock, int seq) in need_seqretry() argument
536 return !(seq & 1) && read_seqretry(lock, seq); in need_seqretry()
539 static inline void done_seqretry(seqlock_t *lock, int seq) in done_seqretry() argument
541 if (seq & 1) in done_seqretry()
583 read_seqbegin_or_lock_irqsave(seqlock_t *lock, int *seq) in read_seqbegin_or_lock_irqsave() argument
587 if (!(*seq & 1)) /* Even */ in read_seqbegin_or_lock_irqsave()
588 *seq = read_seqbegin(lock); in read_seqbegin_or_lock_irqsave()
596 done_seqretry_irqrestore(seqlock_t *lock, int seq, unsigned long flags) in done_seqretry_irqrestore() argument
598 if (seq & 1) in done_seqretry_irqrestore()