Home
last modified time | relevance | path

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

/freebsd-13.1/sys/dev/random/
H A Drandomdev.c137 while (!p_random_alg_context->ra_seeded()) { in randomdev_wait_until_seeded()
139 p_random_alg_context->ra_pre_read(); in randomdev_wait_until_seeded()
177 p_random_alg_context->ra_pre_read();
180 if (!p_random_alg_context->ra_seeded()) {
227 error = tsleep_sbt(p_random_alg_context, PCATCH,
263 p_random_alg_context->ra_pre_read();
288 p_random_alg_context->ra_read(random_buf, len);
294 return (p_random_alg_context->ra_seeded());
321 p_random_alg_context->ra_event_processor(&event); in randomdev_accumulate()
357 if (p_random_alg_context->ra_seeded()) in randomdev_poll()
[all …]
H A Drandomdev.h89 extern const struct random_algorithm *p_random_alg_context;
92 #define p_random_alg_context (&random_alg_context) macro
H A Drandom_infra.c101 const struct random_algorithm *p_random_alg_context; variable
H A Dother_algorithm.c121 p_random_alg_context = &random_alg_context; in random_other_init_alg()
H A Drandom_harvestq.c176 p_random_alg_context->ra_event_processor(event); in random_harvestq_fast_process_event()
255 npools = howmany(p_random_alg_context->ra_poolcount, RANDOM_KTHREAD_HZ); in random_sources_feed()
H A Dfortuna.c289 p_random_alg_context = &random_alg_context; in random_fortuna_init_alg()