Searched refs:p_random_alg_context (Results 1 – 6 of 6) sorted by relevance
135 while (!p_random_alg_context->ra_seeded()) { in randomdev_wait_until_seeded()137 p_random_alg_context->ra_pre_read(); in randomdev_wait_until_seeded()175 p_random_alg_context->ra_pre_read();178 if (!p_random_alg_context->ra_seeded()) {225 error = tsleep_sbt(p_random_alg_context, PCATCH,261 p_random_alg_context->ra_pre_read();286 p_random_alg_context->ra_read(random_buf, len);292 return (p_random_alg_context->ra_seeded());319 p_random_alg_context->ra_event_processor(&event); in randomdev_accumulate()355 if (p_random_alg_context->ra_seeded()) in randomdev_poll()[all …]
87 extern const struct random_algorithm *p_random_alg_context;90 #define p_random_alg_context (&random_alg_context) macro
175 p_random_alg_context->ra_event_processor(event); in random_harvestq_fast_process_event()254 npools = howmany(p_random_alg_context->ra_poolcount, RANDOM_KTHREAD_HZ); in random_sources_feed()274 if (!p_random_alg_context->ra_seeded()) in random_sources_feed()275 npools = howmany(p_random_alg_context->ra_poolcount * in random_sources_feed()
99 const struct random_algorithm *p_random_alg_context; variable
119 p_random_alg_context = &random_alg_context; in random_other_init_alg()
285 p_random_alg_context = &random_alg_context; in random_fortuna_init_alg()