Lines Matching refs:req32

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