Lines Matching refs:count
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
225 if (*count == 0) in user_regset_copyout()
229 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout()
230 : min(*count, end_pos - *pos)); in user_regset_copyout()
240 *count -= copy; in user_regset_copyout()
245 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
250 if (*count == 0) in user_regset_copyin()
254 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
255 : min(*count, end_pos - *pos)); in user_regset_copyin()
265 *count -= copy; in user_regset_copyin()
275 unsigned int *count, in user_regset_copyout_zero() argument
280 if (*count == 0) in user_regset_copyout_zero()
284 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout_zero()
285 : min(*count, end_pos - *pos)); in user_regset_copyout_zero()
294 *count -= copy; in user_regset_copyout_zero()
300 unsigned int *count, in user_regset_copyin_ignore() argument
306 if (*count == 0) in user_regset_copyin_ignore()
310 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore()
311 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
317 *count -= copy; in user_regset_copyin_ignore()