Lines Matching refs:input_pool
620 } input_pool = { variable
625 .lock = __SPIN_LOCK_UNLOCKED(input_pool.lock),
630 blake2s_update(&input_pool.hash, buf, len); in _mix_pool_bytes()
642 spin_lock_irqsave(&input_pool.lock, flags); in mix_pool_bytes()
644 spin_unlock_irqrestore(&input_pool.lock, flags); in mix_pool_bytes()
675 spin_lock_irqsave(&input_pool.lock, flags); in extract_entropy()
678 blake2s_final(&input_pool.hash, seed); in extract_entropy()
683 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key)); in extract_entropy()
685 spin_unlock_irqrestore(&input_pool.lock, flags); in extract_entropy()
714 orig = READ_ONCE(input_pool.init_bits); in _credit_init_bits()
717 } while (!try_cmpxchg(&input_pool.init_bits, &orig, new)); in _credit_init_bits()
820 spin_lock_irqsave(&input_pool.lock, flags); in random_pm_notification()
824 spin_unlock_irqrestore(&input_pool.lock, flags); in random_pm_notification()
922 spin_lock_irqsave(&input_pool.lock, flags); in add_device_randomness()
925 spin_unlock_irqrestore(&input_pool.lock, flags); in add_device_randomness()
1140 spin_lock_irqsave(&input_pool.lock, flags); in add_timer_randomness()
1143 spin_unlock_irqrestore(&input_pool.lock, flags); in add_timer_randomness()
1480 if (put_user(input_pool.init_bits, p)) in random_ioctl()
1656 .data = &input_pool.init_bits,