Home
last modified time | relevance | path

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

/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dwait.h121 #define __init_waitqueue_head(wqh, name, lk) init_waitqueue_head(wqh) argument
128 #define wake_up(wqh) \ argument
130 #define wake_up_all(wqh) \ argument
244 spin_lock(&wqh->lock); in add_wait_queue()
245 __add_wait_queue(wqh, wq); in add_wait_queue()
246 spin_unlock(&wqh->lock); in add_wait_queue()
271 spin_lock(&wqh->lock); in remove_wait_queue()
273 spin_unlock(&wqh->lock); in remove_wait_queue()
278 #define waitqueue_active(wqh) linux_waitqueue_active(wqh) argument
283 #define prepare_to_wait(wqh, wq, state) linux_prepare_to_wait(wqh, wq, state) argument
[all …]
H A Dfs.h74 struct wait_queue_head *wqh; member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c204 spin_lock(&wqh->lock); in linux_wake_up()
215 spin_unlock(&wqh->lock); in linux_wake_up()
222 spin_lock(&wqh->lock); in linux_prepare_to_wait()
224 __add_wait_queue(wqh, wq); in linux_prepare_to_wait()
226 spin_unlock(&wqh->lock); in linux_prepare_to_wait()
233 spin_lock(&wqh->lock); in linux_finish_wait()
236 __remove_wait_queue(wqh, wq); in linux_finish_wait()
239 spin_unlock(&wqh->lock); in linux_finish_wait()
247 spin_lock(&wqh->lock); in linux_waitqueue_active()
248 ret = !list_empty(&wqh->task_list); in linux_waitqueue_active()
[all …]
H A Dlinux_compat.c1015 linux_poll_wait(struct linux_file *filp, wait_queue_head_t *wqh, poll_table *p) in linux_poll_wait() argument
1031 filp->f_wait_queue.wqh = wqh; in linux_poll_wait()
1033 add_wait_queue(wqh, &filp->f_wait_queue.wq); in linux_poll_wait()
1057 remove_wait_queue(filp->f_wait_queue.wqh, &filp->f_wait_queue.wq); in linux_poll_wait_dequeue()
/freebsd/sys/dev/netmap/
H A Dnetmap_kloop.c453 wait_queue_head_t *wqh; member
480 sync_kloop_poll_table_queue_proc(struct file *file, wait_queue_head_t *wqh, in sync_kloop_poll_table_queue_proc() argument
489 entry->wqh = wqh; in sync_kloop_poll_table_queue_proc()
498 add_wait_queue(wqh, &entry->wait); in sync_kloop_poll_table_queue_proc()
879 if (entry->wqh) in netmap_sync_kloop()
880 remove_wait_queue(entry->wqh, &entry->wait); in netmap_sync_kloop()