Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/exception/
Dsoftirq.rs149 let mut table_guard = self.table.write_irqsave(); in register_softirq() localVariable
150 if table_guard[softirq_num as usize].is_some() { in register_softirq()
155 table_guard[softirq_num as usize] = Some(handler); in register_softirq()
156 drop(table_guard); in register_softirq()
172 let mut table_guard = self.table.write_irqsave(); in unregister_softirq() localVariable
174 table_guard[softirq_num as usize] = None; in unregister_softirq()
175 drop(table_guard); in unregister_softirq()
210 let table_guard = self.table.read_irqsave(); in do_softirq() localVariable
211 let softirq_func = table_guard[i as usize].clone(); in do_softirq()
212 drop(table_guard); in do_softirq()