Searched refs:wqh (Results 1 – 5 of 5) sorted by relevance
/kernel/locking/ |
D | rtmutex.c | 487 static __always_inline void rt_mutex_wake_q_add(struct rt_wake_q_head *wqh, in rt_mutex_wake_q_add() argument 492 WARN_ON_ONCE(wqh->rtlock_task); in rt_mutex_wake_q_add() 494 wqh->rtlock_task = w->task; in rt_mutex_wake_q_add() 496 wake_q_add(&wqh->head, w->task); in rt_mutex_wake_q_add() 500 static __always_inline void rt_mutex_wake_up_q(struct rt_wake_q_head *wqh) in rt_mutex_wake_up_q() argument 502 if (IS_ENABLED(CONFIG_PREEMPT_RT) && wqh->rtlock_task) { in rt_mutex_wake_up_q() 503 wake_up_state(wqh->rtlock_task, TASK_RTLOCK_WAIT); in rt_mutex_wake_up_q() 504 put_task_struct(wqh->rtlock_task); in rt_mutex_wake_up_q() 505 wqh->rtlock_task = NULL; in rt_mutex_wake_up_q() 508 if (!wake_q_empty(&wqh->head)) in rt_mutex_wake_up_q() [all …]
|
D | rtmutex_api.c | 149 struct rt_wake_q_head *wqh) in __rt_mutex_futex_unlock() argument 166 mark_wakeup_next_waiter(wqh, lock); in __rt_mutex_futex_unlock() 173 DEFINE_RT_WAKE_Q(wqh); in rt_mutex_futex_unlock() 178 postunlock = __rt_mutex_futex_unlock(lock, &wqh); in rt_mutex_futex_unlock() 182 rt_mutex_postunlock(&wqh); in rt_mutex_futex_unlock() 462 void __sched rt_mutex_postunlock(struct rt_wake_q_head *wqh) in rt_mutex_postunlock() argument 464 rt_mutex_wake_up_q(wqh); in rt_mutex_postunlock()
|
D | rtmutex_common.h | 84 struct rt_wake_q_head *wqh); 86 extern void rt_mutex_postunlock(struct rt_wake_q_head *wqh);
|
/kernel/ |
D | seccomp.c | 229 wait_queue_head_t wqh; member 527 if (waitqueue_active(&orig->wqh)) in __seccomp_filter_orphan() 528 wake_up_poll(&orig->wqh, EPOLLHUP); in __seccomp_filter_orphan() 678 init_waitqueue_head(&sfilter->wqh); in seccomp_prepare_filter() 1108 wake_up_poll(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification() 1471 wake_up_poll(&filter->wqh, EPOLLOUT | EPOLLWRNORM); in seccomp_notify_recv() 1713 poll_wait(file, &filter->wqh, poll_tab); in seccomp_notify_poll()
|
/kernel/futex/ |
D | core.c | 1569 DEFINE_RT_WAKE_Q(wqh); in wake_futex_pi() 1622 postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wqh); in wake_futex_pi() 1629 rt_mutex_postunlock(&wqh); in wake_futex_pi()
|