Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/mm/
Dkernel_mapper.rs51 let prev_count = KERNEL_MAPPER_LOCK_COUNT.fetch_add(1, Ordering::Relaxed); in lock_cpu() localVariable
55 let readonly = prev_count > 0; in lock_cpu()
131 let prev_count = KERNEL_MAPPER_LOCK_COUNT.fetch_sub(1, Ordering::Relaxed); in drop() localVariable
132 if prev_count == 1 { in drop()
/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs196 let prev_count = current_pcb().preempt_count; in do_softirq() localVariable
199 if unlikely(prev_count != current_pcb().preempt_count) { in do_softirq()
203 prev_count, in do_softirq()
206 current_pcb().preempt_count = prev_count; in do_softirq()