Lines Matching refs:seqcount
106 * @seqcount: The real sequence counter
126 seqcount_init(&____s->seqcount); \
148 return &s->seqcount; \
154 return &s->seqcount; \
160 unsigned seq = READ_ONCE(s->seqcount.sequence); \
173 seq = READ_ONCE(s->seqcount.sequence); \
239 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
479 * only if the seqcount write serialization lock is associated, and
503 * the seqcount write serialization lock is associated, and preemptible.
602 seqcount_t seqcount;
610 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
617 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount)
636 return READ_ONCE(s->seqcount.sequence);
650 return unlikely(READ_ONCE(s->seqcount.sequence) != start);
685 * smp_wmb(); // Ensure that the seqcount update is visible
691 * smp_wmb(); // Ensure that the seqcount update is visible
737 s->seqcount.sequence++;
743 .seqcount = SEQCNT_SPINLOCK_ZERO(lockname, &(lockname).lock), \
754 seqcount_spinlock_init(&(sl)->seqcount, &(sl)->lock); \
772 unsigned ret = read_seqcount_begin(&sl->seqcount);
798 return read_seqcount_retry(&sl->seqcount, start);
823 do_write_seqcount_begin(&sl->seqcount.seqcount);
835 do_write_seqcount_end(&sl->seqcount.seqcount);
849 do_write_seqcount_begin(&sl->seqcount.seqcount);
862 do_write_seqcount_end(&sl->seqcount.seqcount);
876 do_write_seqcount_begin(&sl->seqcount.seqcount);
888 do_write_seqcount_end(&sl->seqcount.seqcount);
897 do_write_seqcount_begin(&sl->seqcount.seqcount);
926 do_write_seqcount_end(&sl->seqcount.seqcount);