Home
last modified time | relevance | path

Searched refs:ufp (Results 1 – 6 of 6) sorted by relevance

/arch/arm/vfp/
Dvfpmodule.c548 int vfp_preserve_user_clear_hwstate(struct user_vfp __user *ufp, in vfp_preserve_user_clear_hwstate() argument
562 err |= __copy_to_user(&ufp->fpregs, &hwstate->fpregs, in vfp_preserve_user_clear_hwstate()
567 __put_user_error(hwstate->fpscr, &ufp->fpscr, err); in vfp_preserve_user_clear_hwstate()
591 int vfp_restore_user_hwstate(struct user_vfp __user *ufp, in vfp_restore_user_hwstate() argument
606 err |= __copy_from_user(&hwstate->fpregs, &ufp->fpregs, in vfp_restore_user_hwstate()
611 __get_user_error(hwstate->fpscr, &ufp->fpscr, err); in vfp_restore_user_hwstate()
/arch/arm/kernel/
Dptrace.c303 static int ptrace_getwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_getwmmxregs() argument
310 return copy_to_user(ufp, &thread->fpstate.iwmmxt, IWMMXT_SIZE) in ptrace_getwmmxregs()
317 static int ptrace_setwmmxregs(struct task_struct *tsk, void __user *ufp) in ptrace_setwmmxregs() argument
324 return copy_from_user(&thread->fpstate.iwmmxt, ufp, IWMMXT_SIZE) in ptrace_setwmmxregs()
334 static int ptrace_getcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_getcrunchregs() argument
339 return copy_to_user(ufp, &thread->crunchstate, CRUNCH_SIZE) in ptrace_getcrunchregs()
346 static int ptrace_setcrunchregs(struct task_struct *tsk, void __user *ufp) in ptrace_setcrunchregs() argument
351 return copy_from_user(&thread->crunchstate, ufp, CRUNCH_SIZE) in ptrace_setcrunchregs()
Dsignal.c128 return vfp_preserve_user_clear_hwstate(&frame->ufp, &frame->ufp_exc); in preserve_vfp_context()
145 return vfp_restore_user_hwstate(&frame->ufp, &frame->ufp_exc); in restore_vfp_context()
/arch/arm/include/asm/
Ducontext.h68 struct user_vfp ufp; member
/arch/arm64/kernel/
Dsignal32.c73 } ufp; member
269 err |= __copy_to_user(&frame->ufp.fpregs, fpsimd->vregs, in compat_preserve_vfp_context()
270 sizeof(frame->ufp.fpregs)); in compat_preserve_vfp_context()
275 __put_user_error(fpscr, &frame->ufp.fpscr, err); in compat_preserve_vfp_context()
309 err |= __copy_from_user(fpsimd.vregs, frame->ufp.fpregs, in compat_restore_vfp_context()
310 sizeof(frame->ufp.fpregs)); in compat_restore_vfp_context()
313 __get_user_error(fpscr, &frame->ufp.fpscr, err); in compat_restore_vfp_context()
/arch/sparc/kernel/
Dperf_event.c1741 unsigned long ufp; in perf_callchain_user_64() local
1743 ufp = regs->u_regs[UREG_I6] + STACK_BIAS; in perf_callchain_user_64()
1748 usf = (struct sparc_stackf *) ufp; in perf_callchain_user_64()
1753 ufp = (unsigned long)sf.fp + STACK_BIAS; in perf_callchain_user_64()
1761 unsigned long ufp; in perf_callchain_user_32() local
1763 ufp = regs->u_regs[UREG_I6] & 0xffffffffUL; in perf_callchain_user_32()
1767 if (thread32_stack_is_64bit(ufp)) { in perf_callchain_user_32()
1770 ufp += STACK_BIAS; in perf_callchain_user_32()
1771 usf = (struct sparc_stackf *) ufp; in perf_callchain_user_32()
1775 ufp = ((unsigned long) sf.fp) & 0xffffffff; in perf_callchain_user_32()
[all …]