Lines Matching refs:access_ok
361 if (!access_ok(VERIFY_READ, up, sizeof(*up)) || in do_set_sock_timeout()
441 !access_ok(VERIFY_WRITE, up, sizeof(*up)) || in do_get_sock_timeout()
590 if (!access_ok(VERIFY_READ, gr32, sizeof(*gr32)) || in compat_mc_setsockopt()
591 !access_ok(VERIFY_WRITE, kgr, sizeof(struct group_req)) || in compat_mc_setsockopt()
611 if (!access_ok(VERIFY_READ, gsr32, sizeof(*gsr32)) || in compat_mc_setsockopt()
612 !access_ok(VERIFY_WRITE, kgsr, in compat_mc_setsockopt()
631 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_setsockopt()
641 if (!access_ok(VERIFY_WRITE, kgf, koptlen) || in compat_mc_setsockopt()
675 if (!access_ok(VERIFY_READ, optlen, sizeof(*optlen)) || in compat_mc_getsockopt()
685 if (!access_ok(VERIFY_WRITE, koptlen, sizeof(*koptlen)) || in compat_mc_getsockopt()
692 if (!access_ok(VERIFY_READ, gf32, __COMPAT_GF0_SIZE) || in compat_mc_getsockopt()
706 if (!access_ok(VERIFY_READ, koptlen, sizeof(*koptlen)) || in compat_mc_getsockopt()
712 if (!access_ok(VERIFY_WRITE, optlen, sizeof(*optlen)) || in compat_mc_getsockopt()
716 if (!access_ok(VERIFY_READ, kgf, klen) || in compat_mc_getsockopt()
717 !access_ok(VERIFY_WRITE, gf32, ulen) || in compat_mc_getsockopt()