Lines Matching refs:from
263 __copy_tofrom_user(void *to, const void *from, unsigned long size);
265 #define __copy_from_user(to, from, size) \ argument
266 __copy_tofrom_user(to, from, size)
267 #define __copy_to_user(to, from, size) \ argument
268 __copy_tofrom_user(to, from, size)
274 copy_from_user(void *to, const void *from, unsigned long n) in copy_from_user() argument
278 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
279 return __copy_tofrom_user(to, from, n); in copy_from_user()
280 if ((unsigned long)from < TASK_SIZE) { in copy_from_user()
281 over = (unsigned long)from + n - TASK_SIZE; in copy_from_user()
282 return __copy_tofrom_user(to, from, n - over) + over; in copy_from_user()
288 copy_to_user(void *to, const void *from, unsigned long n) in copy_to_user() argument
293 return __copy_tofrom_user(to, from, n); in copy_to_user()
296 return __copy_tofrom_user(to, from, n - over) + over; in copy_to_user()