Lines Matching full:frame

118 	struct sigframe32 __user *frame;  in setup_frame_32()  local
121 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_frame_32()
122 if (!access_ok(frame, sizeof (*frame))) in setup_frame_32()
125 err |= setup_sigcontext32(regs, &frame->sf_sc); in setup_frame_32()
126 err |= __copy_conv_sigset_to_user(&frame->sf_mask, set); in setup_frame_32()
143 regs->regs[ 6] = (unsigned long) &frame->sf_sc; in setup_frame_32()
144 regs->regs[29] = (unsigned long) frame; in setup_frame_32()
150 frame, regs->cp0_epc, regs->regs[31]); in setup_frame_32()
157 struct rt_sigframe32 __user *frame; in sys32_rt_sigreturn() local
163 frame = (struct rt_sigframe32 __user *)regs->regs[29]; in sys32_rt_sigreturn()
164 if (!access_ok(frame, sizeof(*frame))) in sys32_rt_sigreturn()
166 if (__copy_conv_sigset_from_user(&set, &frame->rs_uc.uc_sigmask)) in sys32_rt_sigreturn()
171 sig = restore_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in sys32_rt_sigreturn()
177 if (compat_restore_altstack(&frame->rs_uc.uc_stack)) in sys32_rt_sigreturn()
197 struct rt_sigframe32 __user *frame; in setup_rt_frame_32() local
200 frame = get_sigframe(ksig, regs, sizeof(*frame)); in setup_rt_frame_32()
201 if (!access_ok(frame, sizeof (*frame))) in setup_rt_frame_32()
205 err |= copy_siginfo_to_user32(&frame->rs_info, &ksig->info); in setup_rt_frame_32()
208 err |= __put_user(0, &frame->rs_uc.uc_flags); in setup_rt_frame_32()
209 err |= __put_user(0, &frame->rs_uc.uc_link); in setup_rt_frame_32()
210 err |= __compat_save_altstack(&frame->rs_uc.uc_stack, regs->regs[29]); in setup_rt_frame_32()
211 err |= setup_sigcontext32(regs, &frame->rs_uc.uc_mcontext); in setup_rt_frame_32()
212 err |= __copy_conv_sigset_to_user(&frame->rs_uc.uc_sigmask, set); in setup_rt_frame_32()
228 regs->regs[ 5] = (unsigned long) &frame->rs_info; in setup_rt_frame_32()
229 regs->regs[ 6] = (unsigned long) &frame->rs_uc; in setup_rt_frame_32()
230 regs->regs[29] = (unsigned long) frame; in setup_rt_frame_32()
236 frame, regs->cp0_epc, regs->regs[31]); in setup_rt_frame_32()
259 struct sigframe32 __user *frame; in sys32_sigreturn() local
265 frame = (struct sigframe32 __user *)regs->regs[29]; in sys32_sigreturn()
266 if (!access_ok(frame, sizeof(*frame))) in sys32_sigreturn()
268 if (__copy_conv_sigset_from_user(&blocked, &frame->sf_mask)) in sys32_sigreturn()
273 sig = restore_sigcontext32(regs, &frame->sf_sc); in sys32_sigreturn()