Home
last modified time | relevance | path

Searched refs:buffer_mutex (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/char/tpm/
Dtpm-dev-common.c62 mutex_lock(&priv->buffer_mutex); in tpm_dev_async_work()
78 mutex_unlock(&priv->buffer_mutex); in tpm_dev_async_work()
97 mutex_lock(&priv->buffer_mutex); in tpm_timeout_work()
101 mutex_unlock(&priv->buffer_mutex); in tpm_timeout_work()
112 mutex_init(&priv->buffer_mutex); in tpm_common_open()
127 mutex_lock(&priv->buffer_mutex); in tpm_common_read()
156 mutex_unlock(&priv->buffer_mutex); in tpm_common_read()
169 mutex_lock(&priv->buffer_mutex); in tpm_common_write()
205 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
228 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
[all …]
Dtpm-dev.h12 struct mutex buffer_mutex; member
/kernel/linux/linux-5.10/drivers/oprofile/
Devent_buffer.c27 DEFINE_MUTEX(buffer_mutex);
74 mutex_lock(&buffer_mutex); in wake_up_buffer_waiter()
77 mutex_unlock(&buffer_mutex); in wake_up_buffer_waiter()
104 mutex_lock(&buffer_mutex); in free_event_buffer()
108 mutex_unlock(&buffer_mutex); in free_event_buffer()
179 mutex_lock(&buffer_mutex); in event_buffer_read()
200 mutex_unlock(&buffer_mutex); in event_buffer_read()
Dbuffer_sync.c122 mutex_lock(&buffer_mutex); in module_load_notify()
125 mutex_unlock(&buffer_mutex); in module_load_notify()
508 mutex_lock(&buffer_mutex); in sync_buffer()
566 mutex_unlock(&buffer_mutex); in sync_buffer()
581 mutex_lock(&buffer_mutex); in oprofile_put_buff()
589 mutex_unlock(&buffer_mutex); in oprofile_put_buff()
Devent_buffer.h38 extern struct mutex buffer_mutex;
/kernel/linux/linux-5.10/drivers/net/ieee802154/
Dcc2520.c206 struct mutex buffer_mutex; /* SPI buffer mutex */ member
231 mutex_lock(&priv->buffer_mutex); in cc2520_cmd_strobe()
240 mutex_unlock(&priv->buffer_mutex); in cc2520_cmd_strobe()
259 mutex_lock(&priv->buffer_mutex); in cc2520_get_status()
269 mutex_unlock(&priv->buffer_mutex); in cc2520_get_status()
288 mutex_lock(&priv->buffer_mutex); in cc2520_write_register()
302 mutex_unlock(&priv->buffer_mutex); in cc2520_write_register()
323 mutex_lock(&priv->buffer_mutex); in cc2520_write_ram()
337 mutex_unlock(&priv->buffer_mutex); in cc2520_write_ram()
361 mutex_lock(&priv->buffer_mutex); in cc2520_read_register()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-bit.c1702 mutex_lock(&ctx->buffer_mutex); in coda_seq_end_work()
1731 mutex_unlock(&ctx->buffer_mutex); in coda_seq_end_work()
1736 mutex_lock(&ctx->buffer_mutex); in coda_bit_release()
1740 mutex_unlock(&ctx->buffer_mutex); in coda_bit_release()
2010 mutex_lock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
2024 mutex_unlock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
Dcoda.h216 struct mutex buffer_mutex; member
Dcoda-common.c1527 mutex_lock(&ctx->buffer_mutex); in coda_pic_run_work()
1533 mutex_unlock(&ctx->buffer_mutex); in coda_pic_run_work()
1559 mutex_unlock(&ctx->buffer_mutex); in coda_pic_run_work()
2681 mutex_init(&ctx->buffer_mutex); in coda_open()
/kernel/linux/linux-5.10/sound/core/
Dpcm_native.c687 mutex_lock(&runtime->buffer_mutex); in snd_pcm_hw_params()
804 mutex_unlock(&runtime->buffer_mutex); in snd_pcm_hw_params()
849 mutex_lock(&runtime->buffer_mutex); in snd_pcm_hw_free()
868 mutex_unlock(&runtime->buffer_mutex); in snd_pcm_hw_free()
1183 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group()
1216 mutex_unlock(&s1->runtime->buffer_mutex); in snd_pcm_action_group()
1353 mutex_lock(&substream->runtime->buffer_mutex); in snd_pcm_action_nonatomic()
1358 mutex_unlock(&substream->runtime->buffer_mutex); in snd_pcm_action_nonatomic()
Dpcm_lib.c1874 mutex_unlock(&runtime->buffer_mutex); in wait_for_avail()
1878 mutex_lock(&runtime->buffer_mutex); in wait_for_avail()
2172 mutex_lock(&runtime->buffer_mutex); in __snd_pcm_lib_xfer()
2260 mutex_unlock(&runtime->buffer_mutex); in __snd_pcm_lib_xfer()
Dpcm.c972 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()
1006 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
/kernel/linux/linux-5.10/include/sound/
Dpcm.h401 struct mutex buffer_mutex; /* protect for buffer changes */ member