Searched refs:pages_count (Results 1 – 4 of 4) sorted by relevance
273 atomic_t pages_count; /* number of active binds to the pages */ member
520 GEM_BUG_ON(!atomic_read(&vma->pages_count)); in i915_vma_bind()1361 if (atomic_add_unless(&vma->pages_count, 1, 0)) in i915_vma_get_pages()1373 atomic_inc(&vma->pages_count); in i915_vma_get_pages()1407 GEM_BUG_ON(atomic_read(&vma->pages_count) < count); in __vma_put_pages()1409 if (atomic_sub_return(count, &vma->pages_count) == 0) { in __vma_put_pages()1422 if (atomic_add_unless(&vma->pages_count, -1, 1)) in i915_vma_put_pages()1435 count = atomic_read(&vma->pages_count); in vma_unbind_pages()1586 atomic_add(I915_VMA_PAGES_ACTIVE, &vma->pages_count); in i915_vma_pin_ww()
614 if (atomic_read(&vma->pages_count)) in i915_gem_object_evictable()
1442 GEM_BUG_ON(atomic_read(&vma->pages_count)); in track_vma_bind()1443 atomic_set(&vma->pages_count, I915_VMA_PAGES_ACTIVE); in track_vma_bind()