Lines Matching refs:frame
604 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame() localVariable
607 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
616 (*frame).arg0 = sig as u64; in setup_frame()
617 (*frame).arg1 = &((*frame).info) as *const siginfo as usize; in setup_frame()
618 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
619 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
628 (*frame).context.sc_stack.fpstate = *fp_state; in setup_frame()
634 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame()
638 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame()
643 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
662 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
663 regs.rsp = frame as u64; in setup_frame()
871 let frame = regs.rsp as usize as *mut sigframe; in sys_rt_sigreturn() localVariable
874 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
882 let mut sigmask: sigset_t = unsafe { (*frame).context.oldmask }; in sys_rt_sigreturn()
886 if restore_sigcontext(unsafe { &mut (*frame).context }, regs) == false { in sys_rt_sigreturn()