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
517 struct pid *pgrp = tty_get_pgrp(sig->tty); in do_task_stat()
589 seq_put_decimal_ull(m, "", pid_nr_ns(pid, ns)); in do_task_stat()
672 struct pid *pid, struct task_struct *task) in proc_tid_stat() argument
674 return do_task_stat(m, ns, pid, task, 0); in proc_tid_stat()
678 struct pid *pid, struct task_struct *task) in proc_tgid_stat() argument
680 return do_task_stat(m, ns, pid, task, 1); in proc_tgid_stat()
684 struct pid *pid, struct task_struct *task) in proc_pid_statm() argument
719 static struct pid *
720 get_children_pid(struct inode *inode, struct pid *pid_prev, loff_t pos) in get_children_pid()
723 struct pid *pid = NULL; in get_children_pid() local
743 pid = get_pid(task_pid(task)); in get_children_pid()
765 pid = get_pid(task_pid(task)); in get_children_pid()
772 return pid; in get_children_pid()
790 struct pid *pid; in children_seq_next() local
792 pid = get_children_pid(file_inode(seq->file), v, *pos + 1); in children_seq_next()
796 return pid; in children_seq_next()