Home
last modified time | relevance | path

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

/DragonOS-0.1.8/kernel/src/libs/
Dnotifier.rs12 fn notifier_call(&self, action: u64, data: Option<&T>) -> i32; in notifier_call()
80 action: u64, in call_chain()
91 ret = b.notifier_call(action, data); in call_chain()
126 action: u64, in call_chain()
131 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain()
164 action: u64, in call_chain()
169 return notifier_chain_guard.call_chain(action, data, nr_to_call); in call_chain()
191 action: u64, in call_chain()
195 return self.0.call_chain(action, data, nr_to_call); in call_chain()
/DragonOS-0.1.8/docs/kernel/ipc/
Dsignal.md54 └─────┬─────┘ action │ │ │
56 │ custom action
/DragonOS-0.1.8/
Dbochsrc39 debug: action=ignore, cpu0=ignore
40 info: action=report
41 error: action=report
42 panic: action=ask
/DragonOS-0.1.8/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.8/kernel/src/ipc/
Dsignal.rs341 sighand_struct::convert_ref(pcb.sighand).unwrap().action[(sig as usize) - 1] in sig_fatal()
461 let tmp_ka = &mut hand.action[sig_number as usize - 1]; in get_signal_to_deliver()
770 let action = unsafe { &mut (*(*pcb).sighand).action }; in flush_signal_handlers() localVariable
771 for ka in action.iter_mut() { in flush_signal_handlers()
793 let action = in do_sigaction() localVariable
794 sigaction::convert_mut(unsafe { &mut (*(pcb.sighand)).action[(sig as usize) - 1] }) in do_sigaction()
799 if (action.sa_flags & SA_FLAG_IMMUTABLE) != 0 { in do_sigaction()
809 *(oa) = *action; in do_sigaction()
840 *action = *ac; in do_sigaction()
849 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.8/kernel/src/include/DragonOS/
Dsignal.h135 struct sigaction action[MAX_SIG_NUM]; member
/DragonOS-0.1.8/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()