Home
last modified time | relevance | path

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

/DragonOS-0.1.9/kernel/src/ipc/
Dsyscall.rs114 old_act: usize, in sigaction()
119 let old_act = old_act as *mut UserSigaction; in sigaction() localVariable
187 if old_act.is_null() { in sigaction()
195 if (retval == Ok(())) && (!old_act.is_null()) { in sigaction()
197 UserBufferWriter::new(old_act, core::mem::size_of::<UserSigaction>(), from_user); in sigaction()
222 (*old_act).handler = sigaction_handler.data() as *mut c_void; in sigaction()
223 (*old_act).flags = old_sigaction.flags(); in sigaction()
224 (*old_act).mask = old_sigaction.mask(); in sigaction()
226 (*old_act).restorer = old_sigaction.restorer().unwrap().data() as *mut c_void; in sigaction()
Dsignal.rs363 old_act: Option<&mut Sigaction>, in do_sigaction()
378 let old_act: Option<&mut Sigaction> = { in do_sigaction() localVariable
379 if old_act.is_some() { in do_sigaction()
380 let oa = old_act.unwrap(); in do_sigaction()
398 if old_act.is_some() { in do_sigaction()
399 *old_act.unwrap().flags_mut() &= SigFlags::SA_ALL; in do_sigaction()
/DragonOS-0.1.9/kernel/src/syscall/
Dmod.rs429 let old_act = args[2]; in handle() localVariable
430 Self::sigaction(sig, act, old_act, frame.from_user()) in handle()