Home
last modified time | relevance | path

Searched defs:UCounts (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Ducount.rs39 pub struct UCounts { struct
49 impl Default for UCounts { argument
54 impl UCounts { implementation
101 ) -> Option<Arc<UCounts>> { in inc_ucounts()
121 fn find_ucounts(user_ns: Arc<UserNamespace>, uid: usize) -> Option<Arc<UCounts>> { in find_ucounts()
127 fn get_ucounts(uc: Arc<UCounts>) { in get_ucounts()
136 pub fn dec_ucount(uc: Arc<UCounts>, ucount_type: Ucount) { in dec_ucount()
149 fn put_ucounts(uc: Arc<UCounts>) { in put_ucounts()
H A Dmnt_namespace.rs193 ) -> Result<Option<Arc<UCounts>>, SystemError> { in inc_mnt_namespace()
199 pub fn dec_mnt_namespace(&self, uc: Arc<UCounts>) { in dec_mnt_namespace()
H A Dpid_namespace.rs264 ) -> Result<Option<Arc<UCounts>>, SystemError> { in inc_pid_namespaces()
270 pub fn dec_pid_namespaces(&mut self, uc: Arc<UCounts>) { in dec_pid_namespaces()