/linux-4.1.27/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 | 374 wait_queue_head_t *wqh; in __inode_wait_for_writeback() local 376 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in __inode_wait_for_writeback() 379 __wait_on_bit(wqh, &wq, bit_wait, in __inode_wait_for_writeback() 404 wait_queue_head_t *wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_sleep_on_writeback() local 407 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in inode_sleep_on_writeback() 412 finish_wait(wqh, &wait); in inode_sleep_on_writeback()
|
/linux-4.1.27/mm/ |
D | backing-dev.c | 480 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_bdi_congested() local 486 if (waitqueue_active(wqh)) in clear_bdi_congested() 487 wake_up(wqh); in clear_bdi_congested() 515 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait() local 517 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in congestion_wait() 519 finish_wait(wqh, &wait); in congestion_wait() 551 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested() local 571 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in wait_iff_congested() 573 finish_wait(wqh, &wait); in wait_iff_congested()
|
D | memcontrol.c | 249 wait_queue_head_t *wqh; member 4024 remove_wait_queue(event->wqh, &event->wait); in memcg_event_remove() 4075 wait_queue_head_t *wqh, poll_table *pt) in memcg_event_ptable_queue_proc() argument 4080 event->wqh = wqh; in memcg_event_ptable_queue_proc() 4081 add_wait_queue(wqh, &event->wait); in memcg_event_ptable_queue_proc()
|
/linux-4.1.27/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.1.27/drivers/vhost/ |
D | vhost.c | 39 static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, in vhost_poll_func() argument 45 poll->wqh = wqh; in vhost_poll_func() 46 add_wait_queue(wqh, &poll->wait); in vhost_poll_func() 79 poll->wqh = NULL; in vhost_poll_init() 92 if (poll->wqh) in vhost_poll_start() 99 if (poll->wqh) in vhost_poll_start() 100 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_start() 112 if (poll->wqh) { in vhost_poll_stop() 113 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop() 114 poll->wqh = NULL; in vhost_poll_stop()
|
D | vhost.h | 31 wait_queue_head_t *wqh; member
|
/linux-4.1.27/drivers/net/usb/ |
D | kaweth.c | 1250 wait_queue_head_t wqh; member 1262 wake_up(&awd->wqh); in usb_api_blocking_completion() 1275 init_waitqueue_head(&awd.wqh); in usb_start_wait_urb() 1286 if (!wait_event_timeout(awd.wqh, awd.done, timeout)) { in usb_start_wait_urb()
|
/linux-4.1.27/fs/jbd/ |
D | transaction.c | 637 wait_queue_head_t *wqh; in do_get_write_access() local 639 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access() 645 prepare_to_wait(wqh, &wait.wait, in do_get_write_access() 651 finish_wait(wqh, &wait.wait); in do_get_write_access()
|
/linux-4.1.27/virt/kvm/ |
D | eventfd.c | 274 irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, in irqfd_ptable_queue_proc() argument 278 add_wait_queue(wqh, &irqfd->wait); in irqfd_ptable_queue_proc()
|