Searched refs:action (Results 1 – 10 of 10) sorted by relevance
/DragonOS-0.1.5/kernel/src/exception/ |
D | softirq.rs | 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() [all …]
|
D | softirq.h | 18 extern int register_softirq(uint32_t irq_num, void (*action)(void *data), void *data);
|
/DragonOS-0.1.5/docs/kernel/ipc/ |
D | signal.md | 54 └─────┬─────┘ action │ │ │ 56 │ custom action │
|
/DragonOS-0.1.5/ |
D | bochsrc | 39 debug: action=ignore, cpu0=ignore 40 info: action=report 41 error: action=report 42 panic: action=ask
|
/DragonOS-0.1.5/kernel/src/process/ |
D | fork.rs | 51 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()
|
D | initial_proc.rs | 23 action: [DEFAULT_SIGACTION; MAX_SIG_NUM as usize],
|
/DragonOS-0.1.5/kernel/src/ipc/ |
D | signal.rs | 380 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()
|
D | signal_types.rs | 232 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/ |
D | signal.h | 135 struct sigaction action[MAX_SIG_NUM]; member
|
/DragonOS-0.1.5/kernel/src/sched/ |
D | completion.c | 57 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()
|