Lines Matching refs:req32

398 	drm_buf_info32_t req32;  in compat_drm_infobufs()  local
402 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
405 if (req32.count < 0) in compat_drm_infobufs()
406 req32.count = 0; in compat_drm_infobufs()
408 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH); in compat_drm_infobufs()
412 if (put_user(req32.count, &argp->count)) in compat_drm_infobufs()
463 drm_buf_map32_t req32; in compat_drm_mapbufs() local
466 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
468 if (req32.count < 0) in compat_drm_mapbufs()
471 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH); in compat_drm_mapbufs()
475 if (put_user(req32.count, &argp->count) in compat_drm_mapbufs()
476 || put_user(req32.virtual, &argp->virtual)) in compat_drm_mapbufs()
490 drm_buf_free32_t req32; in compat_drm_freebufs() local
494 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
497 request.count = req32.count; in compat_drm_freebufs()
498 request.list = compat_ptr(req32.list); in compat_drm_freebufs()
510 drm_ctx_priv_map32_t req32; in compat_drm_setsareactx() local
514 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_setsareactx()
517 request.ctx_id = req32.ctx_id; in compat_drm_setsareactx()
518 request.handle = compat_ptr(req32.handle); in compat_drm_setsareactx()
527 drm_ctx_priv_map32_t req32; in compat_drm_getsareactx() local
531 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_getsareactx()
534 req.ctx_id = req32.ctx_id; in compat_drm_getsareactx()
539 req32.handle = ptr_to_compat((void __user *)req.handle); in compat_drm_getsareactx()
540 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_getsareactx()
689 drm_agp_buffer32_t req32; in compat_drm_agp_alloc() local
693 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_alloc()
696 request.size = req32.size; in compat_drm_agp_alloc()
697 request.type = req32.type; in compat_drm_agp_alloc()
703 req32.handle = request.handle; in compat_drm_agp_alloc()
704 req32.physical = request.physical; in compat_drm_agp_alloc()
705 if (copy_to_user(argp, &req32, sizeof(req32))) { in compat_drm_agp_alloc()
736 drm_agp_binding32_t req32; in compat_drm_agp_bind() local
739 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_bind()
742 request.handle = req32.handle; in compat_drm_agp_bind()
743 request.offset = req32.offset; in compat_drm_agp_bind()
848 drm_wait_vblank32_t req32; in compat_drm_wait_vblank() local
852 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank()
855 req.request.type = req32.request.type; in compat_drm_wait_vblank()
856 req.request.sequence = req32.request.sequence; in compat_drm_wait_vblank()
857 req.request.signal = req32.request.signal; in compat_drm_wait_vblank()
862 req32.reply.type = req.reply.type; in compat_drm_wait_vblank()
863 req32.reply.sequence = req.reply.sequence; in compat_drm_wait_vblank()
864 req32.reply.tval_sec = req.reply.tval_sec; in compat_drm_wait_vblank()
865 req32.reply.tval_usec = req.reply.tval_usec; in compat_drm_wait_vblank()
866 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank()