Lines Matching refs:pid

149 				struct pid *pid, struct task_struct *p)  in task_state()  argument
186 seq_put_decimal_ull(m, "\nPid:\t", pid_nr_ns(pid, ns)); in task_state()
210 for (g = ns->level; g <= pid->level; g++) in task_state()
211 seq_put_decimal_ull(m, "\t", task_tgid_nr_ns(p, pid->numbers[g].ns)); in task_state()
213 for (g = ns->level; g <= pid->level; g++) in task_state()
214 seq_put_decimal_ull(m, "\t", task_pid_nr_ns(p, pid->numbers[g].ns)); in task_state()
216 for (g = ns->level; g <= pid->level; g++) in task_state()
217 seq_put_decimal_ull(m, "\t", task_pgrp_nr_ns(p, pid->numbers[g].ns)); in task_state()
219 for (g = ns->level; g <= pid->level; g++) in task_state()
220 seq_put_decimal_ull(m, "\t", task_session_nr_ns(p, pid->numbers[g].ns)); in task_state()
440 struct pid *pid, struct task_struct *task) in proc_pid_status() argument
448 task_state(m, ns, pid, task); in proc_pid_status()
468 struct pid *pid, struct task_struct *task, int whole) in do_task_stat() argument
521 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
582 seq_put_decimal_ull(m, "", pid_nr_ns(pid, ns)); in do_task_stat()
665 struct pid *pid, struct task_struct *task) in proc_tid_stat() argument
667 return do_task_stat(m, ns, pid, task, 0); in proc_tid_stat()
671 struct pid *pid, struct task_struct *task) in proc_tgid_stat() argument
673 return do_task_stat(m, ns, pid, task, 1); in proc_tgid_stat()
677 struct pid *pid, struct task_struct *task) in proc_pid_statm() argument
712 static struct pid *
713 get_children_pid(struct inode *inode, struct pid *pid_prev, loff_t pos) in get_children_pid()
716 struct pid *pid = NULL; in get_children_pid() local
736 pid = get_pid(task_pid(task)); in get_children_pid()
758 pid = get_pid(task_pid(task)); in get_children_pid()
765 return pid; in get_children_pid()
783 struct pid *pid; in children_seq_next() local
785 pid = get_children_pid(file_inode(seq->file), v, *pos + 1); in children_seq_next()
789 return pid; in children_seq_next()