Lines Matching full:frame
117 struct sigframe32 __user *frame; in setup_frame_32() local
120 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame_32()
121 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32()
124 err |= setup_sigcontext32(regs, &frame->sf_sc); in setup_frame_32()
125 err |= __copy_conv_sigset_to_user(&frame->sf_mask, set); in setup_frame_32()
142 regs->regs[ 6] = (unsigned long) &frame->sf_sc; in setup_frame_32()
143 regs->regs[29] = (unsigned long) frame; in setup_frame_32()
149 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
156 struct rt_sigframe32 __user *frame; in sys32_rt_sigreturn() local
162 frame = (struct rt_sigframe32 __user *)regs->regs[29]; in sys32_rt_sigreturn()
163 if (!access_ok(frame, sizeof(*frame))) in sys32_rt_sigreturn()
165 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sys32_rt_sigreturn()
170 sig = restore_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in sys32_rt_sigreturn()
176 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sys32_rt_sigreturn()
196 struct rt_sigframe32 __user *frame; in setup_rt_frame_32() local
199 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame_32()
200 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_32()
204 err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); in setup_rt_frame_32()
207 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_32()
208 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_32()
209 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_32()
210 err |= setup_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_32()
211 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_32()
227 regs->regs[ 5] = (unsigned long) &frame->rs_info; in setup_rt_frame_32()
228 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame_32()
229 regs->regs[29] = (unsigned long) frame; in setup_rt_frame_32()
235 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
258 struct sigframe32 __user *frame; in sys32_sigreturn() local
264 frame = (struct sigframe32 __user *)regs->regs[29]; in sys32_sigreturn()
265 if (!access_ok(frame, sizeof(*frame))) in sys32_sigreturn()
267 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) in sys32_sigreturn()
272 sig = restore_sigcontext32(regs, &frame->sf_sc); in sys32_sigreturn()