Home
last modified time | relevance | path

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

/DragonOS/kernel/src/namespaces/
H A Ducount.rs45 ucount: Vec<AtomicU32>, //[AtomicU32; UCOUNT_COUNTS as usize], field
60 ucount: (0..Ucount::Counts as usize) in new()
84 ucount: (0..Ucount::Counts as usize) in alloc_ucounts()
107 let num = iter.ucount[uc_type].fetch_add(1, core::sync::atomic::Ordering::SeqCst); in inc_ucounts()
112 add_iter.ucount[uc_type].fetch_sub(1, core::sync::atomic::Ordering::SeqCst); in inc_ucounts()
140 let num = iter.ucount[uc_type].fetch_sub(1, core::sync::atomic::Ordering::SeqCst); in dec_ucount()
H A Duser_namespace.rs13 use crate::namespaces::ucount::UCounts;
19 use super::ucount::Ucount::Counts;
H A Dmnt_namespace.rs15 use super::ucount::Ucount::MntNamespaces;
16 use super::{namespace::NsCommon, ucount::UCounts, user_namespace::UserNamespace};
200 UCounts::dec_ucount(uc, super::ucount::Ucount::MntNamespaces) in dec_mnt_namespace()
H A Dmod.rs16 pub mod ucount; module
H A Dpid_namespace.rs5 use super::ucount::Ucount::PidNamespaces;
7 use super::{namespace::NsCommon, ucount::UCounts, user_namespace::UserNamespace};
/DragonOS/docs/kernel/container/namespaces/
H A Dpid_namespace.md14 - pid_namespace等限制由ucount来控制管理