Searched refs:shrink_pin (Results 1 – 3 of 3) sorted by relevance
484 if (atomic_add_unless(&obj->mm.shrink_pin, 1, 0)) in i915_gem_object_make_unshrinkable()488 if (!atomic_fetch_inc(&obj->mm.shrink_pin) && in i915_gem_object_make_unshrinkable()506 if (atomic_add_unless(&obj->mm.shrink_pin, -1, 1)) in ___i915_gem_object_make_shrinkable()511 if (atomic_dec_and_test(&obj->mm.shrink_pin)) { in ___i915_gem_object_make_shrinkable()
602 atomic_t shrink_pin; member
72 atomic_inc(&obj->mm.shrink_pin); in __i915_gem_object_set_pages()92 atomic_set(&obj->mm.shrink_pin, 0); in __i915_gem_object_set_pages()