Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Dpid.c137 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->ns->idr, pid, upid->nr); in alloc_pid()
278 upid->ns->pid_allocated++; in alloc_pid()
291 upid = pid->numbers + i; in alloc_pid()
292 idr_remove(&upid->ns->idr, upid->nr); in alloc_pid()
[all …]
Dexit.c1643 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1664 if (upid <= 0) in kernel_waitid()
1667 pid = find_get_pid(upid); in kernel_waitid()
1671 if (upid < 0) in kernel_waitid()
1674 if (upid) in kernel_waitid()
1675 pid = find_get_pid(upid); in kernel_waitid()
1681 if (upid < 0) in kernel_waitid()
1684 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1709 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1714 long err = kernel_waitid(which, upid, &info, options, ru ? &r : NULL); in SYSCALL_DEFINE5()
[all …]
/linux-6.6.21/include/linux/
Dpid.h54 struct upid { struct
70 struct upid numbers[]; argument
/linux-6.6.21/arch/s390/include/asm/
Ddiag.h163 __u8 upid; member
/linux-6.6.21/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.6.21/arch/ia64/kernel/
Dasm-offsets.c34 BUILD_BUG_ON(sizeof(struct upid) != 16); in foo()