Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/char/
Drandom.c602 struct fast_pool { struct
614 static void fast_mix(struct fast_pool *f) in fast_mix() argument
1217 static DEFINE_PER_CPU(struct fast_pool, irq_randomness);
1240 static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs) in get_reg()
1258 struct fast_pool *fast_pool = this_cpu_ptr(&irq_randomness); in add_interrupt_randomness() local
1268 cycles = get_reg(fast_pool, regs); in add_interrupt_randomness()
1271 fast_pool->pool[0] ^= cycles ^ j_high ^ irq; in add_interrupt_randomness()
1272 fast_pool->pool[1] ^= now ^ c_high; in add_interrupt_randomness()
1274 fast_pool->pool[2] ^= ip; in add_interrupt_randomness()
1275 fast_pool->pool[3] ^= (sizeof(ip) > 4) ? ip >> 32 : in add_interrupt_randomness()
[all …]