Lines Matching defs:task
23 #include <linux/sched/task.h>
177 struct task_struct *task, *me = current;
210 task = pid_task(pid, PIDTYPE_PID);
211 if (task && !__fatal_signal_pending(task))
212 group_send_sig_info(SIGKILL, SEND_SIG_PRIV, task, PIDTYPE_MAX);
248 * free_pid() will awaken this task.
266 * because we assume the current task can not be concurrently
358 static struct ns_common *pidns_get(struct task_struct *task)
363 ns = task_active_pid_ns(task);
371 static struct ns_common *pidns_for_children_get(struct task_struct *task)
375 task_lock(task);
376 if (task->nsproxy) {
377 ns = task->nsproxy->pid_ns_for_children;
380 task_unlock(task);