Searched defs:UCounts (Results 1 – 3 of 3) sorted by relevance
39 pub struct UCounts { struct49 impl Default for UCounts { argument54 impl UCounts { implementation101 ) -> 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()
193 ) -> Result<Option<Arc<UCounts>>, SystemError> { in inc_mnt_namespace()199 pub fn dec_mnt_namespace(&self, uc: Arc<UCounts>) { in dec_mnt_namespace()
264 ) -> Result<Option<Arc<UCounts>>, SystemError> { in inc_pid_namespaces()270 pub fn dec_pid_namespaces(&mut self, uc: Arc<UCounts>) { in dec_pid_namespaces()