Lines Matching refs:pid

387 			  struct pid *pid, struct task_struct *task)  in proc_pid_wchan()  argument
429 struct pid *pid, struct task_struct *task) in proc_pid_stack() argument
477 struct pid *pid, struct task_struct *task) in proc_pid_schedstat() argument
551 struct pid *pid, struct task_struct *task) in proc_oom_score() argument
597 struct pid *pid, struct task_struct *task) in proc_pid_limits() argument
641 struct pid *pid, struct task_struct *task) in proc_pid_syscall() argument
769 struct pid *pid = proc_pid(inode); in proc_single_show() local
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()
1877 struct pid *pid = ei->pid; in proc_pid_evict_inode() local
1880 spin_lock(&pid->lock); in proc_pid_evict_inode()
1882 spin_unlock(&pid->lock); in proc_pid_evict_inode()
1885 put_pid(pid); in proc_pid_evict_inode()
1893 struct pid *pid; in proc_pid_make_inode() local
1911 pid = get_task_pid(task, PIDTYPE_PID); in proc_pid_make_inode()
1912 if (!pid) in proc_pid_make_inode()
1916 ei->pid = pid; in proc_pid_make_inode()
1946 struct pid *pid; in proc_pid_make_base_inode() local
1954 pid = ei->pid; in proc_pid_make_base_inode()
1955 spin_lock(&pid->lock); in proc_pid_make_base_inode()
1956 hlist_add_head_rcu(&ei->sibling_inodes, &pid->inodes); in proc_pid_make_base_inode()
1957 spin_unlock(&pid->lock); in proc_pid_make_base_inode()
2445 struct pid *pid; member
2456 tp->task = get_pid_task(tp->pid, PIDTYPE_PID); in timers_start()
2531 tp->pid = proc_pid(inode); in proc_timers_open()
3024 struct pid *pid, struct task_struct *task) in proc_tid_io_accounting() argument
3030 struct pid *pid, struct task_struct *task) in proc_tgid_io_accounting() argument
3169 struct pid *pid, struct task_struct *task) in proc_pid_personality() argument
3181 struct pid *pid, struct task_struct *task) in proc_pid_patch_state() argument
3190 struct pid *pid, struct task_struct *task) in proc_pid_ksm_merging_pages() argument
3203 struct pid *pid, struct task_struct *task) in proc_pid_ksm_stat() argument
3222 struct pid *pid, struct task_struct *task) in proc_stack_depth() argument
3369 struct pid *tgid_pidfd_to_pid(const struct file *file) in tgid_pidfd_to_pid()
3410 void proc_flush_pid(struct pid *pid) in proc_flush_pid() argument
3412 proc_invalidate_siblings_dcache(&pid->inodes, &pid->lock); in proc_flush_pid()
3481 struct pid *pid; in next_tgid() local
3488 pid = find_ge_pid(iter.tgid, ns); in next_tgid()
3489 if (pid) { in next_tgid()
3490 iter.tgid = pid_nr_ns(pid, ns); in next_tgid()
3491 iter.task = pid_task(pid, PIDTYPE_TGID); in next_tgid()
3790 static struct task_struct *first_tid(struct pid *pid, int tid, loff_t f_pos, in first_tid() argument
3800 task = pid_task(pid, PIDTYPE_PID); in first_tid()