Lines Matching defs:task
5 * address is used to compute the cookie of the task.
44 * sched_core_update_cookie - replace the cookie on a task
45 * @p: the task to update
48 * Effectively exchange the task cookie; caller is responsible for lifetimes on
83 * If task is currently running, it may not be compatible anymore after
133 struct task_struct *task, *p;
150 task = current;
152 task = find_task_by_vpid(pid);
153 if (!task) {
158 get_task_struct(task);
165 if (!ptrace_may_access(task, PTRACE_MODE_READ_REALCREDS)) {
176 cookie = sched_core_clone_cookie(task);
201 cookie = sched_core_clone_cookie(task);
211 __sched_core_set(task, cookie);
216 grp = task_pid_type(task, type);
233 put_task_struct(task);
262 /* can't be forced idle without a running task */
268 * idle sibling and more than one running cookied task.