Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/random/
Drandom_harvestq.c150 } hc_entropy_ring; member
184 while (harvest_context.hc_entropy_ring.out != harvest_context.hc_entropy_ring.in) { in random_kthread()
185 ring_out = (harvest_context.hc_entropy_ring.out + 1)%RANDOM_RING_MAX; in random_kthread()
186 random_harvestq_fast_process_event(harvest_context.hc_entropy_ring.ring + ring_out); in random_kthread()
187 harvest_context.hc_entropy_ring.out = ring_out; in random_kthread()
404 harvest_context.hc_entropy_ring.in = harvest_context.hc_entropy_ring.out = 0; in random_harvestq_init()
519 ring_in = (harvest_context.hc_entropy_ring.in + 1)%RANDOM_RING_MAX; in random_harvest_queue_()
520 if (ring_in != harvest_context.hc_entropy_ring.out) { in random_harvest_queue_()
522 event = harvest_context.hc_entropy_ring.ring + ring_in; in random_harvest_queue_()
535 harvest_context.hc_entropy_ring.in = ring_in; in random_harvest_queue_()