Lines Matching refs:gregs
403 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_restore_ucontext() local
414 err |= __get_user(regs->d0, &gregs[0]); in rt_restore_ucontext()
415 err |= __get_user(regs->d1, &gregs[1]); in rt_restore_ucontext()
416 err |= __get_user(regs->d2, &gregs[2]); in rt_restore_ucontext()
417 err |= __get_user(regs->d3, &gregs[3]); in rt_restore_ucontext()
418 err |= __get_user(regs->d4, &gregs[4]); in rt_restore_ucontext()
419 err |= __get_user(regs->d5, &gregs[5]); in rt_restore_ucontext()
420 err |= __get_user(sw->d6, &gregs[6]); in rt_restore_ucontext()
421 err |= __get_user(sw->d7, &gregs[7]); in rt_restore_ucontext()
422 err |= __get_user(regs->a0, &gregs[8]); in rt_restore_ucontext()
423 err |= __get_user(regs->a1, &gregs[9]); in rt_restore_ucontext()
424 err |= __get_user(regs->a2, &gregs[10]); in rt_restore_ucontext()
425 err |= __get_user(sw->a3, &gregs[11]); in rt_restore_ucontext()
426 err |= __get_user(sw->a4, &gregs[12]); in rt_restore_ucontext()
427 err |= __get_user(sw->a5, &gregs[13]); in rt_restore_ucontext()
428 err |= __get_user(sw->a6, &gregs[14]); in rt_restore_ucontext()
429 err |= __get_user(usp, &gregs[15]); in rt_restore_ucontext()
431 err |= __get_user(regs->pc, &gregs[16]); in rt_restore_ucontext()
432 err |= __get_user(temp, &gregs[17]); in rt_restore_ucontext()
613 greg_t __user *gregs = uc->uc_mcontext.gregs; in rt_setup_ucontext() local
617 err |= __put_user(regs->d0, &gregs[0]); in rt_setup_ucontext()
618 err |= __put_user(regs->d1, &gregs[1]); in rt_setup_ucontext()
619 err |= __put_user(regs->d2, &gregs[2]); in rt_setup_ucontext()
620 err |= __put_user(regs->d3, &gregs[3]); in rt_setup_ucontext()
621 err |= __put_user(regs->d4, &gregs[4]); in rt_setup_ucontext()
622 err |= __put_user(regs->d5, &gregs[5]); in rt_setup_ucontext()
623 err |= __put_user(sw->d6, &gregs[6]); in rt_setup_ucontext()
624 err |= __put_user(sw->d7, &gregs[7]); in rt_setup_ucontext()
625 err |= __put_user(regs->a0, &gregs[8]); in rt_setup_ucontext()
626 err |= __put_user(regs->a1, &gregs[9]); in rt_setup_ucontext()
627 err |= __put_user(regs->a2, &gregs[10]); in rt_setup_ucontext()
628 err |= __put_user(sw->a3, &gregs[11]); in rt_setup_ucontext()
629 err |= __put_user(sw->a4, &gregs[12]); in rt_setup_ucontext()
630 err |= __put_user(sw->a5, &gregs[13]); in rt_setup_ucontext()
631 err |= __put_user(sw->a6, &gregs[14]); in rt_setup_ucontext()
632 err |= __put_user(rdusp(), &gregs[15]); in rt_setup_ucontext()
633 err |= __put_user(regs->pc, &gregs[16]); in rt_setup_ucontext()
634 err |= __put_user(regs->sr, &gregs[17]); in rt_setup_ucontext()