• Home
  • Raw
  • Download

Lines Matching refs:gregs

672 	greg_t __user *gregs = uc->uc_mcontext.gregs;  in rt_restore_ucontext()  local
683 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext()
684 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext()
685 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext()
686 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext()
687 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext()
688 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext()
689 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
690 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
691 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext()
692 err |= __get_user(regs->a1, &gregs[9]); in rt_restore_ucontext()
693 err |= __get_user(regs->a2, &gregs[10]); in rt_restore_ucontext()
694 err |= __get_user(sw->a3, &gregs[11]); in rt_restore_ucontext()
695 err |= __get_user(sw->a4, &gregs[12]); in rt_restore_ucontext()
696 err |= __get_user(sw->a5, &gregs[13]); in rt_restore_ucontext()
697 err |= __get_user(sw->a6, &gregs[14]); in rt_restore_ucontext()
698 err |= __get_user(usp, &gregs[15]); in rt_restore_ucontext()
700 err |= __get_user(regs->pc, &gregs[16]); in rt_restore_ucontext()
701 err |= __get_user(temp, &gregs[17]); in rt_restore_ucontext()
787 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext() local
791 err |= __put_user(regs->d0, &gregs[0]); in rt_setup_ucontext()
792 err |= __put_user(regs->d1, &gregs[1]); in rt_setup_ucontext()
793 err |= __put_user(regs->d2, &gregs[2]); in rt_setup_ucontext()
794 err |= __put_user(regs->d3, &gregs[3]); in rt_setup_ucontext()
795 err |= __put_user(regs->d4, &gregs[4]); in rt_setup_ucontext()
796 err |= __put_user(regs->d5, &gregs[5]); in rt_setup_ucontext()
797 err |= __put_user(sw->d6, &gregs[6]); in rt_setup_ucontext()
798 err |= __put_user(sw->d7, &gregs[7]); in rt_setup_ucontext()
799 err |= __put_user(regs->a0, &gregs[8]); in rt_setup_ucontext()
800 err |= __put_user(regs->a1, &gregs[9]); in rt_setup_ucontext()
801 err |= __put_user(regs->a2, &gregs[10]); in rt_setup_ucontext()
802 err |= __put_user(sw->a3, &gregs[11]); in rt_setup_ucontext()
803 err |= __put_user(sw->a4, &gregs[12]); in rt_setup_ucontext()
804 err |= __put_user(sw->a5, &gregs[13]); in rt_setup_ucontext()
805 err |= __put_user(sw->a6, &gregs[14]); in rt_setup_ucontext()
806 err |= __put_user(rdusp(), &gregs[15]); in rt_setup_ucontext()
807 err |= __put_user(regs->pc, &gregs[16]); in rt_setup_ucontext()
808 err |= __put_user(regs->sr, &gregs[17]); in rt_setup_ucontext()