Home
last modified time | relevance | path

Searched refs:upid (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.10/kernel/
Dpid.c134 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->ns->idr, pid, upid->nr); in alloc_pid()
275 upid->ns->pid_allocated++; in alloc_pid()
288 upid = pid->numbers + i; in alloc_pid()
289 idr_remove(&upid->ns->idr, upid->nr); in alloc_pid()
[all …]
Dexit.c1480 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1501 if (upid <= 0) in kernel_waitid()
1504 pid = find_get_pid(upid); in kernel_waitid()
1508 if (upid < 0) in kernel_waitid()
1511 if (upid) in kernel_waitid()
1512 pid = find_get_pid(upid); in kernel_waitid()
1518 if (upid < 0) in kernel_waitid()
1521 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1546 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1551 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
[all …]
Dpid_namespace.c50 len = sizeof(struct pid) + level * sizeof(struct upid); in create_pid_cachep()
/Linux-v5.10/include/linux/
Dpid.h54 struct upid { struct
70 struct upid numbers[1]; argument
/Linux-v5.10/arch/s390/include/asm/
Ddiag.h147 __u8 upid; member
/Linux-v5.10/kernel/time/
Dposix-cpu-timers.c53 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()
/Linux-v5.10/arch/ia64/kernel/
Dasm-offsets.c34 BUILD_BUG_ON(sizeof(struct upid) != 16); in foo()