• Home
  • Raw
  • Download

Lines Matching refs:pos

317 		   unsigned int pos, unsigned int count,  in gpr_get()  argument
331 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in gpr_get()
336 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &msr, in gpr_get()
346 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in gpr_get()
351 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in gpr_get()
358 unsigned int pos, unsigned int count, in gpr_set() argument
369 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
374 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
385 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in gpr_set()
392 &pos, &count, &kbuf, &ubuf, in gpr_set()
397 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in gpr_set()
406 &pos, &count, &kbuf, &ubuf, in gpr_set()
425 unsigned int pos, unsigned int count, in fpr_get() argument
438 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in fpr_get()
445 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in fpr_get()
464 unsigned int pos, unsigned int count, in fpr_set() argument
478 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in fpr_set()
492 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in fpr_set()
533 unsigned int pos, unsigned int count, in vr_get() argument
543 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in vr_get()
558 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_get()
580 unsigned int pos, unsigned int count, in vr_set() argument
590 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in vr_set()
605 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in vr_set()
642 unsigned int pos, unsigned int count, in vsr_get() argument
656 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in vsr_get()
675 unsigned int pos, unsigned int count, in vsr_set() argument
689 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in vsr_set()
719 unsigned int pos, unsigned int count, in evr_get() argument
726 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in evr_get()
734 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in evr_get()
742 unsigned int pos, unsigned int count, in evr_set() argument
749 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in evr_set()
757 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in evr_set()
808 unsigned int pos, unsigned int count, in tm_cgpr_get() argument
823 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_cgpr_get()
829 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &msr, in tm_cgpr_get()
839 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_cgpr_get()
844 ret = user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in tm_cgpr_get()
872 unsigned int pos, unsigned int count, in tm_cgpr_set() argument
888 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set()
893 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in tm_cgpr_set()
904 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cgpr_set()
911 &pos, &count, &kbuf, &ubuf, in tm_cgpr_set()
916 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &reg, in tm_cgpr_set()
925 &pos, &count, &kbuf, &ubuf, in tm_cgpr_set()
974 unsigned int pos, unsigned int count, in tm_cfpr_get() argument
994 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in tm_cfpr_get()
1020 unsigned int pos, unsigned int count, in tm_cfpr_set() argument
1041 i = user_regset_copyin(&pos, &count, &kbuf, &ubuf, buf, 0, -1); in tm_cfpr_set()
1094 unsigned int pos, unsigned int count, in tm_cvmx_get() argument
1112 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_cvmx_get()
1125 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, &vrsave, in tm_cvmx_get()
1156 unsigned int pos, unsigned int count, in tm_cvmx_set() argument
1173 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cvmx_set()
1186 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &vrsave, in tm_cvmx_set()
1238 unsigned int pos, unsigned int count, in tm_cvsx_get() argument
1258 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_cvsx_get()
1286 unsigned int pos, unsigned int count, in tm_cvsx_set() argument
1307 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_cvsx_set()
1353 unsigned int pos, unsigned int count, in tm_spr_get() argument
1372 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_spr_get()
1377 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_spr_get()
1383 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_spr_get()
1409 unsigned int pos, unsigned int count, in tm_spr_set() argument
1428 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_spr_set()
1433 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_spr_set()
1439 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_spr_set()
1459 unsigned int pos, unsigned int count, in tm_tar_get() argument
1470 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_tar_get()
1477 unsigned int pos, unsigned int count, in tm_tar_set() argument
1488 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_tar_set()
1508 unsigned int pos, unsigned int count, in tm_ppr_get() argument
1519 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_ppr_get()
1526 unsigned int pos, unsigned int count, in tm_ppr_set() argument
1537 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_ppr_set()
1556 unsigned int pos, unsigned int count, in tm_dscr_get() argument
1567 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tm_dscr_get()
1574 unsigned int pos, unsigned int count, in tm_dscr_set() argument
1585 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tm_dscr_set()
1594 unsigned int pos, unsigned int count, in ppr_get() argument
1599 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in ppr_get()
1606 unsigned int pos, unsigned int count, in ppr_set() argument
1611 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ppr_set()
1618 unsigned int pos, unsigned int count, in dscr_get() argument
1623 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in dscr_get()
1629 unsigned int pos, unsigned int count, in dscr_set() argument
1634 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in dscr_set()
1642 unsigned int pos, unsigned int count, in tar_get() argument
1647 ret = user_regset_copyout(&pos, &count, &kbuf, &ubuf, in tar_get()
1653 unsigned int pos, unsigned int count, in tar_set() argument
1658 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in tar_set()
1677 unsigned int pos, unsigned int count, in ebb_get() argument
1690 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in ebb_get()
1696 unsigned int pos, unsigned int count, in ebb_set() argument
1711 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ebb_set()
1715 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ebb_set()
1720 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in ebb_set()
1737 unsigned int pos, unsigned int count, in pmu_get() argument
1749 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in pmu_get()
1756 unsigned int pos, unsigned int count, in pmu_set() argument
1770 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in pmu_set()
1775 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in pmu_set()
1780 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in pmu_set()
1785 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in pmu_set()
1790 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in pmu_set()
1947 unsigned int pos, unsigned int count, in gpr32_get_common() argument
1955 pos /= sizeof(reg); in gpr32_get_common()
1959 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get_common()
1960 *k++ = regs[pos++]; in gpr32_get_common()
1962 for (; count > 0 && pos < PT_MSR; --count) in gpr32_get_common()
1963 if (__put_user((compat_ulong_t) regs[pos++], u++)) in gpr32_get_common()
1966 if (count > 0 && pos == PT_MSR) { in gpr32_get_common()
1972 ++pos; in gpr32_get_common()
1977 for (; count > 0 && pos < PT_REGS_COUNT; --count) in gpr32_get_common()
1978 *k++ = regs[pos++]; in gpr32_get_common()
1980 for (; count > 0 && pos < PT_REGS_COUNT; --count) in gpr32_get_common()
1981 if (__put_user((compat_ulong_t) regs[pos++], u++)) in gpr32_get_common()
1986 pos *= sizeof(reg); in gpr32_get_common()
1988 return user_regset_copyout_zero(&pos, &count, &kbuf, &ubuf, in gpr32_get_common()
1994 unsigned int pos, unsigned int count, in gpr32_set_common() argument
2002 pos /= sizeof(reg); in gpr32_set_common()
2006 for (; count > 0 && pos < PT_MSR; --count) in gpr32_set_common()
2007 regs[pos++] = *k++; in gpr32_set_common()
2009 for (; count > 0 && pos < PT_MSR; --count) { in gpr32_set_common()
2012 regs[pos++] = reg; in gpr32_set_common()
2016 if (count > 0 && pos == PT_MSR) { in gpr32_set_common()
2022 ++pos; in gpr32_set_common()
2027 for (; count > 0 && pos <= PT_MAX_PUT_REG; --count) in gpr32_set_common()
2028 regs[pos++] = *k++; in gpr32_set_common()
2029 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common()
2032 for (; count > 0 && pos <= PT_MAX_PUT_REG; --count) { in gpr32_set_common()
2035 regs[pos++] = reg; in gpr32_set_common()
2037 for (; count > 0 && pos < PT_TRAP; --count, ++pos) in gpr32_set_common()
2042 if (count > 0 && pos == PT_TRAP) { in gpr32_set_common()
2048 ++pos; in gpr32_set_common()
2054 pos *= sizeof(reg); in gpr32_set_common()
2056 return user_regset_copyin_ignore(&pos, &count, &kbuf, &ubuf, in gpr32_set_common()
2063 unsigned int pos, unsigned int count, in tm_cgpr32_get() argument
2066 return gpr32_get_common(target, regset, pos, count, kbuf, ubuf, in tm_cgpr32_get()
2072 unsigned int pos, unsigned int count, in tm_cgpr32_set() argument
2075 return gpr32_set_common(target, regset, pos, count, kbuf, ubuf, in tm_cgpr32_set()
2082 unsigned int pos, unsigned int count, in gpr32_get() argument
2098 return gpr32_get_common(target, regset, pos, count, kbuf, ubuf, in gpr32_get()
2104 unsigned int pos, unsigned int count, in gpr32_set() argument
2111 return gpr32_set_common(target, regset, pos, count, kbuf, ubuf, in gpr32_set()