Searched refs:vis_usage (Results 1 – 2 of 2) sorted by relevance
276 uint64_t vis_usage; in amdgpu_vram_mgr_do_reserve() local291 vis_usage = amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_do_reserve()292 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_do_reserve()388 u64 vis_usage = 0, max_bytes, cur_size, min_block_size; in amdgpu_vram_mgr_new() local542 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_new()553 atomic64_add(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_new()583 uint64_t vis_usage = 0; in amdgpu_vram_mgr_del() local587 vis_usage += amdgpu_vram_mgr_vis_size(adev, block); in amdgpu_vram_mgr_del()594 atomic64_sub(vis_usage, &mgr->vis_usage); in amdgpu_vram_mgr_del()720 return atomic64_read(&mgr->vis_usage); in amdgpu_vram_mgr_vis_usage()
36 atomic64_t vis_usage; member