Lines Matching refs:channel_wqs
26 struct chan_waitqueues channel_wqs[RTLX_CHANNELS]; variable
78 wake_up_interruptible(&channel_wqs[i].lx_queue); in rtlx_starting()
87 wake_up_interruptible(&channel_wqs[i].lx_queue); in rtlx_stopping()
103 if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { in rtlx_open()
114 channel_wqs[index].lx_queue, in rtlx_open()
132 &channel_wqs[index].lx_queue, in rtlx_open()
144 finish_wait(&channel_wqs[index].lx_queue, in rtlx_open()
175 atomic_dec(&channel_wqs[index].in_open); in rtlx_open()
205 channel_wqs[index].lx_queue, in rtlx_read_poll()
253 mutex_lock(&channel_wqs[index].mutex); in rtlx_read()
279 mutex_unlock(&channel_wqs[index].mutex); in rtlx_read()
296 mutex_lock(&channel_wqs[index].mutex); in rtlx_write()
321 mutex_unlock(&channel_wqs[index].mutex); in rtlx_write()
344 poll_wait(file, &channel_wqs[minor].rt_queue, wait); in file_poll()
345 poll_wait(file, &channel_wqs[minor].lx_queue, wait); in file_poll()
385 ret = __wait_event_interruptible(channel_wqs[minor].rt_queue, in file_write()