/linux-2.6.39/drivers/gpu/drm/ |
D | drm_ioc32.c | 94 if (!access_ok(VERIFY_WRITE, version, sizeof(*version))) in compat_drm_version() 141 if (!access_ok(VERIFY_WRITE, u, sizeof(*u))) in compat_drm_getunique() 169 if (!access_ok(VERIFY_WRITE, u, sizeof(*u))) in compat_drm_setunique() 201 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_getmap() 238 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_addmap() 278 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_rmmap() 307 if (!access_ok(VERIFY_WRITE, client, sizeof(*client))) in compat_drm_getclient() 345 if (!access_ok(VERIFY_WRITE, stats, sizeof(*stats))) in compat_drm_getstats() 382 if (!access_ok(VERIFY_WRITE, buf, sizeof(*buf)) in compat_drm_addbufs() 383 || !access_ok(VERIFY_WRITE, argp, sizeof(*argp))) in compat_drm_addbufs() [all …]
|
/linux-2.6.39/arch/tile/include/asm/ |
D | uaccess.h | 28 #define VERIFY_WRITE 1 macro 263 access_ok(VERIFY_WRITE, (__Pu_addr), sizeof(*(__Pu_addr))) ? \ 307 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user() 405 if (access_ok(VERIFY_WRITE, to, n) && access_ok(VERIFY_READ, from, n)) in copy_in_user() 489 if (access_ok(VERIFY_WRITE, mem, len)) in clear_user() 517 if (access_ok(VERIFY_WRITE, mem, len)) in flush_user() 548 if (access_ok(VERIFY_WRITE, mem, len)) in inv_user() 575 if (access_ok(VERIFY_WRITE, mem, len)) in finv_user()
|
/linux-2.6.39/drivers/gpu/drm/radeon/ |
D | radeon_ioc32.c | 70 if (!access_ok(VERIFY_WRITE, init, sizeof(*init)) in compat_radeon_cp_init() 117 if (!access_ok(VERIFY_WRITE, clr, sizeof(*clr)) in compat_radeon_cp_clear() 145 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_cp_stipple() 185 if (!access_ok(VERIFY_WRITE, request, in compat_radeon_cp_texture() 226 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_cp_vertex2() 257 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_cp_cmdbuf() 284 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_cp_getparam() 310 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_mem_alloc() 335 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_irq_emit() 360 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_radeon_cp_setparam()
|
/linux-2.6.39/drivers/gpu/drm/i915/ |
D | i915_ioc32.c | 58 if (!access_ok(VERIFY_WRITE, batchbuffer, sizeof(*batchbuffer)) in compat_i915_batchbuffer() 93 if (!access_ok(VERIFY_WRITE, cmdbuffer, sizeof(*cmdbuffer)) in compat_i915_cmdbuffer() 122 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_i915_irq_emit() 145 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_i915_getparam() 172 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_i915_alloc()
|
/linux-2.6.39/arch/x86/math-emu/ |
D | reg_ld_str.c | 347 FPU_access_ok(VERIFY_WRITE, d, 10); in FPU_store_extended() 366 FPU_access_ok(VERIFY_WRITE, d, 10); in FPU_store_extended() 541 FPU_access_ok(VERIFY_WRITE, dfloat, 8); in FPU_store_double() 554 FPU_access_ok(VERIFY_WRITE, dfloat, 8); in FPU_store_double() 726 FPU_access_ok(VERIFY_WRITE, single, 4); in FPU_store_single() 744 FPU_access_ok(VERIFY_WRITE, single, 4); in FPU_store_single() 793 FPU_access_ok(VERIFY_WRITE, d, 8); in FPU_store_int64() 840 FPU_access_ok(VERIFY_WRITE, d, 4); in FPU_store_int32() 886 FPU_access_ok(VERIFY_WRITE, d, 2); in FPU_store_int16() 927 FPU_access_ok(VERIFY_WRITE, d, 10); in FPU_store_bcd() [all …]
|
/linux-2.6.39/arch/blackfin/include/asm/ |
D | uaccess.h | 33 #define VERIFY_WRITE 1 macro 93 if (!access_ok(VERIFY_WRITE, _p, sizeof(*(_p)))) {\ 207 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user() 261 if (!access_ok(VERIFY_WRITE, to, n)) in __clear_user()
|
/linux-2.6.39/arch/powerpc/lib/ |
D | usercopy_64.c | 23 if (likely(access_ok(VERIFY_WRITE, to, n))) in copy_to_user() 33 access_ok(VERIFY_WRITE, to, n))) in copy_in_user()
|
/linux-2.6.39/include/asm-generic/ |
D | uaccess.h | 38 #define VERIFY_WRITE 1 macro 166 access_ok(VERIFY_WRITE, ptr, sizeof(*ptr)) ? \ 257 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user() 323 if (!access_ok(VERIFY_WRITE, to, n)) in clear_user()
|
/linux-2.6.39/drivers/gpu/drm/r128/ |
D | r128_ioc32.c | 72 if (!access_ok(VERIFY_WRITE, init, sizeof(*init)) in compat_r128_init() 120 if (!access_ok(VERIFY_WRITE, depth, sizeof(*depth)) in compat_r128_depth() 149 if (!access_ok(VERIFY_WRITE, stipple, sizeof(*stipple)) in compat_r128_stipple() 172 if (!access_ok(VERIFY_WRITE, getparam, sizeof(*getparam)) in compat_r128_getparam()
|
/linux-2.6.39/arch/s390/include/asm/ |
D | futex.h | 21 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 45 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/score/include/asm/ |
D | uaccess.h | 9 #define VERIFY_WRITE 1 macro 250 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \ 313 if (access_ok(VERIFY_WRITE, to, len)) in copy_to_user() 366 if (access_ok(VERIFY_WRITE, src, size)) in clear_user()
|
/linux-2.6.39/arch/microblaze/include/asm/ |
D | uaccess.h | 28 #define VERIFY_WRITE 1 macro 141 if (unlikely(!access_ok(VERIFY_WRITE, to, n))) in clear_user() 306 if (access_ok(VERIFY_WRITE, __pu_addr, size)) { \ 382 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
|
D | futex.h | 42 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 103 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/parisc/include/asm/ |
D | futex.h | 21 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 65 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/sh/include/asm/ |
D | futex.h | 24 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 71 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
D | uaccess.h | 9 #define VERIFY_WRITE 1 macro 91 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) \ 133 if (__cl_size && access_ok(VERIFY_WRITE, \
|
/linux-2.6.39/arch/mn10300/lib/ |
D | usercopy.c | 17 if (access_ok(VERIFY_WRITE, to, n)) in __generic_copy_to_user() 125 if (access_ok(VERIFY_WRITE, to, n)) in clear_user()
|
/linux-2.6.39/arch/powerpc/include/asm/ |
D | futex.h | 43 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 91 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/alpha/include/asm/ |
D | futex.h | 42 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 90 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/arm/include/asm/ |
D | futex.h | 49 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 97 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/ipc/ |
D | compat.c | 212 if (!access_ok (VERIFY_WRITE, up64, sizeof(*up64))) in put_compat_semid64_ds() 226 if (!access_ok (VERIFY_WRITE, up, sizeof(*up))) in put_compat_semid_ds() 386 if (!access_ok(VERIFY_WRITE, up64, sizeof(*up64))) in put_compat_msqid64_ds() 405 if (!access_ok(VERIFY_WRITE, up, sizeof(*up))) in put_compat_msqid_ds() 510 if (!access_ok(VERIFY_WRITE, up64, sizeof(*up64))) in put_compat_shmid64_ds() 528 if (!access_ok(VERIFY_WRITE, up, sizeof(*up))) in put_compat_shmid_ds() 546 if (!access_ok(VERIFY_WRITE, up64, sizeof(*up64))) in put_compat_shminfo64() 563 if (!access_ok(VERIFY_WRITE, up, sizeof(*up))) in put_compat_shminfo() 581 if (!access_ok(VERIFY_WRITE, uip, sizeof(*uip)) || in put_compat_shm_info()
|
/linux-2.6.39/arch/um/include/asm/ |
D | uaccess.h | 20 #define VERIFY_WRITE 1 macro 87 (access_ok(VERIFY_WRITE, private_ptr, sizeof(*private_ptr)) ? \
|
/linux-2.6.39/arch/ia64/include/asm/ |
D | futex.h | 59 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 106 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|
/linux-2.6.39/arch/xtensa/include/asm/ |
D | uaccess.h | 22 #define VERIFY_WRITE 1 macro 225 if (access_ok(VERIFY_WRITE,__pu_addr,size)) \ 404 if (access_ok(VERIFY_WRITE, to, n)) in __generic_copy_to_user() 446 if (access_ok(VERIFY_WRITE, addr, size)) in clear_user()
|
/linux-2.6.39/arch/x86/include/asm/ |
D | futex.h | 51 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser() 123 if (!access_ok(VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_cmpxchg_inatomic()
|