/arch/cris/include/asm/ |
H A D | unaligned.h | 7 #include <linux/unaligned/access_ok.h>
|
/arch/mn10300/include/asm/ |
H A D | unaligned.h | 14 #include <linux/unaligned/access_ok.h>
|
/arch/s390/include/asm/ |
H A D | unaligned.h | 7 #include <linux/unaligned/access_ok.h>
|
/arch/x86/include/asm/ |
H A D | unaligned.h | 8 #include <linux/unaligned/access_ok.h>
|
/arch/powerpc/include/asm/ |
H A D | unaligned.h | 9 #include <linux/unaligned/access_ok.h>
|
/arch/powerpc/lib/ |
H A D | usercopy_64.c | 14 if (likely(access_ok(VERIFY_READ, from, n))) 23 if (likely(access_ok(VERIFY_WRITE, to, n))) 32 if (likely(access_ok(VERIFY_READ, from, n) && 33 access_ok(VERIFY_WRITE, to, n)))
|
/arch/m68k/include/asm/ |
H A D | unaligned.h | 17 #include <linux/unaligned/access_ok.h>
|
/arch/mn10300/lib/ |
H A D | usercopy.c | 17 if (access_ok(VERIFY_WRITE, to, n)) 25 if (access_ok(VERIFY_READ, from, n)) 80 if (access_ok(VERIFY_READ, src, 1)) 125 if (access_ok(VERIFY_WRITE, to, n))
|
/arch/x86/lib/ |
H A D | usercopy_64.c | 51 if (access_ok(VERIFY_WRITE, to, n)) 59 if (access_ok(VERIFY_WRITE, to, len) && access_ok(VERIFY_READ, from, len)) {
|
/arch/mips/kernel/ |
H A D | unaligned.c | 492 if (!access_ok(VERIFY_READ, addr, 2)) { 505 if (!access_ok(VERIFY_READ, addr, 4)) { 518 if (!access_ok(VERIFY_READ, addr, 2)) { 531 if (!access_ok(VERIFY_WRITE, addr, 2)) { 544 if (!access_ok(VERIFY_WRITE, addr, 4)) { 564 if (!access_ok(VERIFY_READ, addr, 2)) 575 if (!access_ok(VERIFY_READ, addr, 4)) 586 if (!access_ok(VERIFY_READ, addr, 2)) 605 if (!access_ok(VERIFY_READ, addr, 4)) 628 if (!access_ok(VERIFY_REA [all...] |
/arch/score/include/asm/ |
H A D | uaccess.h | 32 * access_ok: - Checks if a user space pointer is valid 56 #define access_ok(type, addr, size) \ macro 110 * Caller must check the pointer with access_ok() before calling this 131 * Caller must check the pointer with access_ok() before calling this 184 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \ 250 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \ 298 if (access_ok(VERIFY_READ, from, len)) 313 if (access_ok(VERIFY_WRITE, to, len)) 346 if (access_ok(VERIFY_READ, from, len) && 347 access_ok(VERFITY_WRIT [all...] |
/arch/blackfin/include/asm/ |
H A D | uaccess.h | 35 #define access_ok(type, addr, size) _access_ok((unsigned long)(addr), (size)) macro 76 if (!access_ok(VERIFY_WRITE, _p, sizeof(*(_p)))) {\ 135 if (likely(access_ok(VERIFY_READ, _p, ptr_size))) { \ 180 if (access_ok(VERIFY_READ, from, n)) 190 if (access_ok(VERIFY_WRITE, to, n)) 206 if (!access_ok(VERIFY_READ, src, 1)) 226 if (!access_ok(VERIFY_READ, src, 1)) 233 if (!access_ok(VERIFY_READ, src, 1)) 245 if (!access_ok(VERIFY_WRITE, to, n))
|
/arch/hexagon/mm/ |
H A D | uaccess.c | 55 if (!access_ok(VERIFY_WRITE, dest, count))
|
/arch/m32r/lib/ |
H A D | usercopy.c | 18 if (access_ok(VERIFY_WRITE, to, n)) 27 if (access_ok(VERIFY_READ, from, n)) 124 if (access_ok(VERIFY_READ, src, 1)) 226 if (access_ok(VERIFY_WRITE, to, n))
|
/arch/microblaze/include/asm/ |
H A D | uaccess.h | 89 #define access_ok(type, addr, size) (__range_ok((addr), (size)) == 0) macro 93 static inline int access_ok(int type, const void __user *addr, function 149 if (unlikely(!access_ok(VERIFY_WRITE, to, n))) 202 if (access_ok(VERIFY_READ, __gu_addr, size)) { \ 313 if (access_ok(VERIFY_WRITE, __pu_addr, size)) { \ 375 if (access_ok(VERIFY_READ, from, n)) 389 if (access_ok(VERIFY_WRITE, to, n)) 404 if (!access_ok(VERIFY_READ, src, 1)) 418 if (!access_ok(VERIFY_READ, src, 1))
|
/arch/tile/include/asm/ |
H A D | uaccess.h | 74 * access_ok: - Checks if a user space pointer is valid 92 #define access_ok(type, addr, size) ({ \ macro 207 * Caller must check the pointer with access_ok() before calling this 284 * Caller must check the pointer with access_ok() before calling this 311 access_ok(VERIFY_WRITE, (__Pu_addr), sizeof(*(__Pu_addr))) ? \ 319 access_ok(VERIFY_READ, (__Gu_addr), sizeof(*(__Gu_addr))) ? \ 333 * the specified block with access_ok() before calling this function. 355 if (access_ok(VERIFY_WRITE, to, n)) 369 * the specified block with access_ok() before calling this function. 397 if (access_ok(VERIFY_REA [all...] |
/arch/arm64/include/asm/ |
H A D | uaccess.h | 102 #define access_ok(type, addr, size) __range_ok(addr, size) macro 107 * space - it must have been done previously with a separate "access_ok()" 172 access_ok(VERIFY_READ, __p, sizeof(*__p)) ? \ 234 access_ok(VERIFY_WRITE, __p, sizeof(*__p)) ? \ 246 if (access_ok(VERIFY_READ, from, n)) 255 if (access_ok(VERIFY_WRITE, to, n)) 262 if (access_ok(VERIFY_READ, from, n) && access_ok(VERIFY_WRITE, to, n)) 272 if (access_ok(VERIFY_WRITE, to, n))
|
/arch/powerpc/oprofile/ |
H A D | backtrace.c | 33 if (!access_ok(VERIFY_READ, p, sizeof(stack_frame))) 59 if (!access_ok(VERIFY_READ, (void __user *)sp, sizeof(stack_frame)))
|
/arch/sh/include/asm/ |
H A D | futex.h | 24 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) 71 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32)))
|
/arch/metag/include/asm/ |
H A D | uaccess.h | 34 * as readv/writev use access_ok to validate pointers, but want 51 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr), \ macro 56 return access_ok(type, addr, size) ? 0 : -EFAULT; 100 if (access_ok(VERIFY_WRITE, __pu_addr, size)) \ 146 if (access_ok(VERIFY_READ, __gu_addr, size)) \ 202 if (access_ok(VERIFY_READ, from, n)) 217 if (access_ok(VERIFY_WRITE, to, n)) 234 if (access_ok(VERIFY_WRITE, to, n))
|
/arch/arm/include/asm/ |
H A D | futex.h | 46 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) 93 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) 124 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32)))
|
/arch/avr32/oprofile/ |
H A D | backtrace.c | 40 if (!access_ok(VERIFY_READ, head, sizeof(bufhead)))
|
/arch/m32r/kernel/ |
H A D | sys_m32r.c | 38 if (!access_ok(VERIFY_WRITE, addr, sizeof (int)))
|
/arch/x86/um/asm/ |
H A D | checksum_32.h | 46 if (access_ok(VERIFY_WRITE, dst, len)) {
|
/arch/alpha/include/asm/ |
H A D | futex.h | 42 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) 90 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32)))
|