Lines Matching defs:seqcount
42 struct seqcount {
45 typedef struct seqcount seqcount_t;
49 struct seqcount seql_count;
60 __seqcount_init(struct seqcount *seqcount, const char *name __unused,
63 seqcount->seqc = 0;
65 #define seqcount_init(seqcount) __seqcount_init(seqcount, NULL, NULL)
68 seqcount_mutex_init(struct seqcount_mutex *seqcount, void *mutex __unused)
70 seqcount->seqc = 0;
73 #define seqcount_ww_mutex_init(seqcount, ww_mutex) \
74 seqcount_mutex_init((seqcount), (ww_mutex))
78 struct seqcount: seqc_sleepable_write_begin, \
84 struct seqcount: seqc_sleepable_write_end, \
109 #define __read_seqcount_retry(seqcount, gen) \
110 (!seqc_consistent_no_fence(&(seqcount)->seqc, gen))
111 #define read_seqcount_retry(seqcount, gen) \
112 (!seqc_consistent(&(seqcount)->seqc, gen))