Lines Matching refs:mc_vregs
425 if (__copy_to_user(&frame->mc_vregs, ¤t->thread.vr_state, in save_user_regs()
442 if (__put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32])) in save_user_regs()
471 if (__copy_to_user(&frame->mc_vregs, current->thread.evr, in save_user_regs()
481 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_user_regs()
549 if (__copy_to_user(&frame->mc_vregs, ¤t->thread.vr_state, in save_tm_user_regs()
553 if (__copy_to_user(&tm_frame->mc_vregs, in save_tm_user_regs()
558 if (__copy_to_user(&tm_frame->mc_vregs, in save_tm_user_regs()
578 (u32 __user *)&frame->mc_vregs[32])) in save_tm_user_regs()
582 (u32 __user *)&tm_frame->mc_vregs[32])) in save_tm_user_regs()
586 (u32 __user *)&tm_frame->mc_vregs[32])) in save_tm_user_regs()
630 if (__copy_to_user(&frame->mc_vregs, current->thread.evr, in save_tm_user_regs()
639 if (__put_user(current->thread.spefscr, (u32 __user *)&frame->mc_vregs + ELF_NEVRREG)) in save_tm_user_regs()
707 if (__copy_from_user(¤t->thread.vr_state, &sr->mc_vregs, in restore_user_regs()
708 sizeof(sr->mc_vregs))) in restore_user_regs()
715 if (__get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32])) in restore_user_regs()
752 if (__copy_from_user(current->thread.evr, &sr->mc_vregs, in restore_user_regs()
759 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG)) in restore_user_regs()
814 if (__copy_from_user(¤t->thread.vr_state, &sr->mc_vregs, in restore_tm_user_regs()
815 sizeof(sr->mc_vregs)) || in restore_tm_user_regs()
817 &tm_sr->mc_vregs, in restore_tm_user_regs()
818 sizeof(sr->mc_vregs))) in restore_tm_user_regs()
829 (u32 __user *)&sr->mc_vregs[32]) || in restore_tm_user_regs()
831 (u32 __user *)&tm_sr->mc_vregs[32])) in restore_tm_user_regs()
866 if (__copy_from_user(current->thread.evr, &sr->mc_vregs, in restore_tm_user_regs()
873 if (__get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs in restore_tm_user_regs()