Lines Matching refs:req32

397 	drm_buf_info32_t req32;  in compat_drm_infobufs()  local
401 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_infobufs()
404 if (req32.count < 0) in compat_drm_infobufs()
405 req32.count = 0; in compat_drm_infobufs()
407 err = drm_ioctl_kernel(file, drm_legacy_infobufs32, &req32, DRM_AUTH); in compat_drm_infobufs()
411 if (put_user(req32.count, &argp->count)) in compat_drm_infobufs()
462 drm_buf_map32_t req32; in compat_drm_mapbufs() local
465 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_mapbufs()
467 if (req32.count < 0) in compat_drm_mapbufs()
470 err = drm_ioctl_kernel(file, drm_legacy_mapbufs32, &req32, DRM_AUTH); in compat_drm_mapbufs()
474 if (put_user(req32.count, &argp->count) in compat_drm_mapbufs()
475 || put_user(req32.virtual, &argp->virtual)) in compat_drm_mapbufs()
489 drm_buf_free32_t req32; in compat_drm_freebufs() local
493 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_freebufs()
496 request.count = req32.count; in compat_drm_freebufs()
497 request.list = compat_ptr(req32.list); in compat_drm_freebufs()
509 drm_ctx_priv_map32_t req32; in compat_drm_setsareactx() local
513 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_setsareactx()
516 request.ctx_id = req32.ctx_id; in compat_drm_setsareactx()
517 request.handle = compat_ptr(req32.handle); in compat_drm_setsareactx()
526 drm_ctx_priv_map32_t req32; in compat_drm_getsareactx() local
530 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_getsareactx()
533 req.ctx_id = req32.ctx_id; in compat_drm_getsareactx()
538 req32.handle = ptr_to_compat((void __user *)req.handle); in compat_drm_getsareactx()
539 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_getsareactx()
688 drm_agp_buffer32_t req32; in compat_drm_agp_alloc() local
692 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_alloc()
695 request.size = req32.size; in compat_drm_agp_alloc()
696 request.type = req32.type; in compat_drm_agp_alloc()
702 req32.handle = request.handle; in compat_drm_agp_alloc()
703 req32.physical = request.physical; in compat_drm_agp_alloc()
704 if (copy_to_user(argp, &req32, sizeof(req32))) { in compat_drm_agp_alloc()
735 drm_agp_binding32_t req32; in compat_drm_agp_bind() local
738 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_agp_bind()
741 request.handle = req32.handle; in compat_drm_agp_bind()
742 request.offset = req32.offset; in compat_drm_agp_bind()
846 drm_wait_vblank32_t req32; in compat_drm_wait_vblank() local
850 if (copy_from_user(&req32, argp, sizeof(req32))) in compat_drm_wait_vblank()
853 req.request.type = req32.request.type; in compat_drm_wait_vblank()
854 req.request.sequence = req32.request.sequence; in compat_drm_wait_vblank()
855 req.request.signal = req32.request.signal; in compat_drm_wait_vblank()
860 req32.reply.type = req.reply.type; in compat_drm_wait_vblank()
861 req32.reply.sequence = req.reply.sequence; in compat_drm_wait_vblank()
862 req32.reply.tval_sec = req.reply.tval_sec; in compat_drm_wait_vblank()
863 req32.reply.tval_usec = req.reply.tval_usec; in compat_drm_wait_vblank()
864 if (copy_to_user(argp, &req32, sizeof(req32))) in compat_drm_wait_vblank()