Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/char/
Drandom.c247 unsigned long next_gen; in crng_reseed() local
260 next_gen = base_crng.generation + 1; in crng_reseed()
261 if (next_gen == ULONG_MAX) in crng_reseed()
262 ++next_gen; in crng_reseed()
263 WRITE_ONCE(base_crng.generation, next_gen); in crng_reseed()
525 unsigned long next_gen; \
537 next_gen = READ_ONCE(base_crng.generation); \
539 next_gen != batch->generation) { \
542 batch->generation = next_gen; \