Lines Matching defs:count
22 __kernel_size_t __clear_user_hexagon(void __user *dest, unsigned long count)
26 while (count > PAGE_SIZE) {
29 return count - (PAGE_SIZE - uncleared);
30 count -= PAGE_SIZE;
33 if (count)
34 count = raw_copy_to_user(dest, &empty_zero_page, count);
36 return count;
39 unsigned long clear_user_hexagon(void __user *dest, unsigned long count)
41 if (!access_ok(dest, count))
42 return count;
44 return __clear_user_hexagon(dest, count);