Lines Matching refs:seqcount
39 struct seqcount { struct
42 typedef struct seqcount seqcount_t; argument
46 struct seqcount seql_count;
51 __seqcount_init(struct seqcount *seqcount, const char *name __unused, in __seqcount_init() argument
54 seqcount->seqc = 0; in __seqcount_init()
56 #define seqcount_init(seqcount) __seqcount_init(seqcount, NULL, NULL) argument
59 write_seqcount_begin(struct seqcount *seqcount) in write_seqcount_begin() argument
61 seqc_sleepable_write_begin(&seqcount->seqc); in write_seqcount_begin()
65 write_seqcount_end(struct seqcount *seqcount) in write_seqcount_end() argument
67 seqc_sleepable_write_end(&seqcount->seqc); in write_seqcount_end()
73 #define __read_seqcount_retry(seqcount, gen) \ argument
74 (!seqc_consistent_nomb(&(seqcount)->seqc, gen))
75 #define read_seqcount_retry(seqcount, gen) \ argument
76 (!seqc_consistent(&(seqcount)->seqc, gen))
79 read_seqcount_begin(const struct seqcount *seqcount) in read_seqcount_begin() argument
81 return (seqc_read(&seqcount->seqc)); in read_seqcount_begin()
85 raw_read_seqcount(const struct seqcount *seqcount) in raw_read_seqcount() argument
87 return (seqc_read_any(&seqcount->seqc)); in raw_read_seqcount()