Searched refs:pages_pin_count (Results 1 – 9 of 9) sorted by relevance
247 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()264 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_pin_pages()270 return atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_has_pinned_pages()279 atomic_dec(&obj->mm.pages_pin_count); in __i915_gem_object_unpin_pages()
117 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_get_pages()195 if (unlikely(atomic_read(&obj->mm.pages_pin_count))) { in __i915_gem_object_put_pages()295 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()305 atomic_inc(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()340 atomic_dec(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
161 atomic_t pages_pin_count; member
178 atomic_set(&obj->mm.pages_pin_count, 0); in __i915_gem_free_objects()
72 if (atomic_read(&obj->mm.pages_pin_count) > atomic_read(&obj->bind_count)) in can_release_pages()
290 if (bo->pages_pin_count++ == 0) { in vgem_pin_pages()295 bo->pages_pin_count--; in vgem_pin_pages()310 if (--bo->pages_pin_count == 0) { in vgem_unpin_pages()376 obj->pages_pin_count++; /* perma-pinned */ in vgem_prime_import_sg_table()
47 unsigned int pages_pin_count; member
42 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()
524 GEM_BUG_ON(atomic_read(&obj->mm.pages_pin_count) < atomic_read(&obj->bind_count)); in assert_bind_count()