/arch/arm64/kernel/ |
D | signal32.c | 29 } ufp; member 118 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_preserve_vfp_context() 123 __put_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_preserve_vfp_context() 124 __put_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_preserve_vfp_context() 130 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context() 161 for (i = 0; i < ARRAY_SIZE(frame->ufp.fpregs); i += 2) { in compat_restore_vfp_context() 164 __get_user_error(vreg.lo, &frame->ufp.fpregs[i], err); in compat_restore_vfp_context() 165 __get_user_error(vreg.hi, &frame->ufp.fpregs[i + 1], err); in compat_restore_vfp_context() 170 __get_user_error(fpscr, &frame->ufp.fpscr, err); in compat_restore_vfp_context()
|
/arch/arm/vfp/ |
D | vfpmodule.c | 548 int vfp_preserve_user_clear_hwstate(struct user_vfp *ufp, in vfp_preserve_user_clear_hwstate() argument 561 memcpy(&ufp->fpregs, &hwstate->fpregs, sizeof(hwstate->fpregs)); in vfp_preserve_user_clear_hwstate() 566 ufp->fpscr = hwstate->fpscr; in vfp_preserve_user_clear_hwstate() 587 int vfp_restore_user_hwstate(struct user_vfp *ufp, struct user_vfp_exc *ufp_exc) in vfp_restore_user_hwstate() argument 600 memcpy(&hwstate->fpregs, &ufp->fpregs, sizeof(hwstate->fpregs)); in vfp_restore_user_hwstate() 604 hwstate->fpscr = ufp->fpscr; in vfp_restore_user_hwstate()
|
/arch/arm/kernel/ |
D | ptrace.c | 295 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_getwmmxregs() argument 302 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs() 309 static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_setwmmxregs() argument 316 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs() 326 static int ptrace_getcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_getcrunchregs() argument 331 return copy_to_user(ufp, &thread->crunchstate, CRUNCH_SIZE) in ptrace_getcrunchregs() 338 static int ptrace_setcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_setcrunchregs() argument 343 return copy_from_user(&thread->crunchstate, ufp, CRUNCH_SIZE) in ptrace_setcrunchregs()
|
D | signal.c | 144 err = vfp_preserve_user_clear_hwstate(&kframe.ufp, &kframe.ufp_exc); in preserve_vfp_context() 164 return vfp_restore_user_hwstate(&frame.ufp, &frame.ufp_exc); in restore_vfp_context()
|
/arch/sparc/kernel/ |
D | signal_32.c | 78 unsigned long up_psr, pc, npc, ufp; in do_sigreturn() local 96 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn() 99 if (ufp & 0x7) in do_sigreturn() 146 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn() local 157 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn() 160 if (ufp & 0x7) in do_rt_sigreturn()
|
D | perf_event.c | 1800 unsigned long ufp; in perf_callchain_user_64() local 1802 ufp = regs->u_regs[UREG_FP] + STACK_BIAS; in perf_callchain_user_64() 1808 usf = (struct sparc_stackf __user *)ufp; in perf_callchain_user_64() 1816 ufp = (unsigned long)sf.fp + STACK_BIAS; in perf_callchain_user_64() 1824 unsigned long ufp; in perf_callchain_user_32() local 1826 ufp = regs->u_regs[UREG_FP] & 0xffffffffUL; in perf_callchain_user_32() 1830 if (thread32_stack_is_64bit(ufp)) { in perf_callchain_user_32() 1834 ufp += STACK_BIAS; in perf_callchain_user_32() 1835 usf = (struct sparc_stackf __user *)ufp; in perf_callchain_user_32() 1839 ufp = ((unsigned long) sf.fp) & 0xffffffff; in perf_callchain_user_32() [all …]
|
D | signal32.c | 90 unsigned int psr, ufp; in do_sigreturn32() local 108 if (get_user(ufp, &sf->info.si_regs.u_regs[UREG_FP])) in do_sigreturn32() 111 if (ufp & 0x7) in do_sigreturn32() 179 unsigned int psr, pc, npc, ufp; in do_rt_sigreturn32() local 196 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn32() 199 if (ufp & 0x7) in do_rt_sigreturn32()
|
D | signal_64.c | 258 unsigned long tpc, tnpc, tstate, ufp; in do_rt_sigreturn() local 276 if (get_user(ufp, &sf->regs.u_regs[UREG_FP])) in do_rt_sigreturn() 279 if ((ufp + STACK_BIAS) & 0x7) in do_rt_sigreturn()
|
/arch/arm/include/asm/ |
D | ucontext.h | 76 struct user_vfp ufp; member
|