Lines Matching refs:pos

57 			       unsigned int pos, unsigned int count,
78 unsigned int pos, unsigned int count,
254 static inline int user_regset_copyout(unsigned int *pos, unsigned int *count, in user_regset_copyout() argument
261 BUG_ON(*pos < start_pos); in user_regset_copyout()
262 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
264 : min(*count, end_pos - *pos)); in user_regset_copyout()
265 data += *pos - start_pos; in user_regset_copyout()
273 *pos += copy; in user_regset_copyout()
279 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
286 BUG_ON(*pos < start_pos); in user_regset_copyin()
287 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
289 : min(*count, end_pos - *pos)); in user_regset_copyin()
290 data += *pos - start_pos; in user_regset_copyin()
298 *pos += copy; in user_regset_copyin()
308 static inline int user_regset_copyout_zero(unsigned int *pos, in user_regset_copyout_zero() argument
316 BUG_ON(*pos < start_pos); in user_regset_copyout_zero()
317 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
319 : min(*count, end_pos - *pos)); in user_regset_copyout_zero()
327 *pos += copy; in user_regset_copyout_zero()
333 static inline int user_regset_copyin_ignore(unsigned int *pos, in user_regset_copyin_ignore() argument
342 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
343 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
345 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
350 *pos += copy; in user_regset_copyin_ignore()