Lines Matching refs:pid
353 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument
767 struct pid *pid; in proc_single_show() local
772 pid = proc_pid(inode); in proc_single_show()
773 task = get_pid_task(pid, PIDTYPE_PID); in proc_single_show()
777 ret = PROC_I(inode)->op.proc_show(m, ns, pid, task); in proc_single_show()
1484 ei->pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode()
1485 if (!ei->pid) in proc_pid_make_inode()
2403 ei->pid = get_task_pid(task, PIDTYPE_PID); in proc_base_instantiate()
2404 if (!ei->pid) in proc_base_instantiate()
2508 struct pid *pid, struct task_struct *task) in proc_pid_personality() argument
2618 static void proc_flush_task_mnt(struct vfsmount *mnt, pid_t pid, pid_t tgid) in proc_flush_task_mnt() argument
2625 name.len = snprintf(buf, sizeof(buf), "%d", pid); in proc_flush_task_mnt()
2650 name.len = snprintf(buf, sizeof(buf), "%d", pid); in proc_flush_task_mnt()
2693 struct pid *pid, *tgid = NULL; in proc_flush_task() local
2696 pid = task_pid(task); in proc_flush_task()
2700 for (i = 0; i <= pid->level; i++) { in proc_flush_task()
2701 upid = &pid->numbers[i]; in proc_flush_task()
2706 upid = &pid->numbers[pid->level]; in proc_flush_task()
2780 struct pid *pid; in next_tgid() local
2787 pid = find_ge_pid(iter.tgid, ns); in next_tgid()
2788 if (pid) { in next_tgid()
2789 iter.tgid = pid_nr_ns(pid, ns); in next_tgid()
2790 iter.task = pid_task(pid, PIDTYPE_PID); in next_tgid()