Lines Matching refs:p_random_alg_context
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()
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);
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()
369 wakeup(p_random_alg_context); in randomdev_unblock()