Lines Matching refs:pid
63 struct pid *pid = pidfd_pid(f); in pidfd_show_fdinfo() local
67 if (likely(pid_has_task(pid, PIDTYPE_PID))) { in pidfd_show_fdinfo()
69 nr = pid_nr_ns(pid, ns); in pidfd_show_fdinfo()
84 for (i = ns->level + 1; i <= pid->level; i++) in pidfd_show_fdinfo()
85 seq_put_decimal_ll(m, "\t", pid->numbers[i].nr); in pidfd_show_fdinfo()
97 struct pid *pid = pidfd_pid(file); in pidfd_poll() local
102 poll_wait(file, &pid->wait_pidfd, pts); in pidfd_poll()
108 task = pid_task(pid, PIDTYPE_PID); in pidfd_poll()
121 struct pid *pid = pidfd_pid(file); in pidfd_ioctl() local
128 task = get_pid_task(pid, PIDTYPE_PID); in pidfd_ioctl()
232 struct pid *pidfd_pid(const struct file *file) in pidfd_pid()
248 static int pidfs_inum(struct pid *pid, unsigned long *ino) in pidfs_inum() argument
267 static inline int pidfs_inum(struct pid *pid, unsigned long *ino) in pidfs_inum() argument
269 *ino = pid->ino; in pidfs_inum()
322 struct pid *pid = inode->i_private; in pidfs_evict_inode() local
325 put_pid(pid); in pidfs_evict_inode()
367 struct pid *pid = data; in pidfs_put_data() local
368 put_pid(pid); in pidfs_put_data()
396 struct file *pidfs_alloc_file(struct pid *pid, unsigned int flags) in pidfs_alloc_file() argument
403 ret = path_from_stashed(&pid->stashed, pidfs_mnt, get_pid(pid), &path); in pidfs_alloc_file()