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;
701 if (walk->task->prio <= current->prio) {
710 * Puts current task to sleep. Caller must hold queue lock. After return
761 * Returns waiting task that should be serviced first or NULL if none exists
797 struct task_struct *task;
821 task = pid_task(info->notify_owner, PIDTYPE_TGID);
822 if (task && task->self_exec_id ==
825 &sig_i, task, PIDTYPE_TGID);
1008 * - Queue the receiver task for later wakeup (without the info->lock).
1021 struct task_struct *task;
1024 task = get_task_struct(this->task);
1028 wake_q_add_safe(wake_q, task);
1031 /* pipelined_send() - send a message directly to the task waiting in
1043 /* pipelined_receive() - if there is task waiting in sys_mq_timedsend()
1143 wait.task = current;
1248 wait.task = current;