Searched refs:ucount (Results 1 – 6 of 6) sorted by relevance
/DragonOS/kernel/src/namespaces/ |
H A D | ucount.rs | 45 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 D | user_namespace.rs | 13 use crate::namespaces::ucount::UCounts; 19 use super::ucount::Ucount::Counts;
|
H A D | mnt_namespace.rs | 15 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 D | mod.rs | 16 pub mod ucount; module
|
H A D | pid_namespace.rs | 5 use super::ucount::Ucount::PidNamespaces; 7 use super::{namespace::NsCommon, ucount::UCounts, user_namespace::UserNamespace};
|
/DragonOS/docs/kernel/container/namespaces/ |
H A D | pid_namespace.md | 14 - pid_namespace等限制由ucount来控制管理
|