Lines Matching refs:mc_vregs
279 unsafe_copy_to_user(&frame->mc_vregs, ¤t->thread.vr_state, in __unsafe_save_user_regs()
293 unsafe_put_user(current->thread.vrsave, (u32 __user *)&frame->mc_vregs[32], in __unsafe_save_user_regs()
318 unsafe_copy_to_user(&frame->mc_vregs, current->thread.evr, in __unsafe_save_user_regs()
328 (u32 __user *)&frame->mc_vregs + ELF_NEVRREG, failed); in __unsafe_save_user_regs()
386 unsafe_copy_to_user(&frame->mc_vregs, ¤t->thread.ckvr_state, in save_tm_user_regs_unsafe()
389 unsafe_copy_to_user(&tm_frame->mc_vregs, in save_tm_user_regs_unsafe()
393 unsafe_copy_to_user(&tm_frame->mc_vregs, in save_tm_user_regs_unsafe()
409 (u32 __user *)&frame->mc_vregs[32], failed); in save_tm_user_regs_unsafe()
412 (u32 __user *)&tm_frame->mc_vregs[32], failed); in save_tm_user_regs_unsafe()
415 (u32 __user *)&tm_frame->mc_vregs[32], failed); in save_tm_user_regs_unsafe()
501 unsafe_copy_from_user(¤t->thread.vr_state, &sr->mc_vregs, in restore_user_regs()
502 sizeof(sr->mc_vregs), failed); in restore_user_regs()
509 unsafe_get_user(current->thread.vrsave, (u32 __user *)&sr->mc_vregs[32], failed); in restore_user_regs()
548 unsafe_copy_from_user(¤t->thread.spe, &sr->mc_vregs, in restore_user_regs()
555 unsafe_get_user(current->thread.spefscr, (u32 __user *)&sr->mc_vregs + ELF_NEVRREG, failed); in restore_user_regs()
601 unsafe_copy_from_user(¤t->thread.ckvr_state, &sr->mc_vregs, in restore_tm_user_regs()
602 sizeof(sr->mc_vregs), failed); in restore_tm_user_regs()
613 (u32 __user *)&sr->mc_vregs[32], failed); in restore_tm_user_regs()
644 unsafe_copy_from_user(¤t->thread.vr_state, &tm_sr->mc_vregs, in restore_tm_user_regs()
645 sizeof(sr->mc_vregs), failed); in restore_tm_user_regs()
649 (u32 __user *)&tm_sr->mc_vregs[32], failed); in restore_tm_user_regs()