Lines Matching refs:pids
149 void free_pids(struct pid **pids) in free_pids() argument
157 if (pids[tmp]) in free_pids()
158 free_pid(pids[tmp]); in free_pids()
332 &task->signal->pids[type]; in task_pid_ptr()
348 static void __change_pid(struct pid **pids, struct task_struct *task, in __change_pid() argument
371 WARN_ON(pids[type]); in __change_pid()
372 pids[type] = pid; in __change_pid()
375 void detach_pid(struct pid **pids, struct task_struct *task, enum pid_type type) in detach_pid() argument
377 __change_pid(pids, task, type, NULL); in detach_pid()
380 void change_pid(struct pid **pids, struct task_struct *task, enum pid_type type, in change_pid() argument
383 __change_pid(pids, task, type, pid); in change_pid()