Searched refs:rd_mutex (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/drivers/char/xillybus/
H A Dxillybus_core.c78 * If both locks are taken, wr_mutex is taken first, rd_mutex second.
90 * register operations are performed. wr_mutex and rd_mutex may be
101 * wr_mutex -> rd_mutex -> register_mutex -> wr_spinlock -> rd_spinlock
470 mutex_init(&channel->rd_mutex); xilly_setupchannels()
1006 rc = mutex_lock_interruptible(&channel->rd_mutex); xillybus_myflush()
1149 mutex_unlock(&channel->rd_mutex); xillybus_myflush()
1199 rc = mutex_lock_interruptible(&channel->rd_mutex); xillybus_write()
1338 mutex_unlock(&channel->rd_mutex); xillybus_write()
1375 mutex_unlock(&channel->rd_mutex); xillybus_write()
1386 mutex_unlock(&channel->rd_mutex); xillybus_write()
1484 rc = mutex_lock_interruptible(&channel->rd_mutex); xillybus_open()
1551 mutex_unlock(&channel->rd_mutex); xillybus_open()
1574 mutex_lock(&channel->rd_mutex); xillybus_release()
1589 mutex_unlock(&channel->rd_mutex); xillybus_release()
1680 mutex_lock(&channel->rd_mutex); xillybus_llseek()
1715 mutex_unlock(&channel->rd_mutex); xillybus_llseek()
H A Dxillybus.h81 struct mutex rd_mutex; member in struct:xilly_channel

Completed in 59 milliseconds