Searched refs:wqh (Results 1 – 5 of 5) sorted by relevance
| /freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
| HD | wait.h | 115 #define init_waitqueue_head(wqh) do { \ argument 116 mtx_init(&(wqh)->lock.m, 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 …]
|
| HD | fs.h | 75 struct wait_queue_head *wqh; member
|
| /freebsd-13-stable/sys/compat/linuxkpi/common/src/ |
| HD | linux_schedule.c | 200 linux_wake_up(wait_queue_head_t *wqh, unsigned int state, int nr, bool locked) in linux_wake_up() argument 205 spin_lock(&wqh->lock); in linux_wake_up() 206 list_for_each_entry_safe(pos, next, &wqh->task_list, task_list) { in linux_wake_up() 216 spin_unlock(&wqh->lock); in linux_wake_up() 220 linux_prepare_to_wait(wait_queue_head_t *wqh, wait_queue_t *wq, int state) in linux_prepare_to_wait() argument 223 spin_lock(&wqh->lock); in linux_prepare_to_wait() 225 __add_wait_queue(wqh, wq); in linux_prepare_to_wait() 227 spin_unlock(&wqh->lock); in linux_prepare_to_wait() 231 linux_finish_wait(wait_queue_head_t *wqh, wait_queue_t *wq) in linux_finish_wait() argument 234 spin_lock(&wqh->lock); in linux_finish_wait() [all …]
|
| HD | linux_compat.c | 1194 linux_poll_wait(struct linux_file *filp, wait_queue_head_t *wqh, poll_table *p) in linux_poll_wait() argument 1210 filp->f_wait_queue.wqh = wqh; in linux_poll_wait() 1212 add_wait_queue(wqh, &filp->f_wait_queue.wq); in linux_poll_wait() 1236 remove_wait_queue(filp->f_wait_queue.wqh, &filp->f_wait_queue.wq); in linux_poll_wait_dequeue()
|
| /freebsd-13-stable/sys/dev/netmap/ |
| HD | netmap_kloop.c | 445 wait_queue_head_t *wqh; member 472 sync_kloop_poll_table_queue_proc(struct file *file, wait_queue_head_t *wqh, in sync_kloop_poll_table_queue_proc() argument 481 entry->wqh = wqh; in sync_kloop_poll_table_queue_proc() 490 add_wait_queue(wqh, &entry->wait); in sync_kloop_poll_table_queue_proc() 871 if (entry->wqh) in netmap_sync_kloop() 872 remove_wait_queue(entry->wqh, &entry->wait); in netmap_sync_kloop()
|