Lines Matching refs:count
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
259 if (*count == 0) in user_regset_copyout()
263 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout()
264 : min(*count, end_pos - *pos)); in user_regset_copyout()
274 *count -= copy; in user_regset_copyout()
279 static inline int user_regset_copyin(unsigned int *pos, unsigned int *count, in user_regset_copyin() argument
284 if (*count == 0) in user_regset_copyin()
288 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin()
289 : min(*count, end_pos - *pos)); in user_regset_copyin()
299 *count -= copy; in user_regset_copyin()
309 unsigned int *count, in user_regset_copyout_zero() argument
314 if (*count == 0) in user_regset_copyout_zero()
318 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyout_zero()
319 : min(*count, end_pos - *pos)); in user_regset_copyout_zero()
328 *count -= copy; in user_regset_copyout_zero()
334 unsigned int *count, in user_regset_copyin_ignore() argument
340 if (*count == 0) in user_regset_copyin_ignore()
344 unsigned int copy = (end_pos < 0 ? *count in user_regset_copyin_ignore()
345 : min(*count, end_pos - *pos)); in user_regset_copyin_ignore()
351 *count -= copy; in user_regset_copyin_ignore()