Home
last modified time | relevance | path

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

/linux/fs/
H A Deventfd.c32 wait_queue_head_t wqh; member
71 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_signal_mask()
75 if (waitqueue_active(&ctx->wqh)) in eventfd_signal_mask()
76 wake_up_locked_poll(&ctx->wqh, EPOLLIN | mask); in eventfd_signal_mask()
78 spin_unlock_irqrestore(&ctx->wqh.lock, flags); in eventfd_signal_mask()
113 wake_up_poll(&ctx->wqh, EPOLLHUP); in eventfd_release()
124 poll_wait(file, &ctx->wqh, wait); in eventfd_poll()
178 lockdep_assert_held(&ctx->wqh.lock); in eventfd_ctx_do_read()
203 spin_lock_irqsave(&ctx->wqh.lock, flags); in eventfd_ctx_remove_wait_queue()
205 __remove_wait_queue(&ctx->wqh, wait); in eventfd_ctx_remove_wait_queue()
[all …]
/linux/arch/powerpc/platforms/pseries/
H A Drtas-work-area.c44 struct wait_queue_head wqh; member
49 .wqh = __WAIT_QUEUE_HEAD_INITIALIZER(rwa_state.wqh),
103 wait_event(rwa_state.wqh, in __rtas_work_area_alloc()
123 wake_up(&rwa_state.wqh); in rtas_work_area_free()
/linux/kernel/locking/
H A Drtmutex_api.c207 struct rt_wake_q_head *wqh) in __rt_mutex_futex_unlock() argument
225 mark_wakeup_next_waiter(wqh, lock); in __rt_mutex_futex_unlock()
232 DEFINE_RT_WAKE_Q(wqh); in rt_mutex_futex_unlock()
237 postunlock = __rt_mutex_futex_unlock(lock, &wqh); in rt_mutex_futex_unlock()
241 rt_mutex_postunlock(&wqh); in rt_mutex_futex_unlock()
530 void __sched rt_mutex_postunlock(struct rt_wake_q_head *wqh) in rt_mutex_postunlock() argument
532 rt_mutex_wake_up_q(wqh); in rt_mutex_postunlock()
/linux/drivers/hv/
H A Dmshv_vtl_main.c73 wait_queue_head_t *wqh; member
457 static void mshv_vtl_ptable_queue_proc(struct file *file, wait_queue_head_t *wqh, poll_table *pt) in mshv_vtl_ptable_queue_proc() argument
461 WARN_ON(poll_file->wqh); in mshv_vtl_ptable_queue_proc()
462 poll_file->wqh = wqh; in mshv_vtl_ptable_queue_proc()
463 add_wait_queue(wqh, &poll_file->wait); in mshv_vtl_ptable_queue_proc()
493 if (poll_file->wqh) in mshv_vtl_ioctl_set_poll_file()
494 remove_wait_queue(poll_file->wqh, &poll_file->wait); in mshv_vtl_ioctl_set_poll_file()
495 poll_file->wqh = NULL; in mshv_vtl_ioctl_set_poll_file()
H A Dmshv_eventfd.c377 static void mshv_irqfd_queue_proc(struct file *file, wait_queue_head_t *wqh, in mshv_irqfd_queue_proc() argument
390 add_wait_queue_priority(wqh, &irqfd->irqfd_wait); in mshv_irqfd_queue_proc()
/linux/drivers/vfio/
H A Dvirqfd.c79 wait_queue_head_t *wqh, poll_table *pt) in virqfd_ptable_queue_proc() argument
82 add_wait_queue(wqh, &virqfd->wait); in virqfd_ptable_queue_proc()
/linux/kernel/futex/
H A Dpi.c688 DEFINE_RT_WAKE_Q(wqh); in wake_futex_pi()
727 postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wqh); in wake_futex_pi()
734 rt_mutex_postunlock(&wqh); in wake_futex_pi()
/linux/drivers/vhost/
H A Dvhost.c162 static void vhost_poll_func(struct file *file, wait_queue_head_t *wqh, in vhost_poll_func() argument
168 poll->wqh = wqh; in vhost_poll_func()
169 add_wait_queue(wqh, &poll->wait); in vhost_poll_func()
205 poll->wqh = NULL; in vhost_poll_init()
218 if (poll->wqh) in vhost_poll_start()
237 if (poll->wqh) { in vhost_poll_stop()
238 remove_wait_queue(poll->wqh, &poll->wait); in vhost_poll_stop()
239 poll->wqh = NULL; in vhost_poll_stop()
/linux/virt/kvm/
H A Deventfd.c301 static void kvm_irqfd_register(struct file *file, wait_queue_head_t *wqh, in kvm_irqfd_register() argument
340 p->ret = add_wait_queue_priority_exclusive(wqh, &irqfd->wait); in kvm_irqfd_register()