Searched refs:pages_pin_count (Results 1 – 7 of 7) sorted by relevance
327 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()344 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_pin_pages()350 return atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_has_pinned_pages()359 atomic_dec(&obj->mm.pages_pin_count); in __i915_gem_object_unpin_pages()
127 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_get_pages()212 if (unlikely(atomic_read(&obj->mm.pages_pin_count))) { in __i915_gem_object_put_pages()353 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()363 atomic_inc(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()401 atomic_dec(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
203 atomic_t pages_pin_count; member
232 atomic_set(&obj->mm.pages_pin_count, 0); in __i915_gem_free_objects()
268 if (bo->pages_pin_count++ == 0) { in vgem_pin_pages()273 bo->pages_pin_count--; in vgem_pin_pages()288 if (--bo->pages_pin_count == 0) { in vgem_unpin_pages()354 obj->pages_pin_count++; /* perma-pinned */ in vgem_prime_import_sg_table()
47 unsigned int pages_pin_count; member
40 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()