/linux-4.4.14/fs/ |
D | eventfd.c | 27 wait_queue_head_t wqh; member 58 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal() 62 if (waitqueue_active(&ctx->wqh)) in eventfd_signal() 63 wake_up_locked_poll(&ctx->wqh, POLLIN); in eventfd_signal() 64 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal() 112 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release() 123 poll_wait(file, &ctx->wqh, wait); in eventfd_poll() 161 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue() 163 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue() 164 if (*cnt != 0 && waitqueue_active(&ctx->wqh)) in eventfd_ctx_remove_wait_queue() [all …]
|
D | timerfd.c | 36 wait_queue_head_t wqh; member 64 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_triggered() 67 wake_up_locked(&ctx->wqh); in timerfd_triggered() 68 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_triggered() 104 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set() 108 wake_up_locked(&ctx->wqh); in timerfd_clock_was_set() 110 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set() 225 poll_wait(file, &ctx->wqh, wait); in timerfd_poll() 227 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll() 230 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll() [all …]
|
D | signalfd.c | 37 wait_queue_head_t *wqh = &sighand->signalfd_wqh; in signalfd_cleanup() local 43 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup() 47 wake_up_poll(wqh, POLLHUP | POLLFREE); in signalfd_cleanup()
|
D | fs-writeback.c | 1146 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local 1148 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback() 1151 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback() 1176 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local 1179 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 1184 finish_wait(wqh, &wait); in inode_sleep_on_writeback()
|
/linux-4.4.14/mm/ |
D | backing-dev.c | 900 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_wb_congested() local 907 if (waitqueue_active(wqh)) in clear_wb_congested() 908 wake_up(wqh); in clear_wb_congested() 936 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait() local 938 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in congestion_wait() 940 finish_wait(wqh, &wait); in congestion_wait() 973 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested() local 1005 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in wait_iff_congested() 1007 finish_wait(wqh, &wait); in wait_iff_congested()
|
D | memcontrol.c | 180 wait_queue_head_t *wqh; member 3818 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove() 3869 wait_queue_head_t *wqh, poll_table *pt) in memcg_event_ptable_queue_proc() argument 3874 event->wqh = wqh; in memcg_event_ptable_queue_proc() 3875 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc()
|
/linux-4.4.14/drivers/vfio/ |
D | virqfd.c | 82 wait_queue_head_t *wqh, poll_table *pt) in virqfd_ptable_queue_proc() argument 85 add_wait_queue(wqh, &virqfd->wait); in virqfd_ptable_queue_proc()
|
/linux-4.4.14/drivers/vhost/ |
D | vhost.c | 116 static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, in vhost_poll_func() argument 122 poll->wqh = wqh; in vhost_poll_func() 123 add_wait_queue(wqh, &poll->wait); in vhost_poll_func() 156 poll->wqh = NULL; in vhost_poll_init() 169 if (poll->wqh) in vhost_poll_start() 176 if (poll->wqh) in vhost_poll_start() 177 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_start() 189 if (poll->wqh) { in vhost_poll_stop() 190 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop() 191 poll->wqh = NULL; in vhost_poll_stop()
|
D | vhost.h | 31 wait_queue_head_t *wqh; member
|
/linux-4.4.14/kernel/locking/ |
D | rtmutex_common.h | 113 struct wake_q_head *wqh);
|
D | rtmutex.c | 1374 struct wake_q_head *wqh)) in rt_mutex_fastunlock() argument 1498 struct wake_q_head *wqh) in rt_mutex_futex_unlock() argument 1504 return rt_mutex_slowunlock(lock, wqh); in rt_mutex_futex_unlock()
|
/linux-4.4.14/drivers/net/usb/ |
D | kaweth.c | 1244 wait_queue_head_t wqh; member 1256 wake_up(&awd->wqh); in usb_api_blocking_completion() 1269 init_waitqueue_head(&awd.wqh); in usb_start_wait_urb() 1280 if (!wait_event_timeout(awd.wqh, awd.done, timeout)) { in usb_start_wait_urb()
|
/linux-4.4.14/virt/kvm/ |
D | eventfd.c | 236 irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, in irqfd_ptable_queue_proc() argument 241 add_wait_queue(wqh, &irqfd->wait); in irqfd_ptable_queue_proc()
|