Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs30 static mut __CPU_PENDING: Option<Box<[VecStatus; MAX_CPU_NUM as usize]>> = None;
42 __CPU_PENDING = Some(Box::new([VecStatus::default(); MAX_CPU_NUM as usize])); in softirq_init()
45 cpu_pending[i as usize] = VecStatus::default(); in softirq_init()
60 fn cpu_pending(cpu_id: usize) -> &'static mut VecStatus { in cpu_pending() argument
84 pub struct VecStatus: u64 {
90 impl From<SoftirqNumber> for VecStatus { implementation
166 cpu_pending(smp_get_processor_id() as usize).set(VecStatus::from(softirq_num), false); in unregister_softirq()
231 cpu_pending(processor_id).insert(VecStatus::from(softirq_num)); in raise_softirq()
240 cpu_pending(smp_get_processor_id() as usize).remove(VecStatus::from(softirq_num)); in clear_softirq_pending()