Lines Matching refs:counts
70 let mut counts = COUNT_MANAGER.counts.lock(); in alloc_ucounts() localVariable
75 let uc = if let Some(uc) = counts.get(&key) { in alloc_ucounts()
92 counts.insert(key, uc.clone()); in alloc_ucounts()
122 let counts = COUNT_MANAGER.counts.lock(); in find_ucounts() localVariable
124 counts.get(&key).cloned() in find_ucounts()
128 let mut counts = COUNT_MANAGER.counts.lock(); in get_ucounts() localVariable
133 counts.insert(ukey, uc); in get_ucounts()
150 let mut counts = COUNT_MANAGER.counts.lock(); in put_ucounts() localVariable
155 counts.remove(&key); in put_ucounts()
178 counts: Mutex<HashMap<UKey, Arc<UCounts>>>, field
184 counts: Mutex::new(HashMap::new()), in new()