Lines Matching refs:seqcount

65 typedef struct seqcount {  struct
179 seqcount_init(&____s->seqcount); \
202 seqcount_t seqcount; \
209 return &s->seqcount; \
215 unsigned seq = READ_ONCE(s->seqcount.sequence); \
228 seq = READ_ONCE(s->seqcount.sequence); \
289 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
647 seqcount_t seqcount; member
655 .seqcount = SEQCNT_ZERO(seq_name.seqcount), \
664 seqcount_init(&s->seqcount); in seqcount_latch_init()
684 return READ_ONCE(s->seqcount.sequence); in raw_read_seqcount_latch()
697 return read_seqcount_retry(&s->seqcount, start); in read_seqcount_latch_retry()
784 s->seqcount.sequence++; in raw_write_seqcount_latch()
803 seqcount_spinlock_t seqcount; member
809 .seqcount = SEQCNT_SPINLOCK_ZERO(lockname, &(lockname).lock), \
820 seqcount_spinlock_init(&(sl)->seqcount, &(sl)->lock); \
838 unsigned ret = read_seqcount_begin(&sl->seqcount); in read_seqbegin()
864 return read_seqcount_retry(&sl->seqcount, start); in read_seqretry()
889 write_seqcount_t_begin(&sl->seqcount.seqcount); in write_seqlock()
901 write_seqcount_t_end(&sl->seqcount.seqcount); in write_sequnlock()
915 write_seqcount_t_begin(&sl->seqcount.seqcount); in write_seqlock_bh()
928 write_seqcount_t_end(&sl->seqcount.seqcount); in write_sequnlock_bh()
942 write_seqcount_t_begin(&sl->seqcount.seqcount); in write_seqlock_irq()
954 write_seqcount_t_end(&sl->seqcount.seqcount); in write_sequnlock_irq()
963 write_seqcount_t_begin(&sl->seqcount.seqcount); in __write_seqlock_irqsave()
992 write_seqcount_t_end(&sl->seqcount.seqcount); in write_sequnlock_irqrestore()