Home
last modified time | relevance | path

Searched refs:shrink_pin (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/i915/gem/
Di915_gem_shrinker.c486 if (atomic_add_unless(&obj->mm.shrink_pin, 1, 0)) in i915_gem_object_make_unshrinkable()
490 if (!atomic_fetch_inc(&obj->mm.shrink_pin) && in i915_gem_object_make_unshrinkable()
508 if (atomic_add_unless(&obj->mm.shrink_pin, -1, 1)) in ___i915_gem_object_make_shrinkable()
513 if (atomic_dec_and_test(&obj->mm.shrink_pin)) { in ___i915_gem_object_make_shrinkable()
Di915_gem_object_types.h545 atomic_t shrink_pin; member
Di915_gem_pages.c73 atomic_inc(&obj->mm.shrink_pin); in __i915_gem_object_set_pages()
93 atomic_set(&obj->mm.shrink_pin, 0); in __i915_gem_object_set_pages()