Home
last modified time | relevance | path

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

/DragonOS/kernel/src/exception/ !
H A Dsoftirq.rs105 cpu_running_count: PerCpuVar<AtomicI16>, field
124 let cpu_running_count = PerCpuVar::new(percpu_count).unwrap(); in new() localVariable
128 cpu_running_count, in new()
132 fn cpu_running_count(&self) -> &PerCpuVar<AtomicI16> { in cpu_running_count() method
133 return &self.cpu_running_count; in cpu_running_count()
187 if self.cpu_running_count().get().load(Ordering::SeqCst) >= Self::MAX_RUNNING_PER_CPU { in do_softirq()
192 let _count_guard = RunningCountGuard::new(self.cpu_running_count()); in do_softirq()
274 cpu_running_count: &'a PerCpuVar<AtomicI16>, field
278 fn new(cpu_running_count: &'a PerCpuVar<AtomicI16>) -> RunningCountGuard { in new()
279 cpu_running_count.get().fetch_add(1, Ordering::SeqCst); in new()
[all …]