Lines Matching refs:pos

60 			       unsigned int pos, unsigned int count,
81 unsigned int pos, unsigned int count,
220 static inline int user_regset_copyout(unsigned int *pos, unsigned int *count, in user_regset_copyout() argument
227 BUG_ON(*pos < start_pos); in user_regset_copyout()
228 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout()
230 : min(*count, end_pos - *pos)); in user_regset_copyout()
231 data += *pos - start_pos; in user_regset_copyout()
239 *pos += copy; in user_regset_copyout()
245 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
252 BUG_ON(*pos < start_pos); in user_regset_copyin()
253 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin()
255 : min(*count, end_pos - *pos)); in user_regset_copyin()
256 data += *pos - start_pos; in user_regset_copyin()
264 *pos += copy; in user_regset_copyin()
274 static inline int user_regset_copyout_zero(unsigned int *pos, in user_regset_copyout_zero() argument
282 BUG_ON(*pos < start_pos); in user_regset_copyout_zero()
283 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyout_zero()
285 : min(*count, end_pos - *pos)); in user_regset_copyout_zero()
293 *pos += copy; in user_regset_copyout_zero()
299 static inline int user_regset_copyin_ignore(unsigned int *pos, in user_regset_copyin_ignore() argument
308 BUG_ON(*pos < start_pos); in user_regset_copyin_ignore()
309 if (end_pos < 0 || *pos < end_pos) { in user_regset_copyin_ignore()
311 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
316 *pos += copy; in user_regset_copyin_ignore()