Lines Matching refs:pos

265 		   unsigned int pos, unsigned int count,  in gpr_get()  argument
279 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in gpr_get()
284 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &msr, in gpr_get()
294 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in gpr_get()
299 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in gpr_get()
306 unsigned int pos, unsigned int count, in gpr_set() argument
317 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
322 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
333 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
340 &pos, &count, &kbuf, &ubuf, in gpr_set()
345 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
354 &pos, &count, &kbuf, &ubuf, in gpr_set()
361 unsigned int pos, unsigned int count, in fpr_get() argument
375 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in fpr_get()
381 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in fpr_get()
387 unsigned int pos, unsigned int count, in fpr_set() argument
398 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in fpr_set()
409 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in fpr_set()
436 unsigned int pos, unsigned int count, in vr_get() argument
446 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in vr_get()
459 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
467 unsigned int pos, unsigned int count, in vr_set() argument
477 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in vr_set()
490 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
515 unsigned int pos, unsigned int count, in vsr_get() argument
525 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in vsr_get()
532 unsigned int pos, unsigned int count, in vsr_set() argument
540 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in vsr_set()
570 unsigned int pos, unsigned int count, in evr_get() argument
577 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in evr_get()
585 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in evr_get()
593 unsigned int pos, unsigned int count, in evr_set() argument
600 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in evr_set()
608 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in evr_set()
678 unsigned int pos, unsigned int count, in gpr32_get() argument
696 pos /= sizeof(reg); in gpr32_get()
700 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get()
701 *k++ = regs[pos++]; in gpr32_get()
703 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get()
704 if (__put_user((compat_ulong_t) regs[pos++], u++)) in gpr32_get()
707 if (count > 0 && pos == PT_MSR) { in gpr32_get()
713 ++pos; in gpr32_get()
718 for (; count > 0 && pos < PT_REGS_COUNT; --count) in gpr32_get()
719 *k++ = regs[pos++]; in gpr32_get()
721 for (; count > 0 && pos < PT_REGS_COUNT; --count) in gpr32_get()
722 if (__put_user((compat_ulong_t) regs[pos++], u++)) in gpr32_get()
727 pos *= sizeof(reg); in gpr32_get()
729 return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in gpr32_get()
735 unsigned int pos, unsigned int count, in gpr32_set() argument
748 pos /= sizeof(reg); in gpr32_set()
752 for (; count > 0 && pos < PT_MSR; --count) in gpr32_set()
753 regs[pos++] = *k++; in gpr32_set()
755 for (; count > 0 && pos < PT_MSR; --count) { in gpr32_set()
758 regs[pos++] = reg; in gpr32_set()
762 if (count > 0 && pos == PT_MSR) { in gpr32_set()
768 ++pos; in gpr32_set()
773 for (; count > 0 && pos <= PT_MAX_PUT_REG; --count) in gpr32_set()
774 regs[pos++] = *k++; in gpr32_set()
775 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set()
778 for (; count > 0 && pos <= PT_MAX_PUT_REG; --count) { in gpr32_set()
781 regs[pos++] = reg; in gpr32_set()
783 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set()
788 if (count > 0 && pos == PT_TRAP) { in gpr32_set()
794 ++pos; in gpr32_set()
800 pos *= sizeof(reg); in gpr32_set()
802 return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr32_set()