Searched refs:pages_pin_count (Results 1 – 5 of 5) sorted by relevance
651 if (atomic_inc_not_zero(&obj->mm.pages_pin_count)) in i915_gem_object_pin_pages()670 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_pin_pages()676 return atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_has_pinned_pages()685 atomic_dec(&obj->mm.pages_pin_count); in __i915_gem_object_unpin_pages()
141 atomic_inc(&obj->mm.pages_pin_count); in __i915_gem_object_get_pages()379 if (!atomic_inc_not_zero(&obj->mm.pages_pin_count)) { in i915_gem_object_pin_map()389 atomic_inc(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()456 atomic_dec(&obj->mm.pages_pin_count); in i915_gem_object_pin_map()
591 atomic_t pages_pin_count; member
365 atomic_set(&obj->mm.pages_pin_count, 0); in __i915_gem_object_pages_fini()590 int pin_count = atomic_read(&obj->mm.pages_pin_count); in i915_gem_object_evictable()
49 if (!atomic_read(&obj->mm.pages_pin_count)) { in mock_phys_object()