Home
last modified time | relevance | path

Searched refs:wake_q (Results 1 – 8 of 8) sorted by relevance

/linux/ipc/
H A Dmsg.c213 struct wake_q_head *wake_q, bool kill) in ss_wakeup() argument
245 wake_q_add(wake_q, mss->tsk); in ss_wakeup()
250 struct wake_q_head *wake_q) in expunge_all() argument
261 wake_q_add_safe(wake_q, r_tsk); in expunge_all()
279 DEFINE_WAKE_Q(wake_q); in freeque()
281 expunge_all(msq, -EIDRM, &wake_q); in freeque()
282 ss_wakeup(msq, &wake_q, true); in freeque()
285 wake_up_q(&wake_q); in freeque()
432 DEFINE_WAKE_Q(wake_q); in msgctl_down()
452 expunge_all(msq, -EAGAIN, &wake_q); in msgctl_down()
[all …]
/linux/kernel/locking/
H A Drtmutex_api.c338 struct wake_q_head *wake_q) in __rt_mutex_start_proxy_lock() argument
350 RT_MUTEX_FULL_CHAINWALK, wake_q); in __rt_mutex_start_proxy_lock()
389 DEFINE_WAKE_Q(wake_q); in rt_mutex_start_proxy_lock()
392 ret = __rt_mutex_start_proxy_lock(lock, waiter, task, &wake_q); in rt_mutex_start_proxy_lock()
397 wake_up_q(&wake_q); in rt_mutex_start_proxy_lock()
/linux/kernel/futex/
H A Drequeue.c398 DEFINE_WAKE_Q(wake_q); in futex_requeue()
623 this->wake(&wake_q, this); in futex_requeue()
705 wake_up_q(&wake_q); in futex_requeue()
H A Dpi.c994 DEFINE_WAKE_Q(wake_q); in futex_lock_pi()
1101 ret = __rt_mutex_start_proxy_lock(&q.pi_state->pi_mutex, &rt_waiter, current, &wake_q); in futex_lock_pi()
1102 raw_spin_unlock_irq_wake(&q.pi_state->pi_mutex.wait_lock, &wake_q); in futex_lock_pi()
/linux/io_uring/
H A Dfutex.c170 static void io_futex_wakev_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wakev_fn() argument
230 static void io_futex_wake_fn(struct wake_q_head *wake_q, struct futex_q *q) in io_futex_wake_fn() argument
/linux/include/linux/
H A Dsched.h1251 struct wake_q_node wake_q; member
/linux/kernel/sched/
H A Dcore.c63 #include <linux/sched/wake_q.h>
1103 struct wake_q_node *node = &task->wake_q; in __wake_q_add()
1106 * Atomically grab the task, if ->wake_q is !nil already it means in __wake_q_add()
1157 * wake_q to do the right thing depending whether or not the @task is already
1173 task = container_of(node, struct task_struct, wake_q); in wake_up_q()
1176 WRITE_ONCE(task->wake_q.next, NULL); in wake_up_q()
/linux/kernel/
H A Dfork.c984 tsk->wake_q.next = NULL; in dup_task_struct()