Lines Matching refs:crng_ready
82 #define crng_ready() (likely(crng_init >= CRNG_READY)) macro
108 return crng_ready(); in rng_is_initialized()
127 while (!crng_ready()) { in wait_for_random_bytes()
131 ret = wait_event_interruptible_timeout(crng_init_wait, crng_ready(), HZ); in wait_for_random_bytes()
151 if (crng_ready()) in register_random_ready_notifier()
155 if (!crng_ready()) in register_random_ready_notifier()
185 if (IS_ENABLED(CONFIG_WARN_ALL_UNSEEDED_RANDOM) && !crng_ready()) \
265 if (!crng_ready()) in crng_reseed()
344 if (!crng_ready()) { in crng_make_state()
348 ready = crng_ready(); in crng_make_state()
529 if (!crng_ready()) { \
704 #define credit_init_bits(bits) if (!crng_ready()) _credit_init_bits(bits)
838 if (crng_ready()) in random_init()
880 if (!kthread_should_stop() && crng_ready()) in add_hwgenerator_randomness()
1050 if (crng_ready()) in add_timer_randomness()
1174 while (!crng_ready() && !signal_pending(current)) { in try_to_generate_entropy()
1232 if (!crng_ready() && !(flags & GRND_INSECURE)) { in SYSCALL_DEFINE3()
1249 return crng_ready() ? EPOLLIN | EPOLLRDNORM : EPOLLOUT | EPOLLWRNORM; in random_poll()
1289 if (!crng_ready()) { in urandom_read_iter()
1306 if (!crng_ready() && in random_read_iter()
1372 if (!crng_ready()) in random_ioctl()