Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/
Drandom.c90 #define crng_ready() (static_branch_likely(&crng_is_ready) || crng_init >= CRNG_READY) macro
115 return crng_ready(); in rng_is_initialized()
139 while (!crng_ready()) { in wait_for_random_bytes()
143 ret = wait_event_interruptible_timeout(crng_init_wait, crng_ready(), HZ); in wait_for_random_bytes()
163 if (crng_ready()) in execute_with_initialized_rng()
172 if (IS_ENABLED(CONFIG_WARN_ALL_UNSEEDED_RANDOM) && !crng_ready()) \
352 if (!crng_ready()) { in crng_make_state()
356 ready = crng_ready(); in crng_make_state()
527 if (!crng_ready()) { \
722 #define credit_init_bits(bits) if (!crng_ready()) _credit_init_bits(bits)
[all …]