Lines Matching refs:access_ok
74 * access_ok: - Checks if a user space pointer is valid
92 #define access_ok(type, addr, size) ({ \
165 * Caller must check the pointer with access_ok() before calling this
208 * Caller must check the pointer with access_ok() before calling this
255 access_ok(VERIFY_WRITE, (__Pu_addr), sizeof(*(__Pu_addr))) ? \
263 access_ok(VERIFY_READ, (__Gu_addr), sizeof(*(__Gu_addr))) ? \
277 * the specified block with access_ok() before calling this function.
299 if (access_ok(VERIFY_WRITE, to, n))
313 * the specified block with access_ok() before calling this function.
341 if (access_ok(VERIFY_READ, from, n))
379 * the specified blocks with access_ok() before calling this function.
397 if (access_ok(VERIFY_WRITE, to, n) && access_ok(VERIFY_READ, from, n))
434 * Caller must check the specified block with access_ok() before calling
456 if (access_ok(VERIFY_READ, src, 1))
481 if (access_ok(VERIFY_WRITE, mem, len))
509 if (access_ok(VERIFY_WRITE, mem, len))
540 if (access_ok(VERIFY_WRITE, mem, len))
567 if (access_ok(VERIFY_WRITE, mem, len))