Lines Matching refs:frame
649 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame() localVariable
652 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
661 (*frame).arg0 = sig as u64; in setup_frame()
662 (*frame).arg1 = &((*frame).info) as *const siginfo as usize; in setup_frame()
663 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
664 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
673 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame()
679 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame()
683 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame()
688 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
707 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
708 regs.rsp = frame as u64; in setup_frame()
1034 let frame = regs.rsp as usize as *mut sigframe; in sys_rt_sigreturn() localVariable
1037 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
1045 let mut sigmask: sigset_t = unsafe { (*frame).context.oldmask }; in sys_rt_sigreturn()
1049 if restore_sigcontext(unsafe { &mut (*frame).context }, regs) == false { in sys_rt_sigreturn()