Lines Matching refs:seqcount

64 typedef struct seqcount {  struct
178 seqcount_init(&____s->seqcount); \
200 seqcount_t seqcount; \
207 return &s->seqcount; \
213 unsigned seq = READ_ONCE(s->seqcount.sequence); \
226 seq = READ_ONCE(s->seqcount.sequence); \
286 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
648 seqcount_t seqcount; member
656 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
663 #define seqcount_latch_init(s) seqcount_init(&(s)->seqcount)
682 return READ_ONCE(s->seqcount.sequence); in raw_read_seqcount_latch()
695 return read_seqcount_retry(&s->seqcount, start); in read_seqcount_latch_retry()
782 s->seqcount.sequence++; in raw_write_seqcount_latch()
801 seqcount_spinlock_t seqcount; member
807 .seqcount = SEQCNT_SPINLOCK_ZERO(lockname, &(lockname).lock), \
818 seqcount_spinlock_init(&(sl)->seqcount, &(sl)->lock); \
836 unsigned ret = read_seqcount_begin(&sl->seqcount); in read_seqbegin()
862 return read_seqcount_retry(&sl->seqcount, start); in read_seqretry()
887 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock()
899 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock()
913 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_bh()
926 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_bh()
940 do_write_seqcount_begin(&sl->seqcount.seqcount); in write_seqlock_irq()
952 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_irq()
961 do_write_seqcount_begin(&sl->seqcount.seqcount); in __write_seqlock_irqsave()
990 do_write_seqcount_end(&sl->seqcount.seqcount); in write_sequnlock_irqrestore()