Home
last modified time | relevance | path

Searched refs:pages_count (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/dev/pci/drm/i915/
Di915_vma_types.h273 atomic_t pages_count; /* number of active binds to the pages */ member
Di915_vma.c520 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()
/openbsd/src/sys/dev/pci/drm/i915/gem/
Di915_gem_object.c614 if (atomic_read(&vma->pages_count)) in i915_gem_object_evictable()
/openbsd/src/sys/dev/pci/drm/i915/selftests/
Di915_gem_gtt.c1442 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()