Lines Matching refs:tm_frame
269 struct mcontext __user *tm_frame, int ctx_has_vsx_region) in __unsafe_save_user_regs() argument
336 if (tm_frame) in __unsafe_save_user_regs()
337 unsafe_put_user(0, &tm_frame->mc_gregs[PT_MSR], failed); in __unsafe_save_user_regs()
345 #define unsafe_save_user_regs(regs, frame, tm_frame, has_vsx, label) do { \ argument
346 if (__unsafe_save_user_regs(regs, frame, tm_frame, has_vsx)) \
370 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe() argument
374 unsafe_save_general_regs(regs, tm_frame, failed); in save_tm_user_regs_unsafe()
382 unsafe_put_user((msr >> 32), &tm_frame->mc_gregs[PT_MSR], failed); 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()
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()
419 unsafe_copy_fpr_to_user(&tm_frame->mc_fregs, current, failed); in save_tm_user_regs_unsafe()
421 unsafe_copy_ckfpr_to_user(&tm_frame->mc_fregs, current, failed); in save_tm_user_regs_unsafe()
432 unsafe_copy_vsx_to_user(&tm_frame->mc_vsregs, current, failed); in save_tm_user_regs_unsafe()
434 unsafe_copy_ckvsx_to_user(&tm_frame->mc_vsregs, current, failed); in save_tm_user_regs_unsafe()
451 struct mcontext __user *tm_frame, unsigned long msr) in save_tm_user_regs_unsafe() argument
457 #define unsafe_save_tm_user_regs(regs, frame, tm_frame, msr, label) do { \ argument
458 if (save_tm_user_regs_unsafe(regs, frame, tm_frame, msr)) \