Home
last modified time | relevance | path

Searched refs:wqh (Results 1 – 13 of 13) sorted by relevance

/linux-3.4.99/fs/
Deventfd.c25 wait_queue_head_t wqh; member
60 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal()
64 if (waitqueue_active(&ctx->wqh)) in eventfd_signal()
65 wake_up_locked_poll(&ctx->wqh, POLLIN); in eventfd_signal()
66 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal()
114 wake_up_poll(&ctx->wqh, POLLHUP); in eventfd_release()
125 poll_wait(file, &ctx->wqh, wait); in eventfd_poll()
127 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_poll()
134 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_poll()
163 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue()
[all …]
Dtimerfd.c31 wait_queue_head_t wqh; member
53 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_tmrproc()
56 wake_up_locked(&ctx->wqh); in timerfd_tmrproc()
57 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_tmrproc()
78 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
82 wake_up_locked(&ctx->wqh); in timerfd_clock_was_set()
84 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_clock_was_set()
171 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
173 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
176 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
[all …]
Dsignalfd.c35 wait_queue_head_t *wqh = &sighand->signalfd_wqh; in signalfd_cleanup() local
41 if (likely(!waitqueue_active(wqh))) in signalfd_cleanup()
45 wake_up_poll(wqh, POLLHUP | POLLFREE); in signalfd_cleanup()
Dfs-writeback.c339 wait_queue_head_t *wqh; in inode_wait_for_writeback() local
341 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_wait_for_writeback()
345 __wait_on_bit(wqh, &wq, inode_wait, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback()
/linux-3.4.99/drivers/mfd/
Dti-ssp.c76 wait_queue_head_t wqh; member
278 spin_lock_irq(&ssp->wqh.lock); in ti_ssp_run()
286 ret = wait_event_interruptible_locked_irq(ssp->wqh, in ti_ssp_run()
288 spin_unlock_irq(&ssp->wqh.lock); in ti_ssp_run()
308 spin_lock(&ssp->wqh.lock); in ti_ssp_interrupt()
311 wake_up_locked(&ssp->wqh); in ti_ssp_interrupt()
313 spin_unlock(&ssp->wqh.lock); in ti_ssp_interrupt()
379 init_waitqueue_head(&ssp->wqh); in ti_ssp_probe()
/linux-3.4.99/mm/
Dbacking-dev.c787 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_bdi_congested() local
793 if (waitqueue_active(wqh)) in clear_bdi_congested()
794 wake_up(wqh); in clear_bdi_congested()
822 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait() local
824 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in congestion_wait()
826 finish_wait(wqh, &wait); in congestion_wait()
858 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested() local
878 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in wait_iff_congested()
880 finish_wait(wqh, &wait); in wait_iff_congested()
/linux-3.4.99/drivers/net/usb/
Dkaweth.c1240 wait_queue_head_t wqh; member
1252 wake_up(&awd->wqh); in usb_api_blocking_completion()
1265 init_waitqueue_head(&awd.wqh); in usb_start_wait_urb()
1276 if (!wait_event_timeout(awd.wqh, awd.done, timeout)) { in usb_start_wait_urb()
/linux-3.4.99/drivers/vhost/
Dvhost.h39 wait_queue_head_t *wqh; member
Dvhost.c45 static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, in vhost_poll_func() argument
51 poll->wqh = wqh; in vhost_poll_func()
52 add_wait_queue(wqh, &poll->wait); in vhost_poll_func()
103 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop()
/linux-3.4.99/virt/kvm/
Deventfd.c172 irqfd_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, in irqfd_ptable_queue_proc() argument
176 add_wait_queue(wqh, &irqfd->wait); in irqfd_ptable_queue_proc()
/linux-3.4.99/fs/jbd/
Dtransaction.c638 wait_queue_head_t *wqh; in do_get_write_access() local
640 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
646 prepare_to_wait(wqh, &wait.wait, in do_get_write_access()
652 finish_wait(wqh, &wait.wait); in do_get_write_access()
/linux-3.4.99/fs/jbd2/
Dtransaction.c734 wait_queue_head_t *wqh; in do_get_write_access() local
736 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
742 prepare_to_wait(wqh, &wait.wait, in do_get_write_access()
748 finish_wait(wqh, &wait.wait); in do_get_write_access()
/linux-3.4.99/kernel/
Dcgroup.c204 wait_queue_head_t *wqh; member
3445 __remove_wait_queue(event->wqh, &event->wait); in cgroup_event_wake()
3460 wait_queue_head_t *wqh, poll_table *pt) in cgroup_event_ptable_queue_proc() argument
3465 event->wqh = wqh; in cgroup_event_ptable_queue_proc()
3466 add_wait_queue(wqh, &event->wait); in cgroup_event_ptable_queue_proc()
4030 remove_wait_queue(event->wqh, &event->wait); in cgroup_rmdir()