Lines Matching refs:gregs

713 	greg_t __user *gregs = uc->uc_mcontext.gregs;  in rt_restore_ucontext()  local
724 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext()
725 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext()
726 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext()
727 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext()
728 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext()
729 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext()
730 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
731 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
732 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext()
733 err |= __get_user(regs->a1, &gregs[9]); in rt_restore_ucontext()
734 err |= __get_user(regs->a2, &gregs[10]); in rt_restore_ucontext()
735 err |= __get_user(sw->a3, &gregs[11]); in rt_restore_ucontext()
736 err |= __get_user(sw->a4, &gregs[12]); in rt_restore_ucontext()
737 err |= __get_user(sw->a5, &gregs[13]); in rt_restore_ucontext()
738 err |= __get_user(sw->a6, &gregs[14]); in rt_restore_ucontext()
739 err |= __get_user(usp, &gregs[15]); in rt_restore_ucontext()
741 err |= __get_user(regs->pc, &gregs[16]); in rt_restore_ucontext()
742 err |= __get_user(temp, &gregs[17]); in rt_restore_ucontext()
833 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext() local
837 err |= __put_user(regs->d0, &gregs[0]); in rt_setup_ucontext()
838 err |= __put_user(regs->d1, &gregs[1]); in rt_setup_ucontext()
839 err |= __put_user(regs->d2, &gregs[2]); in rt_setup_ucontext()
840 err |= __put_user(regs->d3, &gregs[3]); in rt_setup_ucontext()
841 err |= __put_user(regs->d4, &gregs[4]); in rt_setup_ucontext()
842 err |= __put_user(regs->d5, &gregs[5]); in rt_setup_ucontext()
843 err |= __put_user(sw->d6, &gregs[6]); in rt_setup_ucontext()
844 err |= __put_user(sw->d7, &gregs[7]); in rt_setup_ucontext()
845 err |= __put_user(regs->a0, &gregs[8]); in rt_setup_ucontext()
846 err |= __put_user(regs->a1, &gregs[9]); in rt_setup_ucontext()
847 err |= __put_user(regs->a2, &gregs[10]); in rt_setup_ucontext()
848 err |= __put_user(sw->a3, &gregs[11]); in rt_setup_ucontext()
849 err |= __put_user(sw->a4, &gregs[12]); in rt_setup_ucontext()
850 err |= __put_user(sw->a5, &gregs[13]); in rt_setup_ucontext()
851 err |= __put_user(sw->a6, &gregs[14]); in rt_setup_ucontext()
852 err |= __put_user(rdusp(), &gregs[15]); in rt_setup_ucontext()
853 err |= __put_user(tregs->pc, &gregs[16]); in rt_setup_ucontext()
854 err |= __put_user(tregs->sr, &gregs[17]); in rt_setup_ucontext()