Home
last modified time | relevance | path

Searched refs:VERIFY_WRITE (Results 1 – 25 of 206) sorted by relevance

123456789

/linux-2.6.39/drivers/gpu/drm/
Ddrm_ioc32.c94 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/
Duaccess.h28 #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/
Dradeon_ioc32.c70 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/
Di915_ioc32.c58 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/
Dreg_ld_str.c347 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/
Duaccess.h33 #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/
Dusercopy_64.c23 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/
Duaccess.h38 #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/
Dr128_ioc32.c72 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/
Dfutex.h21 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/
Duaccess.h9 #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/
Duaccess.h28 #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()
Dfutex.h42 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/
Dfutex.h21 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/
Dfutex.h24 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()
Duaccess.h9 #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/
Dusercopy.c17 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/
Dfutex.h43 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/
Dfutex.h42 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/
Dfutex.h49 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/
Dcompat.c212 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/
Duaccess.h20 #define VERIFY_WRITE 1 macro
87 (access_ok(VERIFY_WRITE, private_ptr, sizeof(*private_ptr)) ? \
/linux-2.6.39/arch/ia64/include/asm/
Dfutex.h59 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/
Duaccess.h22 #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/
Dfutex.h51 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()

123456789