Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/
Drandom.c253 unsigned long next_gen; in crng_reseed() local
270 next_gen = base_crng.generation + 1; in crng_reseed()
271 if (next_gen == ULONG_MAX) in crng_reseed()
272 ++next_gen; in crng_reseed()
273 WRITE_ONCE(base_crng.generation, next_gen); in crng_reseed()
502 unsigned long next_gen; \
514 next_gen = READ_ONCE(base_crng.generation); \
516 next_gen != batch->generation) { \
519 batch->generation = next_gen; \