Searched refs:MntNamespace (Results 1 – 2 of 2) sorted by relevance
2 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() argument72 Arc::new(MntNamespace::new().create_mnt_namespace(user_ns.clone(), false)?) in create_new_namespaces()
30 pub struct MntNamespace { struct51 impl Default for MntNamespace { argument92 impl Namespace for MntNamespace { implementation95 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