Home
last modified time | relevance | path

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

/DragonOS-0.1.7/docs/kernel/ipc/
Dsignal.md54 └─────┬─────┘ action │ │ │
56 │ custom action
/DragonOS-0.1.7/
Dbochsrc39 debug: action=ignore, cpu0=ignore
40 info: action=report
41 error: action=report
42 panic: action=ask
/DragonOS-0.1.7/kernel/src/process/
Dfork.rs52 for (index, x) in unsafe { (*current_pcb().sighand).action } in process_copy_sighand()
58 sig.action[index] = in process_copy_sighand()
62 sig.action[index] = DEFAULT_SIGACTION; in process_copy_sighand()
Dinitial_proc.rs23 action: [DEFAULT_SIGACTION; MAX_SIG_NUM as usize],
/DragonOS-0.1.7/kernel/src/ipc/
Dsignal.rs386 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
506 let tmp_ka = &mut hand.action[sig_number as usize - 1]; in get_signal_to_deliver()
815 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers() localVariable
816 for ka in action.iter_mut() { in flush_signal_handlers()
955 let action = in do_sigaction() localVariable
956 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
961 if (action.sa_flags & SA_FLAG_IMMUTABLE) != 0 { in do_sigaction()
971 *(oa) = *action; in do_sigaction()
1002 *action = *ac; in do_sigaction()
1011 if action.ignored(sig) { in do_sigaction()
Dsignal_types.rs233 pub action: [sigaction; MAX_SIG_NUM as usize], field
241 action: [Default::default(); MAX_SIG_NUM as usize], in default()
/DragonOS-0.1.7/kernel/src/include/DragonOS/
Dsignal.h135 struct sigaction action[MAX_SIG_NUM]; member
/DragonOS-0.1.7/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()