Lines Matching refs:req32
388 drm_buf_info32_t req32; in compat_drm_infobufs() local
392 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
395 if (req32.count < 0) in compat_drm_infobufs()
396 req32.count = 0; in compat_drm_infobufs()
398 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH); in compat_drm_infobufs()
402 if (put_user(req32.count, &argp->count)) in compat_drm_infobufs()
453 drm_buf_map32_t req32; in compat_drm_mapbufs() local
456 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
458 if (req32.count < 0) in compat_drm_mapbufs()
461 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH); in compat_drm_mapbufs()
465 if (put_user(req32.count, &argp->count) in compat_drm_mapbufs()
466 || put_user(req32.virtual, &argp->virtual)) in compat_drm_mapbufs()
480 drm_buf_free32_t req32; in compat_drm_freebufs() local
484 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
487 request.count = req32.count; in compat_drm_freebufs()
488 request.list = compat_ptr(req32.list); in compat_drm_freebufs()
500 drm_ctx_priv_map32_t req32; in compat_drm_setsareactx() local
504 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_setsareactx()
507 request.ctx_id = req32.ctx_id; in compat_drm_setsareactx()
508 request.handle = compat_ptr(req32.handle); in compat_drm_setsareactx()
517 drm_ctx_priv_map32_t req32; in compat_drm_getsareactx() local
521 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_getsareactx()
524 req.ctx_id = req32.ctx_id; in compat_drm_getsareactx()
529 req32.handle = ptr_to_compat(req.handle); in compat_drm_getsareactx()
530 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_getsareactx()
678 drm_agp_buffer32_t req32; in compat_drm_agp_alloc() local
682 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_alloc()
685 request.size = req32.size; in compat_drm_agp_alloc()
686 request.type = req32.type; in compat_drm_agp_alloc()
692 req32.handle = request.handle; in compat_drm_agp_alloc()
693 req32.physical = request.physical; in compat_drm_agp_alloc()
694 if (copy_to_user(argp, &req32, sizeof(req32))) { in compat_drm_agp_alloc()
725 drm_agp_binding32_t req32; in compat_drm_agp_bind() local
728 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_bind()
731 request.handle = req32.handle; in compat_drm_agp_bind()
732 request.offset = req32.offset; in compat_drm_agp_bind()
835 drm_wait_vblank32_t req32; in compat_drm_wait_vblank() local
839 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank()
842 req.request.type = req32.request.type; in compat_drm_wait_vblank()
843 req.request.sequence = req32.request.sequence; in compat_drm_wait_vblank()
844 req.request.signal = req32.request.signal; in compat_drm_wait_vblank()
849 req32.reply.type = req.reply.type; in compat_drm_wait_vblank()
850 req32.reply.sequence = req.reply.sequence; in compat_drm_wait_vblank()
851 req32.reply.tval_sec = req.reply.tval_sec; in compat_drm_wait_vblank()
852 req32.reply.tval_usec = req.reply.tval_usec; in compat_drm_wait_vblank()
853 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank()