Home
last modified time | relevance | path

Searched refs:evict (Results 1 – 25 of 41) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c62 evict(struct drm_gem_object *obj) in evict() function
97 return evict(obj); in active_evict()
114 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
/Linux-v6.6/drivers/gpu/drm/i915/gem/
Di915_gem_ttm_move.h33 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict,
Di915_gem_ttm_move.c570 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-v6.6/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c142 bool evict = false; in kvmppc_mmu_map_page() local
172 evict = true; in kvmppc_mmu_map_page()
179 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page()
/Linux-v6.6/drivers/gpu/drm/i915/selftests/
Di915_mock_selftests.h32 selftest(evict, i915_gem_evict_mock_selftests)
Di915_live_selftests.h39 selftest(evict, i915_gem_evict_live_selftests)
/Linux-v6.6/drivers/infiniband/hw/hfi1/
Dmmu_rb.h27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
Dmmu_rb.c244 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
Dpin_system.c31 .evict = sdma_rb_evict,
/Linux-v6.6/drivers/gpu/drm/nouveau/
Dnouveau_bo.c475 bool force = false, evict = false; in nouveau_bo_pin() local
487 evict = true; in nouveau_bo_pin()
492 bool error = evict; in nouveau_bo_pin()
515 if (evict) { in nouveau_bo_pin()
845 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument
891 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, in nouveau_bo_move_m2mf()
1050 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument
1112 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move()
/Linux-v6.6/include/drm/ttm/
Dttm_device.h149 int (*move)(struct ttm_buffer_object *bo, bool evict,
Dttm_bo.h417 struct dma_fence *fence, bool evict,
/Linux-v6.6/drivers/gpu/drm/radeon/
Dradeon_ttm.c139 bool evict, in radeon_move_blit() argument
188 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit()
193 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument
246 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
/Linux-v6.6/drivers/gpu/drm/
Ddrm_gem_vram_helper.c565 bool evict, in drm_gem_vram_bo_driver_move() argument
912 bool evict, in bo_driver_move() argument
932 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
Ddrm_gem.c1503 if (obj->funcs->evict) in drm_gem_evict()
1504 return obj->funcs->evict(obj); in drm_gem_evict()
/Linux-v6.6/Documentation/mm/
Dmultigen_lru.rst106 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-v6.6/drivers/gpu/drm/qxl/
Dqxl_ttm.c138 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
/Linux-v6.6/include/drm/
Ddrm_gem.h196 int (*evict)(struct drm_gem_object *obj); member
/Linux-v6.6/Documentation/admin-guide/mm/
Dmultigen_lru.rst146 Users can write the following command to ``lru_gen`` to evict
155 ``nr_to_reclaim`` limits the number of pages to evict.
/Linux-v6.6/drivers/gpu/drm/ttm/
Dttm_bo_util.c644 bool evict, in ttm_bo_move_accel_cleanup() argument
654 if (!evict) in ttm_bo_move_accel_cleanup()
Dttm_bo.c116 struct ttm_resource *mem, bool evict, in ttm_bo_handle_move_mem() argument
152 ret = bdev->funcs->move(bo, evict, ctx, mem, hop); in ttm_bo_handle_move_mem()
/Linux-v6.6/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.h348 bool evict,
Damdgpu_object.c1260 bool evict, in amdgpu_bo_move_notify() argument
1271 amdgpu_vm_bo_invalidate(adev, abo, evict); in amdgpu_bo_move_notify()
1280 if (evict) in amdgpu_bo_move_notify()
Damdgpu_ttm.c357 bool evict, in amdgpu_move_blit() argument
400 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
452 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument
530 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
551 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
/Linux-v6.6/Documentation/block/
Dinline-encryption.rst70 layers to also evict keys from any keyslots they are present in.
98 functions to program and evict keys) to upper layers. Each device driver that
241 hardware, e.g. how to program and evict keyslots. Most drivers will need to

12