Home
last modified time | relevance | path

Searched refs:access_ok (Results 1 – 6 of 6) sorted by relevance

/include/asm-generic/
Duaccess.h40 #define access_ok(type, addr, size) __access_ok((unsigned long)(addr),(size)) macro
166 access_ok(VERIFY_WRITE, ptr, sizeof(*ptr)) ? \
222 access_ok(VERIFY_READ, ptr, sizeof(*ptr)) ? \
247 if (access_ok(VERIFY_READ, from, n)) in copy_from_user()
257 if (access_ok(VERIFY_WRITE, to, n)) in copy_to_user()
281 if (!access_ok(VERIFY_READ, src, 1)) in strncpy_from_user()
302 if (!access_ok(VERIFY_READ, src, 1)) in strnlen_user()
328 if (!access_ok(VERIFY_WRITE, to, n)) in clear_user()
Dfutex.h19 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser()
/include/net/
Dchecksum.h33 if (access_ok(VERIFY_READ, src, len)) in csum_and_copy_from_user()
49 if (access_ok(VERIFY_WRITE, dst, len)) { in csum_and_copy_to_user()
Dsock.h1719 if (!access_ok(VERIFY_READ, from, copy) || in skb_do_copy_data_nocache()
/include/linux/
Dregset.h342 if (!access_ok(VERIFY_WRITE, data, size)) in copy_regset_to_user()
368 if (!access_ok(VERIFY_READ, data, size)) in copy_regset_from_user()
/include/drm/
Ddrm_os_linux.h92 (access_ok( VERIFY_READ, uaddr, size ) ? 0 : -EFAULT)