Lines Matching refs:req32
405 drm_buf_info32_t req32;
409 if (copy_from_user(&req32, argp, sizeof(req32)))
412 if (req32.count < 0)
413 req32.count = 0;
415 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH);
419 if (put_user(req32.count, &argp->count))
470 drm_buf_map32_t req32;
473 if (copy_from_user(&req32, argp, sizeof(req32)))
475 if (req32.count < 0)
478 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH);
482 if (put_user(req32.count, &argp->count)
483 || put_user(req32.virtual, &argp->virtual))
497 drm_buf_free32_t req32;
501 if (copy_from_user(&req32, argp, sizeof(req32)))
504 request.count = req32.count;
505 request.list = compat_ptr(req32.list);
517 drm_ctx_priv_map32_t req32;
521 if (copy_from_user(&req32, argp, sizeof(req32)))
524 request.ctx_id = req32.ctx_id;
525 request.handle = compat_ptr(req32.handle);
534 drm_ctx_priv_map32_t req32;
538 if (copy_from_user(&req32, argp, sizeof(req32)))
541 req.ctx_id = req32.ctx_id;
546 req32.handle = ptr_to_compat((void __user *)req.handle);
547 if (copy_to_user(argp, &req32, sizeof(req32)))
696 drm_agp_buffer32_t req32;
700 if (copy_from_user(&req32, argp, sizeof(req32)))
703 request.size = req32.size;
704 request.type = req32.type;
710 req32.handle = request.handle;
711 req32.physical = request.physical;
712 if (copy_to_user(argp, &req32, sizeof(req32))) {
743 drm_agp_binding32_t req32;
746 if (copy_from_user(&req32, argp, sizeof(req32)))
749 request.handle = req32.handle;
750 request.offset = req32.offset;
855 drm_wait_vblank32_t req32;
859 if (copy_from_user(&req32, argp, sizeof(req32)))
864 req.request.type = req32.request.type;
865 req.request.sequence = req32.request.sequence;
866 req.request.signal = req32.request.signal;
869 req32.reply.type = req.reply.type;
870 req32.reply.sequence = req.reply.sequence;
871 req32.reply.tval_sec = req.reply.tval_sec;
872 req32.reply.tval_usec = req.reply.tval_usec;
873 if (copy_to_user(argp, &req32, sizeof(req32)))