Lines Matching refs:pos
119 unsigned int pos, unsigned int count,
253 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
260 BUG_ON(*pos < start_pos); in user_regset_copyin()
261 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
263 : min(*count, end_pos - *pos)); in user_regset_copyin()
264 data += *pos - start_pos; in user_regset_copyin()
272 *pos += copy; in user_regset_copyin()
278 static inline void user_regset_copyin_ignore(unsigned int *pos, in user_regset_copyin_ignore() argument
287 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
288 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
290 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
295 *pos += copy; in user_regset_copyin_ignore()