Lines Matching refs:channel_wqs
24 struct chan_waitqueues channel_wqs[RTLX_CHANNELS]; variable
76 wake_up_interruptible(&channel_wqs[i].lx_queue); in rtlx_starting()
85 wake_up_interruptible(&channel_wqs[i].lx_queue); in rtlx_stopping()
101 if (atomic_inc_return(&channel_wqs[index].in_open) > 1) { in rtlx_open()
112 channel_wqs[index].lx_queue, in rtlx_open()
130 &channel_wqs[index].lx_queue, in rtlx_open()
142 finish_wait(&channel_wqs[index].lx_queue, in rtlx_open()
173 atomic_dec(&channel_wqs[index].in_open); in rtlx_open()
203 channel_wqs[index].lx_queue, in rtlx_read_poll()
251 mutex_lock(&channel_wqs[index].mutex); in rtlx_read()
277 mutex_unlock(&channel_wqs[index].mutex); in rtlx_read()
294 mutex_lock(&channel_wqs[index].mutex); in rtlx_write()
319 mutex_unlock(&channel_wqs[index].mutex); in rtlx_write()
342 poll_wait(file, &channel_wqs[minor].rt_queue, wait); in file_poll()
343 poll_wait(file, &channel_wqs[minor].lx_queue, wait); in file_poll()
383 ret = __wait_event_interruptible(channel_wqs[minor].rt_queue, in file_write()