Lines Matching refs:action
27 pub action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, //软中断处理函数 field
34 action: None, in default()
83 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq()
87 softirq_handler.register_softirq(irq_num, action, data); in register_softirq()
191 action: Option<unsafe extern "C" fn(data: *mut ::core::ffi::c_void)>, in register_softirq()
194 if self.table[irq_num as usize].action.is_some() { in register_softirq()
198 if unsafe { verify_area(action.unwrap() as u64, 1) } { in register_softirq()
202 self.table[irq_num as usize].action = action; in register_softirq()
229 self.table[irq_num as usize].action = None; in unregister_softirq()
241 && self.table[softirq_index as usize].action.is_some() in do_softirq()
246 || self.table[softirq_index as usize].action.is_none() in do_softirq()
255 (self.table[softirq_index as usize].action.unwrap())( in do_softirq()