Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/
Drandom.c85 #define crng_ready() (static_branch_likely(&crng_is_ready) || crng_init >= CRNG_READY) macro
110 return crng_ready(); in rng_is_initialized()
134 while (!crng_ready()) { in wait_for_random_bytes()
138 ret = wait_event_interruptible_timeout(crng_init_wait, crng_ready(), HZ); in wait_for_random_bytes()
158 if (crng_ready()) in execute_with_initialized_rng()
167 if (IS_ENABLED(CONFIG_WARN_ALL_UNSEEDED_RANDOM) && !crng_ready()) \
331 if (!crng_ready()) { in crng_make_state()
335 ready = crng_ready(); in crng_make_state()
506 if (!crng_ready()) { \
701 #define credit_init_bits(bits) if (!crng_ready()) _credit_init_bits(bits)
[all …]