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()
324 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs()
330 unsafe_put_user(0, &tm_frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs()
374 unsafe_put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe()
431 unsafe_put_user(msr, &frame->mc_gregs[PT_MSR], failed); in save_tm_user_regs_unsafe()
476 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_user_regs()
579 unsafe_get_user(current->thread.tm_tfhar, &sr->mc_gregs[PT_NIP], failed); in restore_tm_user_regs()
580 unsafe_get_user(msr, &sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
650 unsafe_get_user(msr_hi, &tm_sr->mc_gregs[PT_MSR], failed); in restore_tm_user_regs()
1002 if (__get_user(new_msr, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE3()
1126 if (__get_user(msr_hi, &mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()
1320 if (__get_user(msr_hi, &tm_mcp->mc_gregs[PT_MSR])) in COMPAT_SYSCALL_DEFINE0()