Lines Matching refs:frame
55 struct rt_sigframe_n32 __user *frame; in sysn32_rt_sigreturn() local
61 frame = (struct rt_sigframe_n32 __user *)regs->regs[29]; in sysn32_rt_sigreturn()
62 if (!access_ok(frame, sizeof(*frame))) in sysn32_rt_sigreturn()
64 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sysn32_rt_sigreturn()
69 sig = restore_sigcontext(regs, &frame->rs_uc.uc_mcontext); in sysn32_rt_sigreturn()
75 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sysn32_rt_sigreturn()
95 struct rt_sigframe_n32 __user *frame; in setup_rt_frame_n32() local
98 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame_n32()
99 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_n32()
103 err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); in setup_rt_frame_n32()
106 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_n32()
107 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_n32()
108 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_n32()
109 err |= setup_sigcontext(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_n32()
110 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_n32()
126 regs->regs[ 5] = (unsigned long) &frame->rs_info; in setup_rt_frame_n32()
127 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame_n32()
128 regs->regs[29] = (unsigned long) frame; in setup_rt_frame_n32()
134 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_n32()