Lines Matching defs:access_ok
87 * access_ok: - Checks if a user space pointer is valid
111 #define access_ok(type, addr, size) \
167 * Caller must check the pointer with access_ok() before calling this
189 * Caller must check the pointer with access_ok() before calling this
238 if (likely(access_ok(VERIFY_READ, __gu_ptr, size))) \
326 if (likely(access_ok(VERIFY_WRITE, __pu_addr, size))) { \
426 * the specified block with access_ok() before calling this function.
497 if (access_ok(VERIFY_WRITE, __cu_to, __cu_len)) \
558 * the specified block with access_ok() before calling this function.
607 if (access_ok(VERIFY_READ, __cu_from, __cu_len)) \
625 if (likely(access_ok(VERIFY_READ, __cu_from, __cu_len) && \
626 access_ok(VERIFY_WRITE, __cu_to, __cu_len))) \
638 * the specified block with access_ok() before calling this function.
666 if (__cl_size && access_ok(VERIFY_WRITE, \
680 * Caller must check the specified block with access_ok() before calling