Searched refs:wqh (Results 1 - 5 of 5) sorted by relevance
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | wait.h | 116 #define init_waitqueue_head(wqh) do { \ 117 mtx_init(&(wqh)->lock.m, spin_lock_name("wqhead"), \ 119 INIT_LIST_HEAD(&(wqh)->task_list); \ 127 #define wake_up(wqh) \ 128 linux_wake_up(wqh, TASK_NORMAL, 1, false) 129 #define wake_up_all(wqh) \ 130 linux_wake_up(wqh, TASK_NORMAL, 0, false) 131 #define wake_up_locked(wqh) \ 132 linux_wake_up(wqh, TASK_NORMAL, 1, true) 133 #define wake_up_all_locked(wqh) \ 234 __add_wait_queue(wait_queue_head_t *wqh, wait_queue_t *wq) argument 240 add_wait_queue(wait_queue_head_t *wqh, wait_queue_t *wq) argument 249 __add_wait_queue_tail(wait_queue_head_t *wqh, wait_queue_t *wq) argument 255 __add_wait_queue_entry_tail(wait_queue_head_t *wqh, wait_queue_entry_t *wq) argument 261 __remove_wait_queue(wait_queue_head_t *wqh, wait_queue_t *wq) argument 267 remove_wait_queue(wait_queue_head_t *wqh, wait_queue_t *wq) argument [all...] |
H A D | fs.h | 74 struct wait_queue_head *wqh; member in struct:linux_file_wait_queue
|
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_schedule.c | 202 linux_wake_up(wait_queue_head_t *wqh, unsigned int state, int nr, bool locked) argument 207 spin_lock(&wqh->lock); 208 list_for_each_entry_safe(pos, next, &wqh->task_list, task_list) { 218 spin_unlock(&wqh->lock); 222 linux_prepare_to_wait(wait_queue_head_t *wqh, wait_queue_t *wq, int state) argument 225 spin_lock(&wqh->lock); 227 __add_wait_queue(wqh, wq); 229 spin_unlock(&wqh->lock); 233 linux_finish_wait(wait_queue_head_t *wqh, wait_queue_t *wq) argument 236 spin_lock(&wqh 246 linux_waitqueue_active(wait_queue_head_t *wqh) argument 257 linux_wait_event_common(wait_queue_head_t *wqh, wait_queue_t *wq, int timeout, unsigned int state, spinlock_t *lock) argument [all...] |
H A D | linux_compat.c | 1036 linux_poll_wait(struct linux_file *filp, wait_queue_head_t *wqh, poll_table *p) argument 1052 filp->f_wait_queue.wqh = wqh; 1054 add_wait_queue(wqh, &filp->f_wait_queue.wq); 1078 remove_wait_queue(filp->f_wait_queue.wqh, &filp->f_wait_queue.wq);
|
/freebsd-11-stable/sys/dev/netmap/ |
H A D | netmap_kloop.c | 447 wait_queue_head_t *wqh; member in struct:sync_kloop_poll_entry 474 sync_kloop_poll_table_queue_proc(struct file *file, wait_queue_head_t *wqh, argument 483 entry->wqh = wqh; 492 add_wait_queue(wqh, &entry->wait); 880 if (entry->wqh) 881 remove_wait_queue(entry->wqh, &entry->wait);
|
Completed in 100 milliseconds