Searched refs:fast_pool (Results 1 – 1 of 1) sorted by relevance
653 struct fast_pool { struct665 static void fast_mix(struct fast_pool *f) in fast_mix() argument1270 static DEFINE_PER_CPU(struct fast_pool, irq_randomness);1293 static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs) in get_reg()1311 struct fast_pool *fast_pool = this_cpu_ptr(&irq_randomness); in add_interrupt_randomness() local1321 cycles = get_reg(fast_pool, regs); in add_interrupt_randomness()1324 fast_pool->pool[0] ^= cycles ^ j_high ^ irq; in add_interrupt_randomness()1325 fast_pool->pool[1] ^= now ^ c_high; in add_interrupt_randomness()1327 fast_pool->pool[2] ^= ip; in add_interrupt_randomness()1328 fast_pool->pool[3] ^= (sizeof(ip) > 4) ? ip >> 32 : in add_interrupt_randomness()[all …]