Home
last modified time | relevance | path

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

/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.c1647 static long kernel_waitid(int which, pid_t upid, struct waitid_info *infop, in kernel_waitid() argument
1668 if (upid <= 0) in kernel_waitid()
1671 pid = find_get_pid(upid); in kernel_waitid()
1675 if (upid < 0) in kernel_waitid()
1678 if (upid) in kernel_waitid()
1679 pid = find_get_pid(upid); in kernel_waitid()
1685 if (upid < 0) in kernel_waitid()
1688 pid = pidfd_get_pid(upid, &f_flags); in kernel_waitid()
1713 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1718 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()
/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()