Home
last modified time | relevance | path

Searched refs:UserNamespace (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Duser_namespace.rs40 pub struct UserNamespace { struct
45 parent: Option<Arc<UserNamespace>>, argument
57 impl Default for UserNamespace { argument
89 fn owner(&self, ns_common: Arc<NsCommon>) -> Arc<UserNamespace> { in owner() argument
115 impl UserNamespace { implementation
H A Ducount.rs10 use super::user_namespace::UserNamespace;
41 ns: Arc<UserNamespace>,
57 ns: Arc::new(UserNamespace::new()), in new()
69 fn alloc_ucounts(&self, ns: Arc<UserNamespace>, uid: usize) -> Arc<Self> { in alloc_ucounts() argument
98 user_ns: Arc<UserNamespace>, in inc_ucounts() argument
121 fn find_ucounts(user_ns: Arc<UserNamespace>, uid: usize) -> Option<Arc<UCounts>> { in find_ucounts() argument
159 user_ns: Arc<UserNamespace>,
H A Dmnt_namespace.rs16 use super::{namespace::NsCommon, ucount::UCounts, user_namespace::UserNamespace};
34 user_ns: Arc<UserNamespace>,
133 fn owner(&self, ns_common: Arc<NsCommon>) -> Arc<UserNamespace> { in owner() argument
149 user_ns: Arc::new(UserNamespace::new()), in new()
162 user_ns: Arc<UserNamespace>, in create_mnt_namespace() argument
192 user_ns: Arc<UserNamespace>, in inc_mnt_namespace() argument
H A Dnamespace.rs6 use crate::namespaces::user_namespace::UserNamespace;
15 pub static ref USER_NS: Arc<UserNamespace> = Arc::new(UserNamespace::new());
22 fn owner(&self, ns_common: Arc<NsCommon>) -> Arc<UserNamespace>; in owner() argument
H A Dpid_namespace.rs7 use super::{namespace::NsCommon, ucount::UCounts, user_namespace::UserNamespace};
41 user_ns: Arc<UserNamespace>,
166 fn owner(&self, ns_common: Arc<NsCommon>) -> Arc<UserNamespace> { in owner() argument
222 user_ns: Arc::new(UserNamespace::new()), in new()
232 user_ns: Arc<UserNamespace>, in create_pid_namespace() argument
263 user_ns: Arc<UserNamespace>, in inc_pid_namespaces() argument
H A Dmod.rs5 use user_namespace::UserNamespace;
56 user_ns: Arc<UserNamespace>, in create_new_namespaces() argument