/kernel/linux/linux-5.10/kernel/ |
H A D | pid.c | 134 struct upid *upid = pid->numbers + i; in free_pid() local 135 struct pid_namespace *ns = upid->ns; in free_pid() 152 idr_remove(&ns->idr, upid->nr); in free_pid() 166 struct upid *upid; in alloc_pid() local 268 upid = pid->numbers + ns->level; in alloc_pid() 272 for ( ; upid >= pid->numbers; --upid) { in alloc_pid() 274 idr_replace(&upid in alloc_pid() 474 struct upid *upid; pid_nr_ns() local [all...] |
H A D | exit.c | 1570 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument 1591 if (upid <= 0) in kernel_waitid() 1594 pid = find_get_pid(upid); in kernel_waitid() 1598 if (upid < 0) in kernel_waitid() 1601 if (upid) in kernel_waitid() 1602 pid = find_get_pid(upid); in kernel_waitid() 1608 if (upid < 0) in kernel_waitid() 1611 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid() 1636 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() 1641 long err = kernel_waitid(which, upid, in SYSCALL_DEFINE5() 1669 kernel_wait4(pid_t upid, int __user *stat_addr, int options, struct rusage *ru) kernel_wait4() argument [all...] |
H A D | pid_namespace.c | 50 len = sizeof(struct pid) + level * sizeof(struct upid); in create_pid_cachep()
|
/kernel/linux/linux-6.6/kernel/ |
H A D | pid.c | 137 struct upid *upid = pid->numbers + i; in free_pid() local 138 struct pid_namespace *ns = upid->ns; in free_pid() 155 idr_remove(&ns->idr, upid->nr); in free_pid() 169 struct upid *upid; in alloc_pid() local 271 upid = pid->numbers + ns->level; in alloc_pid() 275 for ( ; upid >= pid->numbers; --upid) { in alloc_pid() 277 idr_replace(&upid in alloc_pid() 477 struct upid *upid; pid_nr_ns() local [all...] |
H A D | exit.c | 1658 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument 1679 if (upid <= 0) in kernel_waitid() 1682 pid = find_get_pid(upid); in kernel_waitid() 1686 if (upid < 0) in kernel_waitid() 1689 if (upid) in kernel_waitid() 1690 pid = find_get_pid(upid); in kernel_waitid() 1696 if (upid < 0) in kernel_waitid() 1699 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid() 1724 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() 1729 long err = kernel_waitid(which, upid, in SYSCALL_DEFINE5() 1757 kernel_wait4(pid_t upid, int __user *stat_addr, int options, struct rusage *ru) kernel_wait4() argument [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | pid.h | 49 * struct upid is used to get the id of the struct pid, as it is 54 struct upid { struct 70 struct upid numbers[1];
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | pid.h | 49 * struct upid is used to get the id of the struct pid, as it is 54 struct upid { struct 70 struct upid numbers[];
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | diag.h | 147 __u8 upid; member
|
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | diag.h | 163 __u8 upid; member
|
/kernel/linux/linux-5.10/kernel/time/ |
H A D | posix-cpu-timers.c | 53 const pid_t upid = CPUCLOCK_PID(clock); in pid_for_clock() local 63 if (upid == 0) in pid_for_clock() 66 pid = find_vpid(upid); in pid_for_clock()
|
/kernel/linux/linux-6.6/kernel/time/ |
H A D | posix-cpu-timers.c | 60 const pid_t upid = CPUCLOCK_PID(clock); in pid_for_clock() local 70 if (upid == 0) in pid_for_clock() 73 pid = find_vpid(upid); in pid_for_clock()
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | asm-offsets.c | 34 BUILD_BUG_ON(sizeof(struct upid) != 16); in foo()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | asm-offsets.c | 34 BUILD_BUG_ON(sizeof(struct upid) != 16); in foo()
|