Home
last modified time | relevance | path

Searched refs:MntNamespace (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Dmod.rs2 use mnt_namespace::{FsStruct, MntNamespace};
29 pub mnt_namespace: Arc<MntNamespace>,
41 mnt_namespace: Arc::new(MntNamespace::new()), in new()
48 pub fn set_mnt_namespace(&mut self, new_mnt_ns: Arc<MntNamespace>) { in set_mnt_namespace() argument
72 Arc::new(MntNamespace::new().create_mnt_namespace(user_ns.clone(), false)?) in create_new_namespaces()
H A Dmnt_namespace.rs30 pub struct MntNamespace { struct
51 impl Default for MntNamespace { argument
92 impl Namespace for MntNamespace { implementation
95 container_of!(ns_common_ptr, MntNamespace, ns_common) in ns_common_to_ns()
123 let mnt_ns = MntNamespace::ns_common_to_ns(ns_common); in install()
134 let mnt_ns = MntNamespace::ns_common_to_ns(ns_common); in owner()
138 let pid_ns = MntNamespace::ns_common_to_ns(ns_common); in put()
141 impl MntNamespace { impl