Home
last modified time | relevance | path

Searched refs:next_gen (Results 1 – 1 of 1) sorted by relevance

/linux-4.19.296/drivers/char/
Drandom.c245 unsigned long next_gen; in crng_reseed() local
258 next_gen = base_crng.generation + 1; in crng_reseed()
259 if (next_gen == ULONG_MAX) in crng_reseed()
260 ++next_gen; in crng_reseed()
261 WRITE_ONCE(base_crng.generation, next_gen); in crng_reseed()
521 unsigned long next_gen; \
533 next_gen = READ_ONCE(base_crng.generation); \
535 next_gen != batch->generation) { \
538 batch->generation = next_gen; \