Lines Matching refs:upid
137 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()
477 struct upid *upid; in pid_nr_ns() local
481 upid = &pid->numbers[ns->level]; in pid_nr_ns()
482 if (upid->ns == ns) in pid_nr_ns()
483 nr = upid->nr; in pid_nr_ns()