Home
last modified time | relevance | path

Searched refs:input_pool (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/char/
Drandom.c601 } input_pool = { variable
606 .lock = __SPIN_LOCK_UNLOCKED(input_pool.lock),
611 blake2s_update(&input_pool.hash, buf, len); in _mix_pool_bytes()
623 spin_lock_irqsave(&input_pool.lock, flags); in mix_pool_bytes()
625 spin_unlock_irqrestore(&input_pool.lock, flags); in mix_pool_bytes()
656 spin_lock_irqsave(&input_pool.lock, flags); in extract_entropy()
659 blake2s_final(&input_pool.hash, seed); in extract_entropy()
664 blake2s_init_key(&input_pool.hash, BLAKE2S_HASH_SIZE, next_key, sizeof(next_key)); in extract_entropy()
666 spin_unlock_irqrestore(&input_pool.lock, flags); in extract_entropy()
695 orig = READ_ONCE(input_pool.init_bits); in _credit_init_bits()
[all …]
/linux-6.1.9/sound/core/seq/
Dseq_clientmgr.c1846 info->input_pool = cptr->data.user.fifo_pool_size; in snd_seq_ioctl_get_client_pool()
1847 info->input_free = info->input_pool; in snd_seq_ioctl_get_client_pool()
1850 info->input_pool = 0; in snd_seq_ioctl_get_client_pool()
1885 info->input_pool >= 1 && in snd_seq_ioctl_set_client_pool()
1886 info->input_pool <= SNDRV_SEQ_MAX_CLIENT_EVENTS && in snd_seq_ioctl_set_client_pool()
1887 info->input_pool != client->data.user.fifo_pool_size) { in snd_seq_ioctl_set_client_pool()
1889 rc = snd_seq_fifo_resize(client->data.user.fifo, info->input_pool); in snd_seq_ioctl_set_client_pool()
1892 client->data.user.fifo_pool_size = info->input_pool; in snd_seq_ioctl_set_client_pool()
/linux-6.1.9/include/uapi/sound/
Dasequencer.h355 int input_pool; /* incoming (read) pool size */ member