Searched refs:buffer_mutex (Results 1 – 12 of 12) sorted by relevance
62 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 …]
12 struct mutex buffer_mutex; member
27 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()
122 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()
38 extern struct mutex buffer_mutex;
206 struct mutex buffer_mutex; /* SPI buffer mutex */ member231 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 …]
216 struct mutex buffer_mutex; member
1708 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()
1536 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()
972 mutex_init(&runtime->buffer_mutex); in snd_pcm_attach_substream()1007 mutex_destroy(&runtime->buffer_mutex); in snd_pcm_detach_substream()
677 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()
401 struct mutex buffer_mutex; /* protect for buffer changes */ member