Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs238 let mut softirq_index: u32 = 0; //软中断向量号码 in do_softirq() localVariable
239 while (softirq_index as u64) < MAX_SOFTIRQ_NUM && self.pending != 0 { in do_softirq()
240 if self.is_pending(softirq_index) in do_softirq()
241 && self.table[softirq_index as usize].action.is_some() in do_softirq()
242 && !self.is_running(softirq_index) in do_softirq()
245 if self.is_running(softirq_index) in do_softirq()
246 || self.table[softirq_index as usize].action.is_none() in do_softirq()
251 self.clear_softirq_pending(softirq_index); in do_softirq()
252 self.set_softirq_running(softirq_index); in do_softirq()
255 (self.table[softirq_index as usize].action.unwrap())( in do_softirq()
[all …]