Lines Matching refs:retcode
538 int retcode; in drm_rmmap_locked() local
539 retcode = drm_mtrr_del(map->mtrr, map->offset, in drm_rmmap_locked()
541 DRM_DEBUG("mtrr_del=%d\n", retcode); in drm_rmmap_locked()
1597 int retcode = 0; in drm_mapbufs() local
1631 retcode = -EINVAL; in drm_mapbufs()
1634 retcode = vm_mmap(&vms->vm_map, &virtual, map->size, in drm_mapbufs()
1638 retcode = vm_mmap(&vms->vm_map, &virtual, dma->byte_count, in drm_mapbufs()
1642 if (retcode) { in drm_mapbufs()
1644 retcode = -retcode; in drm_mapbufs()
1653 retcode = -EFAULT; in drm_mapbufs()
1659 retcode = -EFAULT; in drm_mapbufs()
1664 retcode = -EFAULT; in drm_mapbufs()
1670 retcode = -EFAULT; in drm_mapbufs()
1677 DRM_DEBUG("%d buffers, retcode = %d\n", request->count, retcode); in drm_mapbufs()
1679 return retcode; in drm_mapbufs()