Lines Matching refs:sf
183 struct compat_sigframe __user *sf) in compat_restore_sigframe() argument
190 err = get_sigset_t(&set, &sf->uc.uc_sigmask); in compat_restore_sigframe()
194 __get_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); in compat_restore_sigframe()
195 __get_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); in compat_restore_sigframe()
196 __get_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); in compat_restore_sigframe()
197 __get_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); in compat_restore_sigframe()
198 __get_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); in compat_restore_sigframe()
199 __get_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); in compat_restore_sigframe()
200 __get_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); in compat_restore_sigframe()
201 __get_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); in compat_restore_sigframe()
202 __get_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); in compat_restore_sigframe()
203 __get_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); in compat_restore_sigframe()
204 __get_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); in compat_restore_sigframe()
205 __get_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); in compat_restore_sigframe()
206 __get_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); in compat_restore_sigframe()
207 __get_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); in compat_restore_sigframe()
208 __get_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); in compat_restore_sigframe()
209 __get_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); in compat_restore_sigframe()
210 __get_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_restore_sigframe()
221 aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; in compat_restore_sigframe()
357 static int compat_setup_sigframe(struct compat_sigframe __user *sf, in compat_setup_sigframe() argument
364 __put_user_error(regs->regs[0], &sf->uc.uc_mcontext.arm_r0, err); in compat_setup_sigframe()
365 __put_user_error(regs->regs[1], &sf->uc.uc_mcontext.arm_r1, err); in compat_setup_sigframe()
366 __put_user_error(regs->regs[2], &sf->uc.uc_mcontext.arm_r2, err); in compat_setup_sigframe()
367 __put_user_error(regs->regs[3], &sf->uc.uc_mcontext.arm_r3, err); in compat_setup_sigframe()
368 __put_user_error(regs->regs[4], &sf->uc.uc_mcontext.arm_r4, err); in compat_setup_sigframe()
369 __put_user_error(regs->regs[5], &sf->uc.uc_mcontext.arm_r5, err); in compat_setup_sigframe()
370 __put_user_error(regs->regs[6], &sf->uc.uc_mcontext.arm_r6, err); in compat_setup_sigframe()
371 __put_user_error(regs->regs[7], &sf->uc.uc_mcontext.arm_r7, err); in compat_setup_sigframe()
372 __put_user_error(regs->regs[8], &sf->uc.uc_mcontext.arm_r8, err); in compat_setup_sigframe()
373 __put_user_error(regs->regs[9], &sf->uc.uc_mcontext.arm_r9, err); in compat_setup_sigframe()
374 __put_user_error(regs->regs[10], &sf->uc.uc_mcontext.arm_r10, err); in compat_setup_sigframe()
375 __put_user_error(regs->regs[11], &sf->uc.uc_mcontext.arm_fp, err); in compat_setup_sigframe()
376 __put_user_error(regs->regs[12], &sf->uc.uc_mcontext.arm_ip, err); in compat_setup_sigframe()
377 __put_user_error(regs->compat_sp, &sf->uc.uc_mcontext.arm_sp, err); in compat_setup_sigframe()
378 __put_user_error(regs->compat_lr, &sf->uc.uc_mcontext.arm_lr, err); in compat_setup_sigframe()
379 __put_user_error(regs->pc, &sf->uc.uc_mcontext.arm_pc, err); in compat_setup_sigframe()
380 __put_user_error(psr, &sf->uc.uc_mcontext.arm_cpsr, err); in compat_setup_sigframe()
382 __put_user_error((compat_ulong_t)0, &sf->uc.uc_mcontext.trap_no, err); in compat_setup_sigframe()
385 FSR_WRITE_SHIFT, &sf->uc.uc_mcontext.error_code, err); in compat_setup_sigframe()
386 __put_user_error(current->thread.fault_address, &sf->uc.uc_mcontext.fault_address, err); in compat_setup_sigframe()
387 __put_user_error(set->sig[0], &sf->uc.uc_mcontext.oldmask, err); in compat_setup_sigframe()
389 err |= put_sigset_t(&sf->uc.uc_sigmask, set); in compat_setup_sigframe()
391 aux = (struct compat_aux_sigframe __user *) sf->uc.uc_regspace; in compat_setup_sigframe()