Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/locking/
Drwsem.c383 struct wake_q_head *wake_q) in rwsem_mark_wake() argument
406 wake_q_add(wake_q, waiter->task); in rwsem_mark_wake()
527 wake_q_add_safe(wake_q, tsk); in rwsem_mark_wake()
898 DEFINE_WAKE_Q(wake_q); in rwsem_down_read_slowpath()
925 &wake_q); in rwsem_down_read_slowpath()
927 wake_up_q(&wake_q); in rwsem_down_read_slowpath()
973 rwsem_mark_wake(sem, RWSEM_WAKE_ANY, &wake_q); in rwsem_down_read_slowpath()
976 wake_up_q(&wake_q); in rwsem_down_read_slowpath()
1023 DEFINE_WAKE_Q(wake_q); in rwsem_down_write_slowpath()
1063 : RWSEM_WAKE_ANY, &wake_q); in rwsem_down_write_slowpath()
[all …]
Dmutex.c848 DEFINE_WAKE_Q(wake_q); in __mutex_unlock_slowpath()
887 wake_q_add(&wake_q, next); in __mutex_unlock_slowpath()
895 wake_up_q(&wake_q); in __mutex_unlock_slowpath()
/Linux-v5.15/ipc/
Dsem.c788 struct wake_q_head *wake_q) in wake_up_sem_queue_prepare() argument
797 wake_q_add_safe(wake_q, sleeper); in wake_up_sem_queue_prepare()
856 struct wake_q_head *wake_q) in wake_const_ops() argument
875 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops()
895 int nsops, struct wake_q_head *wake_q) in do_smart_wakeup_zero() argument
908 semop_completed |= wake_const_ops(sma, num, wake_q); in do_smart_wakeup_zero()
919 semop_completed |= wake_const_ops(sma, i, wake_q); in do_smart_wakeup_zero()
928 semop_completed |= wake_const_ops(sma, -1, wake_q); in do_smart_wakeup_zero()
950 static int update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in update_queue() argument
987 do_smart_wakeup_zero(sma, q->sops, q->nsops, wake_q); in update_queue()
[all …]
Dmsg.c212 struct wake_q_head *wake_q, bool kill) in ss_wakeup() argument
244 wake_q_add(wake_q, mss->tsk); in ss_wakeup()
249 struct wake_q_head *wake_q) in expunge_all() argument
260 wake_q_add_safe(wake_q, r_tsk); in expunge_all()
278 DEFINE_WAKE_Q(wake_q); in freeque()
280 expunge_all(msq, -EIDRM, &wake_q); in freeque()
281 ss_wakeup(msq, &wake_q, true); in freeque()
284 wake_up_q(&wake_q); in freeque()
431 DEFINE_WAKE_Q(wake_q); in msgctl_down()
451 expunge_all(msq, -EAGAIN, &wake_q); in msgctl_down()
[all …]
Dmqueue.c1005 static inline void __pipelined_op(struct wake_q_head *wake_q, in __pipelined_op() argument
1016 wake_q_add_safe(wake_q, task); in __pipelined_op()
1022 static inline void pipelined_send(struct wake_q_head *wake_q, in pipelined_send() argument
1028 __pipelined_op(wake_q, info, receiver); in pipelined_send()
1033 static inline void pipelined_receive(struct wake_q_head *wake_q, in pipelined_receive() argument
1046 __pipelined_op(wake_q, info, sender); in pipelined_receive()
1062 DEFINE_WAKE_Q(wake_q); in do_mq_timedsend()
1146 pipelined_send(&wake_q, info, msg_ptr, receiver); in do_mq_timedsend()
1159 wake_up_q(&wake_q); in do_mq_timedsend()
1245 DEFINE_WAKE_Q(wake_q); in do_mq_timedreceive()
[all …]
/Linux-v5.15/kernel/
Dfutex.c1525 static void mark_wake_futex(struct wake_q_head *wake_q, struct futex_q *q) in mark_wake_futex() argument
1547 wake_q_add_safe(wake_q, p); in mark_wake_futex()
1657 DEFINE_WAKE_Q(wake_q); in futex_wake()
1685 mark_wake_futex(&wake_q, this); in futex_wake()
1692 wake_up_q(&wake_q); in futex_wake()
1754 DEFINE_WAKE_Q(wake_q); in futex_wake_op()
1801 mark_wake_futex(&wake_q, this); in futex_wake_op()
1815 mark_wake_futex(&wake_q, this); in futex_wake_op()
1825 wake_up_q(&wake_q); in futex_wake_op()
2136 DEFINE_WAKE_Q(wake_q); in futex_requeue()
[all …]
Dfork.c953 tsk->wake_q.next = NULL; in dup_task_struct()
/Linux-v5.15/include/linux/
Dsched.h1113 struct wake_q_node wake_q; member
/Linux-v5.15/kernel/sched/
Dcore.c870 struct wake_q_node *node = &task->wake_q; in __wake_q_add()
940 task = container_of(node, struct task_struct, wake_q); in wake_up_q()
943 task->wake_q.next = NULL; in wake_up_q()