Searched defs:NsCommon (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/namespaces/ |
H A D | namespace.rs | 19 fn get(&self, pid: Pid) -> Option<Arc<NsCommon>>; in get() 20 fn put(&self, ns_common: Arc<NsCommon>); in put() 23 fn get_parent(&self, ns_common: Arc<NsCommon>) -> Result<Arc<NsCommon>, SystemError>; in get_parent() 26 pub struct NsCommon { struct 31 impl NsCommon { impl
|
H A D | user_namespace.rs | 76 fn get(&self, pid: Pid) -> Option<Arc<NsCommon>> { in get() 79 fn get_parent(&self, ns_common: Arc<NsCommon>) -> Result<Arc<NsCommon>, SystemError> { in get_parent() 85 ns_common: Arc<NsCommon>, in install() 92 fn put(&self, ns_common: Arc<NsCommon>) { in put()
|
H A D | mnt_namespace.rs | 109 fn get(&self, pid: crate::process::Pid) -> Option<Arc<NsCommon>> { in get() 114 fn get_parent(&self, _ns_common: Arc<NsCommon>) -> Result<Arc<NsCommon>, SystemError> { in get_parent() 120 ns_common: Arc<NsCommon>, in install() 137 fn put(&self, ns_common: Arc<NsCommon>) { in put()
|
H A D | pid_namespace.rs | 161 fn put(&self, ns_common: Arc<NsCommon>) { in put() 171 fn get_parent(&self, ns_common: Arc<NsCommon>) -> Result<Arc<NsCommon>, SystemError> { in get_parent() 186 fn get(&self, pid: Pid) -> Option<Arc<NsCommon>> { in get()
|