Home
last modified time | relevance | path

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

/DragonOS-0.1.2/kernel/src/exception/
Dsoftirq.c58 void register_softirq(uint32_t irq_num, void (*action)(void *data), void *data) in register_softirq()
60 softirq_vector[irq_num].action = action; in register_softirq()
71 softirq_vector[irq_num].action = NULL; in unregister_softirq()
85 …if (softirq_pending & (1 << i) && softirq_vector[i].action != NULL && (!(get_softirq_running() & (… in do_softirq()
99 softirq_vector[i].action(softirq_vector[i].data); in do_softirq()
Dsoftirq.h35 void (*action)(void *data); // 软中断处理函数 member
48 void register_softirq(uint32_t irq_num, void (*action)(void *data), void *data);
/DragonOS-0.1.2/
Dbochsrc39 debug: action=ignore, cpu0=ignore
40 info: action=report
41 error: action=report
42 panic: action=ask
/DragonOS-0.1.2/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.2/kernel/src/ipc/
Dsignal.rs351 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
472 let tmp_ka = &mut hand.action[sig_number as usize - 1]; in get_signal_to_deliver()
755 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers() localVariable
756 for ka in action.iter_mut() { in flush_signal_handlers()
889 let action = in do_sigaction() localVariable
890 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
895 if (action.sa_flags & SA_FLAG_IMMUTABLE) != 0 { in do_sigaction()
905 *(oa) = *action; in do_sigaction()
936 *action = *ac; in do_sigaction()
945 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.2/kernel/src/include/DragonOS/
Dsignal.h135 struct sigaction action[MAX_SIG_NUM]; member
/DragonOS-0.1.2/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()