/bionic/libc/kernel/arch-sh/asm/ |
uaccess.h | 25 #define access_ok(type, addr, size) (__chk_user_ptr(addr), __access_ok((unsigned long __force)(addr), (size))) macro 38 #define __get_user_check(x,ptr,size) ({ long __gu_err = -EFAULT; unsigned long __gu_val = 0; const __typeof__(*(ptr)) *__gu_addr = (ptr); if (likely(access_ok(VERIFY_READ, __gu_addr, (size)))) __get_user_size(__gu_val, __gu_addr, (size), __gu_err); (x) = (__typeof__(*(ptr)))__gu_val; __gu_err; }) 42 #define __put_user_check(x,ptr,size) ({ long __pu_err = -EFAULT; __typeof__(*(ptr)) __user *__pu_addr = (ptr); __typeof__(*(ptr)) __pu_val = x; if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) __put_user_size(__pu_val, __pu_addr, (size), __pu_err); __pu_err; }) 49 #define clear_user(addr,n) ({ void __user * __cl_addr = (addr); unsigned long __cl_size = (n); if (__cl_size && access_ok(VERIFY_WRITE, ((unsigned long)(__cl_addr)), __cl_size)) __cl_size = __clear_user(__cl_addr, __cl_size); __cl_size; })
|
/external/kernel-headers/original/asm-generic/ |
futex.h | 21 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(int)))
|
/external/kernel-headers/original/asm-arm/ |
uaccess.h | 188 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro 193 * "access_ok()" call. 400 if (access_ok(VERIFY_READ, from, n)) 409 if (access_ok(VERIFY_WRITE, to, n)) 419 if (access_ok(VERIFY_WRITE, to, n)) 427 if (access_ok(VERIFY_READ, src, 1))
|
/bionic/libc/kernel/arch-arm/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/development/ndk/platforms/android-3/arch-arm/include/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/asm/ |
uaccess.h | 41 #define access_ok(type,addr,size) (__range_ok(addr,size) == 0) macro
|
/bionic/libc/kernel/arch-x86/asm/ |
uaccess_32.h | 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) macro
|
/development/ndk/platforms/android-5/arch-x86/include/asm/ |
uaccess_32.h | 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/asm/ |
uaccess_32.h | 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) macro
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/asm/ |
uaccess_32.h | 39 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) macro
|
/external/kernel-headers/original/asm-x86/ |
uaccess_32.h | 65 * access_ok: - Checks if a user space pointer is valid 83 #define access_ok(type,addr,size) (likely(__range_ok(addr,size) == 0)) macro 116 * with a separate "access_ok()" call (this is used when we do multiple 241 * Caller must check the pointer with access_ok() before calling this 265 * Caller must check the pointer with access_ok() before calling this 409 * the specified block with access_ok() before calling this function. 449 * the specified block with access_ok() before calling this function. 496 * the specified block with access_ok() before calling this function.
|