Lines Matching refs:pos
890 unsigned int pos, unsigned int count, in s390_regs_get() argument
899 *k++ = __peek_user(target, pos); in s390_regs_get()
901 pos += sizeof(*k); in s390_regs_get()
906 if (__put_user(__peek_user(target, pos), u++)) in s390_regs_get()
909 pos += sizeof(*u); in s390_regs_get()
917 unsigned int pos, unsigned int count, in s390_regs_set() argument
928 rc = __poke_user(target, pos, *k++); in s390_regs_set()
930 pos += sizeof(*k); in s390_regs_set()
939 rc = __poke_user(target, pos, word); in s390_regs_set()
941 pos += sizeof(*u); in s390_regs_set()
952 const struct user_regset *regset, unsigned int pos, in s390_fpregs_get() argument
965 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in s390_fpregs_get()
970 const struct user_regset *regset, unsigned int pos, in s390_fpregs_set() argument
982 if (count > 0 && pos < offsetof(s390_fp_regs, fprs)) { in s390_fpregs_set()
984 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ufpc, in s390_fpregs_set()
994 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in s390_fpregs_set()
1016 unsigned int pos, unsigned int count, in s390_last_break_get() argument
1034 unsigned int pos, unsigned int count, in s390_last_break_set() argument
1042 unsigned int pos, unsigned int count, in s390_tdb_get() argument
1051 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, data, 0, 256); in s390_tdb_get()
1056 unsigned int pos, unsigned int count, in s390_tdb_set() argument
1064 unsigned int pos, unsigned int count, in s390_vxrs_low_get() argument
1079 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_low_get()
1084 unsigned int pos, unsigned int count, in s390_vxrs_low_set() argument
1099 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_low_set()
1112 unsigned int pos, unsigned int count, in s390_vxrs_high_get() argument
1126 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, vxrs, 0, -1); in s390_vxrs_high_get()
1131 unsigned int pos, unsigned int count, in s390_vxrs_high_set() argument
1145 rc = user_regset_copyin(&pos, &count, &kbuf, &ubuf, in s390_vxrs_high_set()
1155 unsigned int pos, unsigned int count, in s390_system_call_get() argument
1159 return user_regset_copyout(&pos, &count, &kbuf, &ubuf, in s390_system_call_get()
1165 unsigned int pos, unsigned int count, in s390_system_call_set() argument
1169 return user_regset_copyin(&pos, &count, &kbuf, &ubuf, in s390_system_call_set()
1242 unsigned int pos, unsigned int count, in s390_compat_regs_get() argument
1251 *k++ = __peek_user_compat(target, pos); in s390_compat_regs_get()
1253 pos += sizeof(*k); in s390_compat_regs_get()
1258 if (__put_user(__peek_user_compat(target, pos), u++)) in s390_compat_regs_get()
1261 pos += sizeof(*u); in s390_compat_regs_get()
1269 unsigned int pos, unsigned int count, in s390_compat_regs_set() argument
1280 rc = __poke_user_compat(target, pos, *k++); in s390_compat_regs_set()
1282 pos += sizeof(*k); in s390_compat_regs_set()
1291 rc = __poke_user_compat(target, pos, word); in s390_compat_regs_set()
1293 pos += sizeof(*u); in s390_compat_regs_set()
1305 unsigned int pos, unsigned int count, in s390_compat_regs_high_get() argument
1311 &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; in s390_compat_regs_high_get()
1333 unsigned int pos, unsigned int count, in s390_compat_regs_high_set() argument
1340 &task_pt_regs(target)->gprs[pos / sizeof(compat_ulong_t)]; in s390_compat_regs_high_set()
1366 unsigned int pos, unsigned int count, in s390_compat_last_break_get() argument
1387 unsigned int pos, unsigned int count, in s390_compat_last_break_set() argument