Searched refs:uc (Results 1 – 3 of 3) sorted by relevance
75 let uc = if let Some(uc) = counts.get(&key) { in alloc_ucounts() localVariable78 uc.clone() in alloc_ucounts()92 counts.insert(key, uc.clone()); in alloc_ucounts()93 uc in alloc_ucounts()103 let uc = self.alloc_ucounts(user_ns, uid); in inc_ucounts() localVariable104 let mut uc_iter = Some(uc.clone()); in inc_ucounts()118 return Some(uc); in inc_ucounts()127 fn get_ucounts(uc: Arc<UCounts>) { in get_ucounts()130 user_ns: uc.ns.clone(), in get_ucounts()131 uid: uc.uid, in get_ucounts()[all …]
199 pub fn dec_mnt_namespace(&self, uc: Arc<UCounts>) { in dec_mnt_namespace()200 UCounts::dec_ucount(uc, super::ucount::Ucount::MntNamespaces) in dec_mnt_namespace()
270 pub fn dec_pid_namespaces(&mut self, uc: Arc<UCounts>) { in dec_pid_namespaces()271 UCounts::dec_ucount(uc, PidNamespaces) in dec_pid_namespaces()