Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/char/
Drandom.c83 #define crng_ready() (static_branch_likely(&crng_is_ready) || crng_init >= CRNG_READY) macro
107 return crng_ready(); in rng_is_initialized()
131 while (!crng_ready()) { in wait_for_random_bytes()
135 ret = wait_event_interruptible_timeout(crng_init_wait, crng_ready(), HZ); in wait_for_random_bytes()
144 if (IS_ENABLED(CONFIG_WARN_ALL_UNSEEDED_RANDOM) && !crng_ready()) \
305 if (!crng_ready()) { in crng_make_state()
309 ready = crng_ready(); in crng_make_state()
487 if (!crng_ready()) { \
682 #define credit_init_bits(bits) if (!crng_ready()) _credit_init_bits(bits)
806 if (crng_ready() && (action == PM_RESTORE_PREPARE || in random_pm_notification()
[all …]