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