Searched refs:p_random_alg_context (Results 1 – 6 of 6) sorted by relevance
134 while (!p_random_alg_context->ra_seeded()) { in randomdev_wait_until_seeded()136 p_random_alg_context->ra_pre_read(); in randomdev_wait_until_seeded()141 error = tsleep(p_random_alg_context, slpflags, "randseed", in randomdev_wait_until_seeded()174 p_random_alg_context->ra_pre_read();177 if (!p_random_alg_context->ra_seeded()) {209 p_random_alg_context->ra_read(random_buf, read_len);224 error = tsleep_sbt(p_random_alg_context, PCATCH,260 p_random_alg_context->ra_pre_read();266 if (__predict_false(!p_random_alg_context->ra_seeded())) {285 p_random_alg_context->ra_read(random_buf, len);[all …]
89 extern const struct random_algorithm *p_random_alg_context;92 #define p_random_alg_context (&random_alg_context) macro
98 const struct random_algorithm *p_random_alg_context; variable
119 p_random_alg_context = &random_alg_context; in random_other_init_alg()
167 p_random_alg_context->ra_event_processor(event); in random_harvestq_fast_process_event()251 npools = howmany(p_random_alg_context->ra_poolcount, RANDOM_KTHREAD_HZ); in random_sources_feed()271 if (!p_random_alg_context->ra_seeded()) in random_sources_feed()272 npools = howmany(p_random_alg_context->ra_poolcount * in random_sources_feed()
284 p_random_alg_context = &random_alg_context; in random_fortuna_init_alg()