Lines Matching defs:input_pool
641 } input_pool = {
646 .lock = __SPIN_LOCK_UNLOCKED(input_pool.lock),
651 blake2s_update(&input_pool.hash, buf, len);
663 spin_lock_irqsave(&input_pool.lock, flags);
665 spin_unlock_irqrestore(&input_pool.lock, flags);
696 spin_lock_irqsave(&input_pool.lock, flags);
699 blake2s_final(&input_pool.hash, seed);
704 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key));
706 spin_unlock_irqrestore(&input_pool.lock, flags);
735 orig = READ_ONCE(input_pool.init_bits);
738 } while (!try_cmpxchg(&input_pool.init_bits, &orig, new));
844 spin_lock_irqsave(&input_pool.lock, flags);
848 spin_unlock_irqrestore(&input_pool.lock, flags);
946 spin_lock_irqsave(&input_pool.lock, flags);
949 spin_unlock_irqrestore(&input_pool.lock, flags);
1164 spin_lock_irqsave(&input_pool.lock, flags);
1167 spin_unlock_irqrestore(&input_pool.lock, flags);
1503 if (put_user(input_pool.init_bits, p))
1678 .data = &input_pool.init_bits,