Searched refs:buffer_mutex (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/char/tpm/
H A Dtpm-dev.c29 struct mutex buffer_mutex; member in struct:file_priv
48 mutex_lock(&priv->buffer_mutex); timeout_work()
51 mutex_unlock(&priv->buffer_mutex); timeout_work()
76 mutex_init(&priv->buffer_mutex); tpm_open()
101 mutex_lock(&priv->buffer_mutex); tpm_read()
107 mutex_unlock(&priv->buffer_mutex); tpm_read()
132 mutex_lock(&priv->buffer_mutex); tpm_write()
136 mutex_unlock(&priv->buffer_mutex); tpm_write()
144 mutex_unlock(&priv->buffer_mutex); tpm_write()
149 mutex_unlock(&priv->buffer_mutex); tpm_write()
/linux-4.4.14/drivers/oprofile/
H A Devent_buffer.c27 DEFINE_MUTEX(buffer_mutex); variable
35 /* atomic_t because wait_event checks it outside of buffer_mutex */
41 * the event_buffer this function may only be called when buffer_mutex
74 mutex_lock(&buffer_mutex); wake_up_buffer_waiter()
77 mutex_unlock(&buffer_mutex); wake_up_buffer_waiter()
104 mutex_lock(&buffer_mutex); free_event_buffer()
108 mutex_unlock(&buffer_mutex); free_event_buffer()
179 mutex_lock(&buffer_mutex); event_buffer_read()
200 mutex_unlock(&buffer_mutex); event_buffer_read()
H A Devent_buffer.h38 extern struct mutex buffer_mutex;
H A Dbuffer_sync.c120 mutex_lock(&buffer_mutex); module_load_notify()
123 mutex_unlock(&buffer_mutex); module_load_notify()
506 mutex_lock(&buffer_mutex); sync_buffer()
564 mutex_unlock(&buffer_mutex); sync_buffer()
579 mutex_lock(&buffer_mutex); oprofile_put_buff()
587 mutex_unlock(&buffer_mutex); oprofile_put_buff()
/linux-4.4.14/drivers/net/ieee802154/
H A Dcc2520.c197 struct mutex buffer_mutex; /* SPI buffer mutex */ member in struct:cc2520_private
222 mutex_lock(&priv->buffer_mutex); cc2520_cmd_strobe()
233 mutex_unlock(&priv->buffer_mutex); cc2520_cmd_strobe()
252 mutex_lock(&priv->buffer_mutex); cc2520_get_status()
262 mutex_unlock(&priv->buffer_mutex); cc2520_get_status()
281 mutex_lock(&priv->buffer_mutex); cc2520_write_register()
295 mutex_unlock(&priv->buffer_mutex); cc2520_write_register()
316 mutex_lock(&priv->buffer_mutex); cc2520_write_ram()
330 mutex_unlock(&priv->buffer_mutex); cc2520_write_ram()
354 mutex_lock(&priv->buffer_mutex); cc2520_read_register()
364 mutex_unlock(&priv->buffer_mutex); cc2520_read_register()
400 mutex_lock(&priv->buffer_mutex); cc2520_write_txfifo()
411 mutex_unlock(&priv->buffer_mutex); cc2520_write_txfifo()
436 mutex_lock(&priv->buffer_mutex); cc2520_read_rxfifo()
451 mutex_unlock(&priv->buffer_mutex); cc2520_read_rxfifo()
1005 mutex_init(&priv->buffer_mutex); cc2520_probe()
1121 mutex_destroy(&priv->buffer_mutex); cc2520_probe()
1130 mutex_destroy(&priv->buffer_mutex); cc2520_remove()
/linux-4.4.14/drivers/media/platform/coda/
H A Dcoda.h188 struct mutex buffer_mutex; member in struct:coda_ctx
H A Dcoda-bit.c1394 mutex_lock(&ctx->buffer_mutex); coda_seq_end_work()
1425 mutex_unlock(&ctx->buffer_mutex); coda_seq_end_work()
1430 mutex_lock(&ctx->buffer_mutex); coda_bit_release()
1434 mutex_unlock(&ctx->buffer_mutex); coda_bit_release()
H A Dcoda-common.c957 mutex_lock(&ctx->buffer_mutex); coda_pic_run_work()
963 mutex_unlock(&ctx->buffer_mutex); coda_pic_run_work()
984 mutex_unlock(&ctx->buffer_mutex); coda_pic_run_work()
1750 mutex_init(&ctx->buffer_mutex); coda_open()
/linux-4.4.14/drivers/platform/x86/
H A Ddell-laptop.c310 static DEFINE_MUTEX(buffer_mutex);
319 mutex_lock(&buffer_mutex); get_buffer()
325 mutex_unlock(&buffer_mutex); release_buffer()

Completed in 611 milliseconds