Home
last modified time | relevance | path

Searched refs:old_act (Results 1 – 3 of 3) sorted by relevance

/DragonOS/kernel/src/ipc/
H A Dsyscall.rs131 old_act: usize, in sigaction()
136 let old_act = old_act as *mut UserSigaction; in sigaction() localVariable
204 if old_act.is_null() { in sigaction()
212 if (retval == Ok(())) && (!old_act.is_null()) { in sigaction()
214 UserBufferWriter::new(old_act, core::mem::size_of::<UserSigaction>(), from_user); in sigaction()
238 (*old_act).handler = sigaction_handler.data() as *mut c_void; in sigaction()
239 (*old_act).flags = old_sigaction.flags(); in sigaction()
240 (*old_act).mask = old_sigaction.mask(); in sigaction()
242 (*old_act).restorer = old_sigaction.restorer().unwrap().data() as *mut c_void; in sigaction()
H A Dsignal.rs383 old_act: Option<&mut Sigaction>, in do_sigaction()
398 let old_act: Option<&mut Sigaction> = { in do_sigaction() localVariable
399 if let Some(oa) = old_act { in do_sigaction()
416 if let Some(act) = old_act { in do_sigaction()
/DragonOS/kernel/src/syscall/
H A Dmod.rs414 let old_act = args[2]; in handle() localVariable
415 Self::sigaction(sig, act, old_act, frame.is_from_user()) in handle()