Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/char/
Drandom.c1017 struct fast_pool { struct
1026 static DEFINE_PER_CPU(struct fast_pool, irq_randomness) = { argument
1078 struct fast_pool *fast_pool = container_of(work, struct fast_pool, mix); in mix_interrupt_randomness() local
1091 if (fast_pool != this_cpu_ptr(&irq_randomness)) { in mix_interrupt_randomness()
1100 memcpy(pool, fast_pool->pool, sizeof(pool)); in mix_interrupt_randomness()
1101 count = fast_pool->count; in mix_interrupt_randomness()
1102 fast_pool->count = 0; in mix_interrupt_randomness()
1103 fast_pool->last = jiffies; in mix_interrupt_randomness()
1116 struct fast_pool *fast_pool = this_cpu_ptr(&irq_randomness); in add_interrupt_randomness() local
1120 fast_mix(fast_pool->pool, entropy, in add_interrupt_randomness()
[all …]