Home
last modified time | relevance | path

Searched refs:buffer_mutex (Results 1 – 12 of 12) 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()
84 mutex_unlock(&priv->buffer_mutex); in tpm_dev_async_work()
103 mutex_lock(&priv->buffer_mutex); in tpm_timeout_work()
107 mutex_unlock(&priv->buffer_mutex); in tpm_timeout_work()
118 mutex_init(&priv->buffer_mutex); in tpm_common_open()
133 mutex_lock(&priv->buffer_mutex); in tpm_common_read()
162 mutex_unlock(&priv->buffer_mutex); in tpm_common_read()
175 mutex_lock(&priv->buffer_mutex); in tpm_common_write()
211 mutex_unlock(&priv->buffer_mutex); in tpm_common_write()
234 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.h216 struct mutex buffer_mutex; member
Dcoda-bit.c1708 mutex_lock(&ctx->buffer_mutex); in coda_seq_end_work()
1737 mutex_unlock(&ctx->buffer_mutex); in coda_seq_end_work()
1742 mutex_lock(&ctx->buffer_mutex); in coda_bit_release()
1746 mutex_unlock(&ctx->buffer_mutex); in coda_bit_release()
2016 mutex_lock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
2030 mutex_unlock(&ctx->buffer_mutex); in coda_dec_seq_init_work()
Dcoda-common.c1536 mutex_lock(&ctx->buffer_mutex); in coda_pic_run_work()
1542 mutex_unlock(&ctx->buffer_mutex); in coda_pic_run_work()
1568 mutex_unlock(&ctx->buffer_mutex); in coda_pic_run_work()
2693 mutex_init(&ctx->buffer_mutex); in coda_open()
/kernel/linux/linux-5.10/sound/core/
Dpcm.c972 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()
1007 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
Dpcm_native.c677 mutex_lock(&runtime->buffer_mutex); in snd_pcm_buffer_access_lock()
684 mutex_unlock(&runtime->buffer_mutex); in snd_pcm_buffer_access_unlock()
1205 mutex_lock_nested(&s->runtime->buffer_mutex, depth); in snd_pcm_action_group()
1238 mutex_unlock(&s1->runtime->buffer_mutex); in snd_pcm_action_group()
/kernel/linux/linux-5.10/include/sound/
Dpcm.h401 struct mutex buffer_mutex; /* protect for buffer changes */ member