Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/exception/
Dsoftirq.rs136 let mut table_guard = self.table.write(); in register_softirq() localVariable
137 if table_guard[softirq_num as usize].is_some() { in register_softirq()
142 table_guard[softirq_num as usize] = Some(handler); in register_softirq()
143 drop(table_guard); in register_softirq()
158 let table_guard = &mut self.table.write(); in unregister_softirq() localVariable
160 table_guard[softirq_num as usize] = None; in unregister_softirq()
161 drop(table_guard); in unregister_softirq()
189 let table_guard = self.table.read(); in do_softirq() localVariable
190 let softirq_func = table_guard[i as usize].clone(); in do_softirq()
191 drop(table_guard); in do_softirq()