Searched refs:input_pool (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/char/ |
H A D | random.c | 641 } input_pool = { variable 646 .lock = __SPIN_LOCK_UNLOCKED(input_pool.lock), 651 blake2s_update(&input_pool.hash, buf, len); in _mix_pool_bytes() 663 spin_lock_irqsave(&input_pool.lock, flags); in mix_pool_bytes() 665 spin_unlock_irqrestore(&input_pool.lock, flags); in mix_pool_bytes() 696 spin_lock_irqsave(&input_pool.lock, flags); in extract_entropy() 699 blake2s_final(&input_pool.hash, seed); in extract_entropy() 704 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key)); in extract_entropy() 706 spin_unlock_irqrestore(&input_pool.lock, flags); in extract_entropy() 735 orig = READ_ONCE(input_pool.init_bits); in _credit_init_bits() [all …]
|
/linux/sound/core/seq/ |
H A D | seq_clientmgr.c | 1871 info->input_pool = cptr->data.user.fifo_pool_size; in snd_seq_ioctl_get_client_pool() 1872 info->input_free = info->input_pool; in snd_seq_ioctl_get_client_pool() 1875 info->input_pool = 0; in snd_seq_ioctl_get_client_pool() 1910 info->input_pool >= 1 && in snd_seq_ioctl_set_client_pool() 1911 info->input_pool <= SNDRV_SEQ_MAX_CLIENT_EVENTS && in snd_seq_ioctl_set_client_pool() 1912 info->input_pool != client->data.user.fifo_pool_size) { in snd_seq_ioctl_set_client_pool() 1914 rc = snd_seq_fifo_resize(client->data.user.fifo, info->input_pool); in snd_seq_ioctl_set_client_pool() 1917 client->data.user.fifo_pool_size = info->input_pool; in snd_seq_ioctl_set_client_pool()
|
/linux/include/uapi/sound/ |
H A D | asequencer.h | 381 int input_pool; /* incoming (read) pool size */ member
|