Searched refs:shrink_pin (Results 1 – 3 of 3) sorted by relevance
472 if (atomic_add_unless(&obj->mm.shrink_pin, 1, 0)) in i915_gem_object_make_unshrinkable()476 if (!atomic_fetch_inc(&obj->mm.shrink_pin) && in i915_gem_object_make_unshrinkable()495 if (atomic_add_unless(&obj->mm.shrink_pin, -1, 1)) in __i915_gem_object_make_shrinkable()500 if (atomic_dec_and_test(&obj->mm.shrink_pin)) { in __i915_gem_object_make_shrinkable()
457 atomic_t shrink_pin; member
69 atomic_inc(&obj->mm.shrink_pin); in __i915_gem_object_set_pages()89 atomic_set(&obj->mm.shrink_pin, 0); in __i915_gem_object_set_pages()