Lines Matching refs:crng_ready
85 #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)
826 if (crng_ready() && (action == PM_RESTORE_PREPARE || in random_pm_notification()
872 if (crng_ready()) in random_init_early()
900 if (crng_ready()) in random_init()
943 if (sleep_after && !kthread_should_stop() && (crng_ready() || !entropy)) in add_hwgenerator_randomness()
970 if (crng_ready()) { in add_vmfork_randomness()
1146 if (crng_ready()) in add_timer_randomness()
1287 while (!crng_ready() && !signal_pending(current)) { in try_to_generate_entropy()
1380 if (!crng_ready() && !(flags & GRND_INSECURE)) { in SYSCALL_DEFINE3()
1397 return crng_ready() ? EPOLLIN | EPOLLRDNORM : EPOLLOUT | EPOLLWRNORM; in random_poll()
1441 if (!crng_ready()) in urandom_read_iter()
1444 if (!crng_ready()) { in urandom_read_iter()
1461 if (!crng_ready() && in random_read_iter()
1527 if (!crng_ready()) in random_ioctl()