Lines Matching refs:task
315 void attach_pid(struct task_struct *task, enum pid_type type, in attach_pid() argument
320 link = &task->pids[type]; in attach_pid()
325 static void __change_pid(struct task_struct *task, enum pid_type type, in __change_pid() argument
332 link = &task->pids[type]; in __change_pid()
345 void detach_pid(struct task_struct *task, enum pid_type type) in detach_pid() argument
347 __change_pid(task, type, NULL); in detach_pid()
350 void change_pid(struct task_struct *task, enum pid_type type, in change_pid() argument
353 __change_pid(task, type, pid); in change_pid()
354 attach_pid(task, type, pid); in change_pid()
402 struct pid *get_task_pid(struct task_struct *task, enum pid_type type) in get_task_pid() argument
406 pid = get_pid(task->pids[type].pid); in get_task_pid()