Home | History | Annotate | Download | only in linux

Lines Matching defs:gen

84 	unsigned gen;
86 while (__predict_false((gen = seqcount->sqc_gen) & 1))
90 return gen;
94 __read_seqcount_retry(const struct seqcount *seqcount, unsigned gen)
98 return __predict_false(seqcount->sqc_gen != gen);
104 unsigned gen;
106 gen = __read_seqcount_begin(seqcount);
109 return gen;
113 read_seqcount_retry(const struct seqcount *seqcount, unsigned gen)
117 return __read_seqcount_retry(seqcount, gen);
123 unsigned gen;
125 gen = seqcount->sqc_gen;
128 return gen;
188 read_seqretry(const struct seqlock *seqlock, unsigned gen)
191 return read_seqcount_retry(&seqlock->sql_count, gen);