Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/dev/random/
HDrandomdev.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()
142 error = tsleep(p_random_alg_context, slpflags, "randseed", in randomdev_wait_until_seeded()
175 p_random_alg_context->ra_pre_read();
178 if (!p_random_alg_context->ra_seeded()) {
210 p_random_alg_context->ra_read(random_buf, read_len);
225 error = tsleep_sbt(p_random_alg_context, PCATCH,
261 p_random_alg_context->ra_pre_read();
267 if (__predict_false(!p_random_alg_context->ra_seeded())) {
286 p_random_alg_context->ra_read(random_buf, len);
[all …]
HDrandomdev.h87 extern const struct random_algorithm *p_random_alg_context;
90 #define p_random_alg_context (&random_alg_context) macro
HDrandom_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()
HDrandom_infra.c99 const struct random_algorithm *p_random_alg_context; variable
HDother_algorithm.c119 p_random_alg_context = &random_alg_context; in random_other_init_alg()
HDfortuna.c285 p_random_alg_context = &random_alg_context; in random_fortuna_init_alg()