Home
last modified time | relevance | path

Searched defs:NsCommon (Results 1 – 4 of 4) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs19 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 Duser_namespace.rs76 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 Dmnt_namespace.rs109 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 Dpid_namespace.rs161 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()