Lines Matching defs:req32
402 drm_buf_info32_t req32;
406 if (copy_from_user(&req32, argp, sizeof(req32)))
409 if (req32.count < 0)
410 req32.count = 0;
412 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH);
416 if (put_user(req32.count, &argp->count))
467 drm_buf_map32_t req32;
470 if (copy_from_user(&req32, argp, sizeof(req32)))
472 if (req32.count < 0)
475 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH);
479 if (put_user(req32.count, &argp->count)
480 || put_user(req32.virtual, &argp->virtual))
494 drm_buf_free32_t req32;
498 if (copy_from_user(&req32, argp, sizeof(req32)))
501 request.count = req32.count;
502 request.list = compat_ptr(req32.list);
514 drm_ctx_priv_map32_t req32;
518 if (copy_from_user(&req32, argp, sizeof(req32)))
521 request.ctx_id = req32.ctx_id;
522 request.handle = compat_ptr(req32.handle);
531 drm_ctx_priv_map32_t req32;
535 if (copy_from_user(&req32, argp, sizeof(req32)))
538 req.ctx_id = req32.ctx_id;
543 req32.handle = ptr_to_compat((void __user *)req.handle);
544 if (copy_to_user(argp, &req32, sizeof(req32)))
693 drm_agp_buffer32_t req32;
697 if (copy_from_user(&req32, argp, sizeof(req32)))
700 request.size = req32.size;
701 request.type = req32.type;
707 req32.handle = request.handle;
708 req32.physical = request.physical;
709 if (copy_to_user(argp, &req32, sizeof(req32))) {
740 drm_agp_binding32_t req32;
743 if (copy_from_user(&req32, argp, sizeof(req32)))
746 request.handle = req32.handle;
747 request.offset = req32.offset;
851 drm_wait_vblank32_t req32;
855 if (copy_from_user(&req32, argp, sizeof(req32)))
858 req.request.type = req32.request.type;
859 req.request.sequence = req32.request.sequence;
860 req.request.signal = req32.request.signal;
865 req32.reply.type = req.reply.type;
866 req32.reply.sequence = req.reply.sequence;
867 req32.reply.tval_sec = req.reply.tval_sec;
868 req32.reply.tval_usec = req.reply.tval_usec;
869 if (copy_to_user(argp, &req32, sizeof(req32)))