Home
last modified time | relevance | path

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

/linux-2.6.39/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.c29 wait_queue_head_t wqh; member
45 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_tmrproc()
48 wake_up_locked(&ctx->wqh); in timerfd_tmrproc()
49 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_tmrproc()
97 poll_wait(file, &ctx->wqh, wait); in timerfd_poll()
99 spin_lock_irqsave(&ctx->wqh.lock, flags); in timerfd_poll()
102 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in timerfd_poll()
116 spin_lock_irq(&ctx->wqh.lock); in timerfd_read()
120 res = wait_event_interruptible_locked_irq(ctx->wqh, ctx->ticks); in timerfd_read()
137 spin_unlock_irq(&ctx->wqh.lock); in timerfd_read()
[all …]
Dfs-writeback.c322 wait_queue_head_t *wqh; in inode_wait_for_writeback() local
324 wqh = bit_waitqueue(&inode->i_state, __I_SYNC); in inode_wait_for_writeback()
328 __wait_on_bit(wqh, &wq, inode_wait, TASK_UNINTERRUPTIBLE); in inode_wait_for_writeback()
/linux-2.6.39/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-2.6.39/mm/
Dbacking-dev.c731 wait_queue_head_t *wqh = &congestion_wqh[sync]; in clear_bdi_congested() local
737 if (waitqueue_active(wqh)) in clear_bdi_congested()
738 wake_up(wqh); in clear_bdi_congested()
766 wait_queue_head_t *wqh = &congestion_wqh[sync]; in congestion_wait() local
768 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in congestion_wait()
770 finish_wait(wqh, &wait); in congestion_wait()
802 wait_queue_head_t *wqh = &congestion_wqh[sync]; in wait_iff_congested() local
822 prepare_to_wait(wqh, &wait, TASK_UNINTERRUPTIBLE); in wait_iff_congested()
824 finish_wait(wqh, &wait); in wait_iff_congested()
/linux-2.6.39/drivers/vhost/
Dvhost.h34 wait_queue_head_t *wqh; member
Dvhost.c40 static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, in vhost_poll_func() argument
46 poll->wqh = wqh; in vhost_poll_func()
47 add_wait_queue(wqh, &poll->wait); in vhost_poll_func()
98 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop()
/linux-2.6.39/drivers/net/usb/
Dkaweth.c1246 wait_queue_head_t wqh; member
1258 wake_up(&awd->wqh); in usb_api_blocking_completion()
1271 init_waitqueue_head(&awd.wqh); in usb_start_wait_urb()
1282 if (!wait_event_timeout(awd.wqh, awd.done, timeout)) { in usb_start_wait_urb()
/linux-2.6.39/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-2.6.39/fs/jbd/
Dtransaction.c631 wait_queue_head_t *wqh; in do_get_write_access() local
633 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
639 prepare_to_wait(wqh, &wait.wait, in do_get_write_access()
645 finish_wait(wqh, &wait.wait); in do_get_write_access()
/linux-2.6.39/fs/jbd2/
Dtransaction.c699 wait_queue_head_t *wqh; in do_get_write_access() local
701 wqh = bit_waitqueue(&bh->b_state, BH_Unshadow); in do_get_write_access()
707 prepare_to_wait(wqh, &wait.wait, in do_get_write_access()
713 finish_wait(wqh, &wait.wait); in do_get_write_access()
/linux-2.6.39/kernel/
Dcgroup.c184 wait_queue_head_t *wqh; member
3107 __remove_wait_queue(event->wqh, &event->wait); in cgroup_event_wake()
3122 wait_queue_head_t *wqh, poll_table *pt) in cgroup_event_ptable_queue_proc() argument
3127 event->wqh = wqh; in cgroup_event_ptable_queue_proc()
3128 add_wait_queue(wqh, &event->wait); in cgroup_event_ptable_queue_proc()
3680 remove_wait_queue(event->wqh, &event->wait); in cgroup_rmdir()