Lines Matching full:objects
18 mutex_lock(&mem->objects.lock); in i915_gem_object_init_memory_region()
19 list_add(&obj->mm.region_link, &mem->objects.list); in i915_gem_object_init_memory_region()
20 mutex_unlock(&mem->objects.lock); in i915_gem_object_init_memory_region()
27 mutex_lock(&mem->objects.lock); in i915_gem_object_release_memory_region()
29 mutex_unlock(&mem->objects.lock); in i915_gem_object_release_memory_region()
85 * the GTT, due to alignemnt restrictions. For such special objects, in __i915_gem_object_create_region()
87 * revisit this, either by allowing special mis-aligned objects in the in __i915_gem_object_create_region()
141 * i915_gem_process_region - Iterate over all objects of a region using ops
142 * to process and optionally skip objects
147 * checking whether to skip objects, and, if not, lock the objects and
149 * removes objects from the region list while iterating, so that if run
150 * concurrently with itself may not iterate over all objects.
169 mutex_lock(&mr->objects.lock); in i915_gem_process_region()
173 obj = list_first_entry_or_null(&mr->objects.list, typeof(*obj), in i915_gem_process_region()
187 mutex_unlock(&mr->objects.lock); in i915_gem_process_region()
200 mutex_lock(&mr->objects.lock); in i915_gem_process_region()
204 list_splice_tail(&still_in_list, &mr->objects.list); in i915_gem_process_region()
205 mutex_unlock(&mr->objects.lock); in i915_gem_process_region()