Home
last modified time | relevance | path

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

/DragonOS/kernel/src/namespaces/
H A Ducount.rs102 let uc_type = ucount_type as usize; in inc_ucounts() localVariable
107 let num = iter.ucount[uc_type].fetch_add(1, core::sync::atomic::Ordering::SeqCst); in inc_ucounts()
110 if num > iter.ns.ucount_max[uc_type] { in inc_ucounts()
112 add_iter.ucount[uc_type].fetch_sub(1, core::sync::atomic::Ordering::SeqCst); in inc_ucounts()
138 let uc_type = ucount_type as usize; in dec_ucount() localVariable
140 let num = iter.ucount[uc_type].fetch_sub(1, core::sync::atomic::Ordering::SeqCst); in dec_ucount()