Home
last modified time | relevance | path

Searched refs:wake_q (Results 1 - 5 of 5) sorted by relevance

/device/soc/rockchip/common/sdk_linux/ipc/
H A Dsem.c87 #include <linux/sched/wake_q.h>
234 * The wakeup is handled using the wake_q infrastructure. wake_q wakeups may
801 static inline void wake_up_sem_queue_prepare(struct sem_queue *q, int error, struct wake_q_head *wake_q) in wake_up_sem_queue_prepare() argument
810 wake_q_add_safe(wake_q, sleeper); in wake_up_sem_queue_prepare()
861 * @wake_q: lockless wake-queue head.
867 * The tasks that must be woken up are added to @wake_q. The return code
871 static int wake_const_ops(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) in wake_const_ops() argument
892 wake_up_sem_queue_prepare(q, error, wake_q); in wake_const_ops()
906 * @wake_q
912 do_smart_wakeup_zero(struct sem_array *sma, struct sembuf *sops, int nsops, struct wake_q_head *wake_q) do_smart_wakeup_zero() argument
967 update_queue(struct sem_array *sma, int semnum, struct wake_q_head *wake_q) update_queue() argument
1049 do_smart_update(struct sem_array *sma, struct sembuf *sops, int nsops, int otime, struct wake_q_head *wake_q) do_smart_update() argument
[all...]
H A Dmsg.c34 #include <linux/sched/wake_q.h>
212 static void ss_wakeup(struct msg_queue *msq, struct wake_q_head *wake_q, bool kill) in ss_wakeup() argument
233 wake_q_add(wake_q, mss->tsk); in ss_wakeup()
237 static void expunge_all(struct msg_queue *msq, int res, struct wake_q_head *wake_q) in expunge_all() argument
249 wake_q_add_safe(wake_q, r_tsk); in expunge_all()
265 DEFINE_WAKE_Q(wake_q); in __releases()
267 expunge_all(msq, -EIDRM, &wake_q); in __releases()
268 ss_wakeup(msq, &wake_q, true); in __releases()
271 wake_up_q(&wake_q); in __releases()
419 DEFINE_WAKE_Q(wake_q); in msgctl_down()
815 pipelined_send(struct msg_queue *msq, struct msg_msg *msg, struct wake_q_head *wake_q) pipelined_send() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dsched.h1132 struct wake_q_node wake_q; member
/device/soc/rockchip/common/sdk_linux/kernel/sched/
H A Dcore.c536 struct wake_q_node *node = &task->wake_q; in __wake_q_add()
539 * Atomically grab the task, if ->wake_q is !nil already it means in __wake_q_add()
592 * wake_q to do the right thing depending whether or not the @task is already
609 task = container_of(node, struct task_struct, wake_q); in wake_up_q()
613 task->wake_q.next = NULL; in wake_up_q()
H A Dsched.h35 #include <linux/sched/wake_q.h>

Completed in 23 milliseconds