Lines Matching defs:evict
886 * immediately removed from the evict and extobj lists. Therefore, anyone
890 * protecting the evict/extobj list is held for as long as you are using the
894 * Zombie entries can be observed on the evict and extobj lists regardless of
1108 INIT_LIST_HEAD(&gpuvm->evict.list);
1109 spin_lock_init(&gpuvm->evict.lock);
1153 drm_WARN(gpuvm->drm, !list_empty(&gpuvm->evict.list),
1262 drm_gpuvm_bo_list_add(vm_bo, evict, false);
1477 LIST_HEAD(evict);
1480 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) {
1487 restore_vm_bo_list(gpuvm, evict);
1501 list_for_each_entry_safe(vm_bo, next, &gpuvm->evict.list,
1502 list.entry.evict) {
1512 drm_gpuvm_bo_list_del_init(vm_bo, evict, false);
1604 INIT_LIST_HEAD(&vm_bo->list.entry.evict);
1659 drm_gpuvm_bo_list_del(vm_bo, evict, lock);
1711 drm_gpuvm_bo_list_del(vm_bo, evict, true);
1793 drm_gpuvm_bo_list_del(vm_bo, evict, false);
1899 * The provided @__vm_bo must not already be in the gpuva, evict, or extobj
1959 * @evict: indicates whether the object is evicted
1964 drm_gpuvm_bo_evict(struct drm_gpuvm_bo *vm_bo, bool evict)
1971 vm_bo->evicted = evict;
1980 if (evict)
1981 drm_gpuvm_bo_list_add(vm_bo, evict, lock);
1983 drm_gpuvm_bo_list_del_init(vm_bo, evict, lock);