Lines Matching refs:map_count
225 int map_count; member
1280 assert(bo_gem->map_count == 0); in drm_intel_gem_bo_purge_vma_cache()
1372 if (bo_gem->map_count) { in drm_intel_gem_bo_unreference_final()
1373 DBG("bo freed with non-zero map-count %d\n", bo_gem->map_count); in drm_intel_gem_bo_unreference_final()
1374 bo_gem->map_count = 0; in drm_intel_gem_bo_unreference_final()
1444 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map()
1451 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map()
1464 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map()
1512 if (bo_gem->map_count++ == 0) in map_gtt()
1520 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in map_gtt()
1535 if (--bo_gem->map_count == 0) in map_gtt()
1551 if (--bo_gem->map_count == 0) in map_gtt()
1672 if (bo_gem->map_count <= 0) { in drm_intel_gem_bo_unmap()
1703 if (--bo_gem->map_count == 0) { in drm_intel_gem_bo_unmap()
3474 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map__gtt()
3476 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map__gtt()
3493 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map__gtt()
3522 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map__cpu()
3526 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map__cpu()
3537 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map__cpu()
3564 if (bo_gem->map_count++ == 0) in drm_intel_gem_bo_map__wc()
3568 bo_gem->gem_handle, bo_gem->name, bo_gem->map_count); in drm_intel_gem_bo_map__wc()
3580 if (--bo_gem->map_count == 0) in drm_intel_gem_bo_map__wc()