• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/cris/include/asm/

Lines Matching refs:to

6 /* Asm:s have been tweaked (within the domain of correctness) to give
12 first in line to be used (notably for local blocks), not colliding with
38 * the KERNEL_DS and USER_DS values to both assign and compare the
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
81 * This gets kind of ugly. We want to return _two_ values in "get_user()"
82 * and yet we don't want to do any pointers, because that is too much
89 * accesses to the same area of user memory).
175 extern unsigned long __copy_user(void __user *to, const void *from, unsigned long n);
176 extern unsigned long __copy_user_zeroing(void *to, const void __user *from, unsigned long n);
177 extern unsigned long __do_clear_user(void __user *to, unsigned long n);
180 __generic_copy_to_user(void __user *to, const void *from, unsigned long n)
182 if (access_ok(VERIFY_WRITE, to, n))
183 return __copy_user(to,from,n);
188 __generic_copy_from_user(void *to, const void __user *from, unsigned long n)
191 return __copy_user_zeroing(to,from,n);
196 __generic_clear_user(void __user *to, unsigned long n)
198 if (access_ok(VERIFY_WRITE, to, n))
199 return __do_clear_user(to,n);
223 __constant_copy_from_user(void *to, const void __user *from, unsigned long n)
229 __asm_copy_from_user_1(to, from, ret);
231 __asm_copy_from_user_2(to, from, ret);
233 __asm_copy_from_user_3(to, from, ret);
235 __asm_copy_from_user_4(to, from, ret);
237 __asm_copy_from_user_5(to, from, ret);
239 __asm_copy_from_user_6(to, from, ret);
241 __asm_copy_from_user_7(to, from, ret);
243 __asm_copy_from_user_8(to, from, ret);
245 __asm_copy_from_user_9(to, from, ret);
247 __asm_copy_from_user_10(to, from, ret);
249 __asm_copy_from_user_11(to, from, ret);
251 __asm_copy_from_user_12(to, from, ret);
253 __asm_copy_from_user_13(to, from, ret);
255 __asm_copy_from_user_14(to, from, ret);
257 __asm_copy_from_user_15(to, from, ret);
259 __asm_copy_from_user_16(to, from, ret);
261 __asm_copy_from_user_20(to, from, ret);
263 __asm_copy_from_user_24(to, from, ret);
265 ret = __generic_copy_from_user(to, from, n);
273 __constant_copy_to_user(void __user *to, const void *from, unsigned long n)
279 __asm_copy_to_user_1(to, from, ret);
281 __asm_copy_to_user_2(to, from, ret);
283 __asm_copy_to_user_3(to, from, ret);
285 __asm_copy_to_user_4(to, from, ret);
287 __asm_copy_to_user_5(to, from, ret);
289 __asm_copy_to_user_6(to, from, ret);
291 __asm_copy_to_user_7(to, from, ret);
293 __asm_copy_to_user_8(to, from, ret);
295 __asm_copy_to_user_9(to, from, ret);
297 __asm_copy_to_user_10(to, from, ret);
299 __asm_copy_to_user_11(to, from, ret);
301 __asm_copy_to_user_12(to, from, ret);
303 __asm_copy_to_user_13(to, from, ret);
305 __asm_copy_to_user_14(to, from, ret);
307 __asm_copy_to_user_15(to, from, ret);
309 __asm_copy_to_user_16(to, from, ret);
311 __asm_copy_to_user_20(to, from, ret);
313 __asm_copy_to_user_24(to, from, ret);
315 ret = __generic_copy_to_user(to, from, n);
323 __constant_clear_user(void __user *to, unsigned long n)
329 __asm_clear_1(to, ret);
331 __asm_clear_2(to, ret);
333 __asm_clear_3(to, ret);
335 __asm_clear_4(to, ret);
337 __asm_clear_8(to, ret);
339 __asm_clear_12(to, ret);
341 __asm_clear_16(to, ret);
343 __asm_clear_20(to, ret);
345 __asm_clear_24(to, ret);
347 ret = __generic_clear_user(to, n);
353 #define clear_user(to, n) \
355 __constant_clear_user(to, n) : \
356 __generic_clear_user(to, n))
358 #define copy_from_user(to, from, n) \
360 __constant_copy_from_user(to, from, n) : \
361 __generic_copy_from_user(to, from, n))
363 #define copy_to_user(to, from, n) \
365 __constant_copy_to_user(to, from, n) : \
366 __generic_copy_to_user(to, from, n))
373 __generic_copy_from_user_nocheck(void *to, const void __user *from,
376 return __copy_user_zeroing(to,from,n);
380 __generic_copy_to_user_nocheck(void __user *to, const void *from,
383 return __copy_user(to,from,n);
387 __generic_clear_user_nocheck(void __user *to, unsigned long n)
389 return __do_clear_user(to,n);
394 #define __copy_to_user(to,from,n) __generic_copy_to_user_nocheck((to),(from),(n))
395 #define __copy_from_user(to,from,n) __generic_copy_from_user_nocheck((to),(from),(n))
398 #define __clear_user(to,n) __generic_clear_user_nocheck((to),(n))