Searched refs:access_ok (Results 1 – 6 of 6) sorted by relevance
/include/asm-generic/ |
D | uaccess.h | 40 #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()
|
D | futex.h | 19 if (! access_ok (VERIFY_WRITE, uaddr, sizeof(u32))) in futex_atomic_op_inuser()
|
/include/net/ |
D | checksum.h | 33 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()
|
D | sock.h | 1719 if (!access_ok(VERIFY_READ, from, copy) || in skb_do_copy_data_nocache()
|
/include/linux/ |
D | regset.h | 342 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/ |
D | drm_os_linux.h | 92 (access_ok( VERIFY_READ, uaddr, size ) ? 0 : -EFAULT)
|