Lines Matching refs:req32
400 drm_buf_info32_t req32;
404 if (copy_from_user(&req32, argp, sizeof(req32)))
407 if (req32.count < 0)
408 req32.count = 0;
410 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH);
414 if (put_user(req32.count, &argp->count))
465 drm_buf_map32_t req32;
468 if (copy_from_user(&req32, argp, sizeof(req32)))
470 if (req32.count < 0)
473 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH);
477 if (put_user(req32.count, &argp->count)
478 || put_user(req32.virtual, &argp->virtual))
492 drm_buf_free32_t req32;
496 if (copy_from_user(&req32, argp, sizeof(req32)))
499 request.count = req32.count;
500 request.list = compat_ptr(req32.list);
512 drm_ctx_priv_map32_t req32;
516 if (copy_from_user(&req32, argp, sizeof(req32)))
519 request.ctx_id = req32.ctx_id;
520 request.handle = compat_ptr(req32.handle);
529 drm_ctx_priv_map32_t req32;
533 if (copy_from_user(&req32, argp, sizeof(req32)))
536 req.ctx_id = req32.ctx_id;
541 req32.handle = ptr_to_compat((void __user *)req.handle);
542 if (copy_to_user(argp, &req32, sizeof(req32)))
692 drm_agp_buffer32_t req32;
696 if (copy_from_user(&req32, argp, sizeof(req32)))
699 request.size = req32.size;
700 request.type = req32.type;
706 req32.handle = request.handle;
707 req32.physical = request.physical;
708 if (copy_to_user(argp, &req32, sizeof(req32))) {
739 drm_agp_binding32_t req32;
742 if (copy_from_user(&req32, argp, sizeof(req32)))
745 request.handle = req32.handle;
746 request.offset = req32.offset;
845 drm_wait_vblank32_t req32;
849 if (copy_from_user(&req32, argp, sizeof(req32)))
854 req.request.type = req32.request.type;
855 req.request.sequence = req32.request.sequence;
856 req.request.signal = req32.request.signal;
859 req32.reply.type = req.reply.type;
860 req32.reply.sequence = req.reply.sequence;
861 req32.reply.tval_sec = req.reply.tval_sec;
862 req32.reply.tval_usec = req.reply.tval_usec;
863 if (copy_to_user(argp, &req32, sizeof(req32)))