| /linux-6.15/drivers/gpu/drm/ |
| H A D | drm_gpuvm.c | 1011 INIT_LIST_HEAD(&gpuvm->evict.list); in drm_gpuvm_init() 1012 spin_lock_init(&gpuvm->evict.lock); in drm_gpuvm_init() 1367 LIST_HEAD(evict); in __drm_gpuvm_validate() 1370 for_each_vm_bo_in_list(gpuvm, evict, &evict, vm_bo) { in __drm_gpuvm_validate() 1377 restore_vm_bo_list(gpuvm, evict); in __drm_gpuvm_validate() 1392 list.entry.evict) { in drm_gpuvm_validate_locked() 1492 INIT_LIST_HEAD(&vm_bo->list.entry.evict); in drm_gpuvm_bo_create() 1512 drm_gpuvm_bo_list_del(vm_bo, evict, lock); in drm_gpuvm_bo_destroy() 1700 vm_bo->evicted = evict; in drm_gpuvm_bo_evict() 1709 if (evict) in drm_gpuvm_bo_evict() [all …]
|
| H A D | drm_gem_vram_helper.c | 540 bool evict, in drm_gem_vram_bo_driver_move() argument 840 bool evict, in bo_driver_move() argument 860 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
|
| /linux-6.15/drivers/gpu/drm/msm/ |
| H A D | msm_gem_shrinker.c | 61 evict(struct drm_gem_object *obj) in evict() function 96 return evict(obj); in active_evict() 112 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
|
| /linux-6.15/include/drm/ |
| H A D | drm_gpuvm.h | 332 } evict; member 702 struct list_head evict; member 739 void drm_gpuvm_bo_evict(struct drm_gpuvm_bo *vm_bo, bool evict); 750 drm_gpuvm_bo_gem_evict(struct drm_gem_object *obj, bool evict) in drm_gpuvm_bo_gem_evict() argument 756 drm_gpuvm_bo_evict(vm_bo, evict); in drm_gpuvm_bo_gem_evict()
|
| H A D | drm_gem.h | 199 int (*evict)(struct drm_gem_object *obj); member
|
| /linux-6.15/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_bo.c | 471 bool force = false, evict = false; in nouveau_bo_pin_locked() local 481 evict = true; in nouveau_bo_pin_locked() 486 bool error = evict; in nouveau_bo_pin_locked() 509 if (evict) { in nouveau_bo_pin_locked() 859 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument 905 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, in nouveau_bo_move_m2mf() 1064 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument 1082 drm_gpuvm_bo_gem_evict(obj, evict); in nouveau_bo_move() 1127 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move() 1147 drm_gpuvm_bo_gem_evict(obj, !evict); in nouveau_bo_move()
|
| /linux-6.15/drivers/gpu/drm/i915/gem/ |
| H A D | i915_gem_ttm_move.h | 33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
|
| H A D | i915_gem_ttm_move.c | 570 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict, in i915_ttm_move() argument 660 if (I915_SELFTEST_ONLY(evict && fail_gpu_migration)) in i915_ttm_move() 663 ret = ttm_bo_move_accel_cleanup(bo, migration_fence, evict, in i915_ttm_move()
|
| /linux-6.15/arch/powerpc/kvm/ |
| H A D | book3s_32_mmu_host.c | 141 bool evict = false; in kvmppc_mmu_map_page() local 171 evict = true; in kvmppc_mmu_map_page() 178 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page()
|
| /linux-6.15/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_mock_selftests.h | 32 selftest(evict, i915_gem_evict_mock_selftests)
|
| H A D | i915_live_selftests.h | 39 selftest(evict, i915_gem_evict_live_selftests)
|
| /linux-6.15/drivers/infiniband/hw/hfi1/ |
| H A D | mmu_rb.h | 27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
|
| H A D | mmu_rb.c | 244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
|
| H A D | pin_system.c | 31 .evict = sdma_rb_evict,
|
| /linux-6.15/fs/bcachefs/ |
| H A D | btree_key_cache.c | 413 bool evict) in btree_key_cache_flush_pos() argument 439 if (evict) in btree_key_cache_flush_pos() 440 goto evict; in btree_key_cache_flush_pos() 492 if (!evict) { in btree_key_cache_flush_pos() 500 evict: in btree_key_cache_flush_pos()
|
| /linux-6.15/include/drm/ttm/ |
| H A D | ttm_device.h | 149 int (*move)(struct ttm_buffer_object *bo, bool evict,
|
| H A D | ttm_bo.h | 479 struct dma_fence *fence, bool evict,
|
| /linux-6.15/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_ttm.c | 378 bool evict, in amdgpu_move_blit() argument 422 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit() 489 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument 511 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 518 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 530 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 545 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 571 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move() 573 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move() 591 if (evict) in amdgpu_bo_move()
|
| H A D | amdgpu_object.h | 296 bool evict,
|
| /linux-6.15/drivers/gpu/drm/radeon/ |
| H A D | radeon_ttm.c | 134 bool evict, in radeon_move_blit() argument 183 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit() 188 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument 238 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
|
| /linux-6.15/Documentation/mm/ |
| H A D | multigen_lru.rst | 106 evict or protect. The desired effect is to balance refault percentages 133 evict from, it first compares ``min_seq[]`` to select the older type. 215 decides which type to evict when both types are available from the 269 to select types to evict and tiers to protect.
|
| /linux-6.15/drivers/gpu/drm/qxl/ |
| H A D | qxl_ttm.c | 136 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
|
| /linux-6.15/Documentation/admin-guide/mm/ |
| H A D | multigen_lru.rst | 146 Users can write the following command to ``lru_gen`` to evict 155 ``nr_to_reclaim`` limits the number of pages to evict.
|
| /linux-6.15/Documentation/gpu/ |
| H A D | drm-compute.rst | 32 not to evict when creating a new job (any kind). If all of userspace opts in
|
| /linux-6.15/drivers/gpu/drm/ttm/tests/ |
| H A D | ttm_kunit_helpers.c | 60 static int mock_move(struct ttm_buffer_object *bo, bool evict, in mock_move() argument
|