Lines Matching refs:access_ok

96 	if (!access_ok(VERIFY_WRITE, version, sizeof(*version)))  in compat_drm_version()
143 if (!access_ok(VERIFY_WRITE, u, sizeof(*u))) in compat_drm_getunique()
171 if (!access_ok(VERIFY_WRITE, u, sizeof(*u))) in compat_drm_setunique()
203 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_getmap()
240 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_addmap()
280 if (!access_ok(VERIFY_WRITE, map, sizeof(*map))) in compat_drm_rmmap()
309 if (!access_ok(VERIFY_WRITE, client, sizeof(*client))) in compat_drm_getclient()
348 if (!access_ok(VERIFY_WRITE, stats, sizeof(*stats))) in compat_drm_getstats()
385 if (!access_ok(VERIFY_WRITE, buf, sizeof(*buf)) in compat_drm_addbufs()
386 || !access_ok(VERIFY_WRITE, argp, sizeof(*argp))) in compat_drm_addbufs()
417 if (!access_ok(VERIFY_WRITE, buf, sizeof(*buf))) in compat_drm_markbufs()
453 && !access_ok(VERIFY_WRITE, to, count * sizeof(drm_buf_desc32_t))) in compat_drm_infobufs()
458 if (!access_ok(VERIFY_WRITE, request, nbytes)) in compat_drm_infobufs()
519 if (!access_ok(VERIFY_WRITE, request, nbytes)) in compat_drm_mapbufs()
566 if (!access_ok(VERIFY_WRITE, request, sizeof(*request))) in compat_drm_freebufs()
592 if (!access_ok(VERIFY_WRITE, request, sizeof(*request))) in compat_drm_setsareactx()
611 if (!access_ok(VERIFY_WRITE, argp, sizeof(*argp)) in compat_drm_getsareactx()
616 if (!access_ok(VERIFY_WRITE, request, sizeof(*request))) in compat_drm_getsareactx()
649 if (!access_ok(VERIFY_WRITE, res, sizeof(*res))) in compat_drm_resctx()
692 if (!access_ok(VERIFY_WRITE, d, sizeof(*d))) in compat_drm_dma()
767 if (!access_ok(VERIFY_WRITE, info, sizeof(*info))) in compat_drm_agp_info()
810 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_agp_alloc()
837 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_agp_free()
861 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_agp_bind()
877 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_agp_unbind()
900 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_sg_alloc()
901 || !access_ok(VERIFY_WRITE, argp, sizeof(*argp)) in compat_drm_sg_alloc()
926 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_sg_free()
927 || !access_ok(VERIFY_WRITE, argp, sizeof(*argp)) in compat_drm_sg_free()
955 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) || in compat_drm_update_draw()
997 if (!access_ok(VERIFY_WRITE, request, sizeof(*request)) in compat_drm_wait_vblank()