Lines Matching refs:tm_sc
207 struct sigcontext __user *tm_sc, in setup_tm_sigcontexts() argument
222 elf_vrreg_t __user *tm_v_regs = sigcontext_vmx_regs(tm_sc); in setup_tm_sigcontexts()
241 err |= __put_user(tm_v_regs, &tm_sc->v_regs); in setup_tm_sigcontexts()
280 err |= __put_user(0, &tm_sc->v_regs); in setup_tm_sigcontexts()
286 err |= copy_fpr_to_user(&tm_sc->fp_regs, tsk); in setup_tm_sigcontexts()
288 err |= copy_ckfpr_to_user(&tm_sc->fp_regs, tsk); in setup_tm_sigcontexts()
315 err |= __put_user(&tm_sc->gp_regs, &tm_sc->regs); in setup_tm_sigcontexts()
316 err |= __copy_to_user(&tm_sc->gp_regs, regs, GP_REGS_SIZE); in setup_tm_sigcontexts()
319 err |= __put_user(msr, &tm_sc->gp_regs[PT_MSR]); in setup_tm_sigcontexts()
439 struct sigcontext __user *tm_sc) in restore_tm_sigcontexts() argument
457 err |= __copy_from_user(regs->gpr, tm_sc->gp_regs, sizeof(regs->gpr)); in restore_tm_sigcontexts()
469 err |= __get_user(regs->nip, &tm_sc->gp_regs[PT_NIP]); in restore_tm_sigcontexts()
482 err |= __get_user(regs->ctr, &tm_sc->gp_regs[PT_CTR]); in restore_tm_sigcontexts()
483 err |= __get_user(regs->link, &tm_sc->gp_regs[PT_LNK]); in restore_tm_sigcontexts()
484 err |= __get_user(regs->xer, &tm_sc->gp_regs[PT_XER]); in restore_tm_sigcontexts()
485 err |= __get_user(regs->ccr, &tm_sc->gp_regs[PT_CCR]); in restore_tm_sigcontexts()
510 err |= __get_user(tm_v_regs, &tm_sc->v_regs); in restore_tm_sigcontexts()
544 err |= copy_fpr_from_user(tsk, &tm_sc->fp_regs); in restore_tm_sigcontexts()
615 struct sigcontext __user *tm_sc) in restore_tm_sigcontexts() argument