Lines Matching defs:task
73 * - The actual wakeup of a sleeping task is performed using the wake_q
86 * 1) With the simple wake_q_add(), the task could be gone already before
104 * 2) Without proper _release/_acquire barriers, the woken up task
128 struct task_struct *task;
700 if (walk->task->prio <= current->prio) {
709 * Puts current task to sleep. Caller must hold queue lock. After return
760 * Returns waiting task that should be serviced first or NULL if none exists
796 struct task_struct *task;
820 task = pid_task(info->notify_owner, PIDTYPE_TGID);
821 if (task && task->self_exec_id ==
824 &sig_i, task, PIDTYPE_TGID);
1007 * - Queue the receiver task for later wakeup (without the info->lock).
1020 struct task_struct *task;
1023 task = get_task_struct(this->task);
1027 wake_q_add_safe(wake_q, task);
1030 /* pipelined_send() - send a message directly to the task waiting in
1042 /* pipelined_receive() - if there is task waiting in sys_mq_timedsend()
1142 wait.task = current;
1248 wait.task = current;