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.h115 #define init_waitqueue_head(wqh) do { \ argument
116 mtx_init(&(wqh)->lock, spin_lock_name("wqhead"), \
118 INIT_LIST_HEAD(&(wqh)->task_list); \
121 #define __init_waitqueue_head(wqh, name, lk) init_waitqueue_head(wqh) argument
128 #define wake_up(wqh) \ argument
129 linux_wake_up(wqh, TASK_NORMAL, 1, false)
130 #define wake_up_all(wqh) \ argument
131 linux_wake_up(wqh, TASK_NORMAL, 0, false)
132 #define wake_up_locked(wqh) \ argument
133 linux_wake_up(wqh, TASK_NORMAL, 1, true)
[all …]
H A Dfs.h74 struct wait_queue_head *wqh; member
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_schedule.c197 linux_wake_up(wait_queue_head_t *wqh, unsigned int state, int nr, bool locked)
202 spin_lock(&wqh->lock); in linux_wake_up()
203 list_for_each_entry_safe(pos, next, &wqh->task_list, task_list) { in linux_wake_up()
213 spin_unlock(&wqh->lock); in linux_wake_up()
217 linux_prepare_to_wait(wait_queue_head_t *wqh, wait_queue_t *wq, int state)
220 spin_lock(&wqh->lock); in linux_prepare_to_wait()
222 __add_wait_queue(wqh, wq); in linux_prepare_to_wait()
224 spin_unlock(&wqh->lock); in linux_prepare_to_wait()
228 linux_finish_wait(wait_queue_head_t *wqh, wait_queue_t *wq)
231 spin_lock(&wqh in linux_finish_wait()
199 linux_wake_up(wait_queue_head_t * wqh,unsigned int state,int nr,bool locked) linux_wake_up() argument
219 linux_prepare_to_wait(wait_queue_head_t * wqh,wait_queue_t * wq,int state) linux_prepare_to_wait() argument
230 linux_finish_wait(wait_queue_head_t * wqh,wait_queue_t * wq) linux_finish_wait() argument
243 linux_waitqueue_active(wait_queue_head_t * wqh) linux_waitqueue_active() argument
254 linux_wait_event_common(wait_queue_head_t * wqh,wait_queue_t * wq,int timeout,unsigned int state,spinlock_t * lock) linux_wait_event_common() argument
[all...]
H A Dlinux_compat.c1019 linux_poll_wait(struct linux_file *filp, wait_queue_head_t *wqh, poll_table *p) in linux_poll_wait() argument
1035 filp->f_wait_queue.wqh = wqh; in linux_poll_wait()
1037 add_wait_queue(wqh, &filp->f_wait_queue.wq); in linux_poll_wait()
1061 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()