Home
last modified time | relevance | path

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

/linux-6.1.9/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.c1634 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1655 if (upid <= 0) in kernel_waitid()
1658 pid = find_get_pid(upid); in kernel_waitid()
1662 if (upid < 0) in kernel_waitid()
1665 if (upid) in kernel_waitid()
1666 pid = find_get_pid(upid); in kernel_waitid()
1672 if (upid < 0) in kernel_waitid()
1675 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1700 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1705 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-6.1.9/include/linux/
Dpid.h54 struct upid { struct
70 struct upid numbers[1]; argument
/linux-6.1.9/arch/s390/include/asm/
Ddiag.h148 __u8 upid; member
/linux-6.1.9/kernel/time/
Dposix-cpu-timers.c60 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()
/linux-6.1.9/arch/ia64/kernel/
Dasm-offsets.c34 BUILD_BUG_ON(sizeof(struct upid) != 16); in foo()