Searched refs:cpu_map_count (Results 1 – 2 of 2) sorted by relevance
414 if (bo->cpu_map_count > 0) { in amdgpu_bo_free()415 bo->cpu_map_count = 1; in amdgpu_bo_free()438 assert(bo->cpu_map_count > 0); in amdgpu_bo_cpu_map()439 bo->cpu_map_count++; in amdgpu_bo_cpu_map()445 assert(bo->cpu_map_count == 0); in amdgpu_bo_cpu_map()469 bo->cpu_map_count = 1; in amdgpu_bo_cpu_map()481 assert(bo->cpu_map_count >= 0); in amdgpu_bo_cpu_unmap()483 if (bo->cpu_map_count == 0) { in amdgpu_bo_cpu_unmap()489 bo->cpu_map_count--; in amdgpu_bo_cpu_unmap()490 if (bo->cpu_map_count > 0) { in amdgpu_bo_cpu_unmap()
103 int cpu_map_count; member