Home
last modified time | relevance | path

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

/freebsd-14.2/sys/dev/random/
H A Drandomdev.c135 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 …]
H A Drandomdev.h87 extern const struct random_algorithm *p_random_alg_context;
90 #define p_random_alg_context (&random_alg_context) macro
H A Drandom_harvestq.c175 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()
H A Drandom_infra.c99 const struct random_algorithm *p_random_alg_context; variable
H A Dother_algorithm.c119 p_random_alg_context = &random_alg_context; in random_other_init_alg()
H A Dfortuna.c285 p_random_alg_context = &random_alg_context; in random_fortuna_init_alg()