Home
last modified time | relevance | path

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

/kernel/locking/
Drtmutex.c500 static __always_inline void rt_mutex_wake_q_add_task(struct rt_wake_q_head *wqh, in rt_mutex_wake_q_add_task() argument
506 WARN_ON_ONCE(wqh->rtlock_task); in rt_mutex_wake_q_add_task()
508 wqh->rtlock_task = task; in rt_mutex_wake_q_add_task()
510 wake_q_add(&wqh->head, task); in rt_mutex_wake_q_add_task()
514 static __always_inline void rt_mutex_wake_q_add(struct rt_wake_q_head *wqh, in rt_mutex_wake_q_add() argument
517 rt_mutex_wake_q_add_task(wqh, w->task, w->wake_state); in rt_mutex_wake_q_add()
520 static __always_inline void rt_mutex_wake_up_q(struct rt_wake_q_head *wqh) in rt_mutex_wake_up_q() argument
522 if (IS_ENABLED(CONFIG_PREEMPT_RT) && wqh->rtlock_task) { in rt_mutex_wake_up_q()
523 wake_up_state(wqh->rtlock_task, TASK_RTLOCK_WAIT); in rt_mutex_wake_up_q()
524 put_task_struct(wqh->rtlock_task); in rt_mutex_wake_up_q()
[all …]
Drtmutex_api.c171 struct rt_wake_q_head *wqh) in __rt_mutex_futex_unlock() argument
188 mark_wakeup_next_waiter(wqh, lock); in __rt_mutex_futex_unlock()
195 DEFINE_RT_WAKE_Q(wqh); in rt_mutex_futex_unlock()
200 postunlock = __rt_mutex_futex_unlock(lock, &wqh); in rt_mutex_futex_unlock()
204 rt_mutex_postunlock(&wqh); in rt_mutex_futex_unlock()
484 void __sched rt_mutex_postunlock(struct rt_wake_q_head *wqh) in rt_mutex_postunlock() argument
486 rt_mutex_wake_up_q(wqh); in rt_mutex_postunlock()
Drwbase_rt.c154 DEFINE_RT_WAKE_Q(wqh); in __rwbase_read_unlock()
165 rt_mutex_wake_q_add_task(&wqh, owner, state); in __rwbase_read_unlock()
170 rt_mutex_wake_up_q(&wqh); in __rwbase_read_unlock()
Drtmutex_common.h84 struct rt_wake_q_head *wqh);
86 extern void rt_mutex_postunlock(struct rt_wake_q_head *wqh);
/kernel/futex/
Dpi.c618 DEFINE_RT_WAKE_Q(wqh); in wake_futex_pi()
671 postunlock = __rt_mutex_futex_unlock(&pi_state->pi_mutex, &wqh); in wake_futex_pi()
678 rt_mutex_postunlock(&wqh); in wake_futex_pi()
/kernel/
Dseccomp.c231 wait_queue_head_t wqh; member
529 if (waitqueue_active(&orig->wqh)) in __seccomp_filter_orphan()
530 wake_up_poll(&orig->wqh, EPOLLHUP); in __seccomp_filter_orphan()
680 init_waitqueue_head(&sfilter->wqh); in seccomp_prepare_filter()
1120 wake_up_poll(&match->wqh, EPOLLIN | EPOLLRDNORM); in seccomp_do_user_notification()
1497 wake_up_poll(&filter->wqh, EPOLLOUT | EPOLLWRNORM); in seccomp_notify_recv()
1742 poll_wait(file, &filter->wqh, poll_tab); in seccomp_notify_poll()
/kernel/rcu/
Dtree.c1056 struct swait_queue_head *wqh = arg; in swake_up_one_online_ipi() local
1058 swake_up_one(wqh); in swake_up_one_online_ipi()
1061 static void swake_up_one_online(struct swait_queue_head *wqh) in swake_up_one_online() argument
1078 wqh, 0); in swake_up_one_online()
1082 swake_up_one(wqh); in swake_up_one_online()