Home
last modified time | relevance | path

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

/DragonOS-0.1.5/kernel/src/exception/
Dsoftirq.rs27 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()
[all …]
Dsoftirq.h18 extern int register_softirq(uint32_t irq_num, void (*action)(void *data), void *data);
/DragonOS-0.1.5/docs/kernel/ipc/
Dsignal.md54 └─────┬─────┘ action │ │ │
56 │ custom action
/DragonOS-0.1.5/
Dbochsrc39 debug: action=ignore, cpu0=ignore
40 info: action=report
41 error: action=report
42 panic: action=ask
/DragonOS-0.1.5/kernel/src/process/
Dfork.rs51 for (index, x) in unsafe { (*current_pcb().sighand).action } in process_copy_sighand()
57 sig.action[index] = in process_copy_sighand()
61 sig.action[index] = DEFAULT_SIGACTION; in process_copy_sighand()
Dinitial_proc.rs23 action: [DEFAULT_SIGACTION; MAX_SIG_NUM as usize],
/DragonOS-0.1.5/kernel/src/ipc/
Dsignal.rs380 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
500 let tmp_ka = &mut hand.action[sig_number as usize - 1]; in get_signal_to_deliver()
783 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers() localVariable
784 for ka in action.iter_mut() { in flush_signal_handlers()
919 let action = in do_sigaction() localVariable
920 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
925 if (action.sa_flags & SA_FLAG_IMMUTABLE) != 0 { in do_sigaction()
935 *(oa) = *action; in do_sigaction()
966 *action = *ac; in do_sigaction()
975 if action.ignored(sig) { in do_sigaction()
Dsignal_types.rs232 pub action: [sigaction; MAX_SIG_NUM as usize], field
240 action: [Default::default(); MAX_SIG_NUM as usize], in default()
/DragonOS-0.1.5/kernel/src/include/DragonOS/
Dsignal.h135 struct sigaction action[MAX_SIG_NUM]; member
/DragonOS-0.1.5/kernel/src/sched/
Dcompletion.c57 static long __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) in __wait_for_common()
72 timeout = action(timeout); in __wait_for_common()