Lines Matching refs:PidNamespace
30 pub struct PidNamespace { struct
37 parent: Option<Arc<PidNamespace>>, argument
48 impl Default for PidNamespace { argument
69 pub ns: Arc<PidNamespace>,
78 ns: Arc::new(PidNamespace::new()), in new()
89 pub fn alloc_pid(ns: Arc<PidNamespace>, set_tid: Vec<usize>) -> Result<PidStrcut, SystemError> { in alloc_pid() argument
137 pub fn ns_of_pid(&self) -> Arc<PidNamespace> { in ns_of_pid() argument
154 impl Namespace for PidNamespace { implementation
156 container_of!(Arc::as_ptr(&ns_common), PidNamespace, ns_common) in ns_common_to_ns()
162 let _pid_ns = PidNamespace::ns_common_to_ns(ns_common); in put()
167 let pid_ns = PidNamespace::ns_common_to_ns(ns_common); in owner()
175 let mut pid_ns = &PidNamespace::ns_common_to_ns(ns_common).parent; in get_parent()
195 let mut pid_ns = PidNamespace::ns_common_to_ns(ns_common); in install()
213 impl PidNamespace { impl
231 parent: Arc<PidNamespace>, in create_pid_namespace() argument