Lines Matching refs:objects
18 mutex_lock(&mem->objects.lock);
19 list_add(&obj->mm.region_link, &mem->objects.list);
20 mutex_unlock(&mem->objects.lock);
27 mutex_lock(&mem->objects.lock);
29 mutex_unlock(&mem->objects.lock);
85 * the GTT, due to alignment restrictions. For such special objects,
87 * revisit this, either by allowing special mis-aligned objects in the
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);
173 obj = list_first_entry_or_null(&mr->objects.list, typeof(*obj),
187 mutex_unlock(&mr->objects.lock);
200 mutex_lock(&mr->objects.lock);
204 list_splice_tail(&still_in_list, &mr->objects.list);
205 mutex_unlock(&mr->objects.lock);