• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/include/asm-s390/

Lines Matching defs:to

61  * address of an instruction that is allowed to fault, and the second is
63 * modified, so it is entirely up to the continuation code to figure out
64 * what to do.
68 * we don't even have to jump over them. Further, they do not intrude
194 * @to: Destination address, in user space.
196 * @n: Number of bytes to copy.
200 * Copy data from kernel space to user space. Caller must check
207 __copy_to_user(void __user *to, const void *from, unsigned long n)
210 return uaccess.copy_to_user_small(n, to, from);
212 return uaccess.copy_to_user(n, to, from);
220 * @to: Destination address, in user space.
222 * @n: Number of bytes to copy.
226 * Copy data from kernel space to user space.
232 copy_to_user(void __user *to, const void *from, unsigned long n)
235 if (access_ok(VERIFY_WRITE, to, n))
236 n = __copy_to_user(to, from, n);
242 * @to: Destination address, in kernel space.
244 * @n: Number of bytes to copy.
248 * Copy data from user space to kernel space. Caller must check
255 * data to the requested size using zero bytes.
258 __copy_from_user(void *to, const void __user *from, unsigned long n)
261 return uaccess.copy_from_user_small(n, from, to);
263 return uaccess.copy_from_user(n, from, to);
268 * @to: Destination address, in kernel space.
270 * @n: Number of bytes to copy.
274 * Copy data from user space to kernel space.
280 * data to the requested size using zero bytes.
283 copy_from_user(void *to, const void __user *from, unsigned long n)
287 n = __copy_from_user(to, from, n);
289 memset(to, 0, n);
294 __copy_in_user(void __user *to, const void __user *from, unsigned long n)
296 return uaccess.copy_in_user(n, to, from);
300 copy_in_user(void __user *to, const void __user *from, unsigned long n)
303 if (__access_ok(from,n) && __access_ok(to,n))
304 n = __copy_in_user(to, from, n);
330 * @str: The string to measure.
339 * If there is a limit on the length of a valid string, you may wish to
349 __clear_user(void __user *to, unsigned long n)
351 return uaccess.clear_user(n, to);
355 clear_user(void __user *to, unsigned long n)
358 if (access_ok(VERIFY_WRITE, to, n))
359 n = uaccess.clear_user(n, to);