Lines Matching refs:pos

60 			       unsigned int pos, unsigned int count,
81 unsigned int pos, unsigned int count,
257 static inline int user_regset_copyout(unsigned int *pos, unsigned int *count, in user_regset_copyout() argument
264 BUG_ON(*pos < start_pos); in user_regset_copyout()
265 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
267 : min(*count, end_pos - *pos)); in user_regset_copyout()
268 data += *pos - start_pos; in user_regset_copyout()
276 *pos += copy; in user_regset_copyout()
282 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
289 BUG_ON(*pos < start_pos); in user_regset_copyin()
290 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
292 : min(*count, end_pos - *pos)); in user_regset_copyin()
293 data += *pos - start_pos; in user_regset_copyin()
301 *pos += copy; in user_regset_copyin()
311 static inline int user_regset_copyout_zero(unsigned int *pos, in user_regset_copyout_zero() argument
319 BUG_ON(*pos < start_pos); in user_regset_copyout_zero()
320 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
322 : min(*count, end_pos - *pos)); in user_regset_copyout_zero()
330 *pos += copy; in user_regset_copyout_zero()
336 static inline int user_regset_copyin_ignore(unsigned int *pos, in user_regset_copyin_ignore() argument
345 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
346 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
348 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
353 *pos += copy; in user_regset_copyin_ignore()