fast_pool 665 drivers/char/random.c static void fast_mix(struct fast_pool *f) fast_pool 1270 drivers/char/random.c static DEFINE_PER_CPU(struct fast_pool, irq_randomness); fast_pool 1293 drivers/char/random.c static __u32 get_reg(struct fast_pool *f, struct pt_regs *regs) fast_pool 1311 drivers/char/random.c struct fast_pool *fast_pool = this_cpu_ptr(&irq_randomness); fast_pool 1321 drivers/char/random.c cycles = get_reg(fast_pool, regs); fast_pool 1324 drivers/char/random.c fast_pool->pool[0] ^= cycles ^ j_high ^ irq; fast_pool 1325 drivers/char/random.c fast_pool->pool[1] ^= now ^ c_high; fast_pool 1327 drivers/char/random.c fast_pool->pool[2] ^= ip; fast_pool 1328 drivers/char/random.c fast_pool->pool[3] ^= (sizeof(ip) > 4) ? ip >> 32 : fast_pool 1329 drivers/char/random.c get_reg(fast_pool, regs); fast_pool 1331 drivers/char/random.c fast_mix(fast_pool); fast_pool 1335 drivers/char/random.c if ((fast_pool->count >= 64) && fast_pool 1336 drivers/char/random.c crng_fast_load((char *) fast_pool->pool, fast_pool 1337 drivers/char/random.c sizeof(fast_pool->pool))) { fast_pool 1338 drivers/char/random.c fast_pool->count = 0; fast_pool 1339 drivers/char/random.c fast_pool->last = now; fast_pool 1344 drivers/char/random.c if ((fast_pool->count < 64) && fast_pool 1345 drivers/char/random.c !time_after(now, fast_pool->last + HZ)) fast_pool 1352 drivers/char/random.c fast_pool->last = now; fast_pool 1353 drivers/char/random.c __mix_pool_bytes(r, &fast_pool->pool, sizeof(fast_pool->pool)); fast_pool 1367 drivers/char/random.c fast_pool->count = 0;