Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/char/
Drandom.c620 } 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()
[all …]
/linux-6.6.21/sound/core/seq/
Dseq_clientmgr.c1863 info->input_pool = cptr->data.user.fifo_pool_size; in snd_seq_ioctl_get_client_pool()
1864 info->input_free = info->input_pool; in snd_seq_ioctl_get_client_pool()
1867 info->input_pool = 0; in snd_seq_ioctl_get_client_pool()
1902 info->input_pool >= 1 && in snd_seq_ioctl_set_client_pool()
1903 info->input_pool <= SNDRV_SEQ_MAX_CLIENT_EVENTS && in snd_seq_ioctl_set_client_pool()
1904 info->input_pool != client->data.user.fifo_pool_size) { in snd_seq_ioctl_set_client_pool()
1906 rc = snd_seq_fifo_resize(client->data.user.fifo, info->input_pool); in snd_seq_ioctl_set_client_pool()
1909 client->data.user.fifo_pool_size = info->input_pool; in snd_seq_ioctl_set_client_pool()
/linux-6.6.21/include/uapi/sound/
Dasequencer.h381 int input_pool; /* incoming (read) pool size */ member