Lines Matching refs:mc_gregs
104 unsafe_put_user(val, &frame->mc_gregs[i], failed); in __unsafe_save_general_regs()
121 unsafe_get_user(gregs[i], &sr->mc_gregs[i], failed); in __unsafe_restore_general_regs()
148 unsafe_copy_to_user(&frame->mc_gregs, regs, GP_REGS_SIZE, failed); in __unsafe_save_general_regs()
159 unsafe_copy_from_user(regs, &sr->mc_gregs, PT_MSR * sizeof(elf_greg_t), failed); in __unsafe_restore_general_regs()
162 unsafe_copy_from_user(®s->orig_gpr3, &sr->mc_gregs[PT_ORIG_R3], in __unsafe_restore_general_regs()
330 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs()
336 unsafe_put_user(0, &tm_frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs()
380 unsafe_put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe()
437 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe()
482 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_user_regs()
589 unsafe_get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP], failed); in restore_tm_user_regs()
590 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
660 unsafe_get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
1012 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1136 if (__get_user(msr_hi, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()
1330 if (__get_user(msr_hi, &tm_mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()