Lines Matching refs:frame
643 let frame: *mut sigframe = get_stack(ka, ®s, size_of::<sigframe>()); in setup_frame() localVariable
646 let access_check_ok = unsafe { verify_area(frame as u64, size_of::<sigframe>() as u64) }; in setup_frame()
655 (*frame).arg0 = sig as u64; in setup_frame()
656 (*frame).arg1 = &((*frame).info) as *const siginfo as usize; in setup_frame()
657 (*frame).arg2 = &((*frame).context) as *const sigcontext as usize; in setup_frame()
658 (*frame).handler = ka._u._sa_handler as usize as *mut c_void; in setup_frame()
662 err |= copy_siginfo_to_user(unsafe { &mut (*frame).info }, info).unwrap_or(1); in setup_frame()
666 err |= setup_sigcontext(unsafe { &mut (*frame).context }, oldset, ®s).unwrap_or(1); in setup_frame()
671 (*frame).ret_code_ptr = ka.sa_restorer as usize as *mut c_void; in setup_frame()
687 regs.rsi = unsafe { &(*frame).info as *const siginfo as u64 }; in setup_frame()
688 regs.rsp = frame as u64; in setup_frame()
998 let frame = regs.rsp as usize as *mut sigframe; in sys_rt_sigreturn() localVariable
1001 if unsafe { !verify_area(frame as u64, size_of::<sigframe>() as u64) } { in sys_rt_sigreturn()
1009 let mut sigmask: sigset_t = unsafe { (*frame).context.oldmask }; in sys_rt_sigreturn()
1013 if restore_sigcontext(unsafe { &mut (*frame).context }, regs) == false { in sys_rt_sigreturn()