Home
last modified time | relevance | path

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

/kernel/
Dpid.c105 static void free_pidmap(struct upid *upid) in free_pidmap() argument
107 int nr = upid->nr; in free_pidmap()
108 struct pidmap *map = upid->ns->pidmap + nr / BITS_PER_PAGE; in free_pidmap()
267 struct upid *upid = pid->numbers + i; in free_pid() local
268 struct pid_namespace *ns = upid->ns; in free_pid()
269 hlist_del_rcu(&upid->pid_chain); in free_pid()
303 struct upid *upid; in alloc_pid() local
336 upid = pid->numbers + ns->level; in alloc_pid()
340 for ( ; upid >= pid->numbers; --upid) { in alloc_pid()
341 hlist_add_head_rcu(&upid->pid_chain, in alloc_pid()
[all …]
Dexit.c1593 SYSCALL_DEFINE5(waitid, int, which, pid_t, upid, struct siginfo __user *, in SYSCALL_DEFINE5() argument
1613 if (upid <= 0) in SYSCALL_DEFINE5()
1618 if (upid <= 0) in SYSCALL_DEFINE5()
1626 pid = find_get_pid(upid); in SYSCALL_DEFINE5()
1662 SYSCALL_DEFINE4(wait4, pid_t, upid, int __user *, stat_addr, in SYSCALL_DEFINE4() argument
1674 if (upid == -1) in SYSCALL_DEFINE4()
1676 else if (upid < 0) { in SYSCALL_DEFINE4()
1678 pid = find_get_pid(-upid); in SYSCALL_DEFINE4()
1679 } else if (upid == 0) { in SYSCALL_DEFINE4()
1684 pid = find_get_pid(upid); in SYSCALL_DEFINE4()
Dpid_namespace.c54 sizeof(struct pid) + (nr_ids - 1) * sizeof(struct upid), in create_pid_cachep()