Home
last modified time | relevance | path

Searched refs:counts (Results 1 – 2 of 2) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Ducount.rs70 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
[all …]
/DragonOS/
H A DLICENSE168 access to copy the source code from the same place counts as