Home
last modified time | relevance | path

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

12

/Linux-v6.1/mm/
Dzbud.c78 int (*evict)(struct zbud_pool *pool, unsigned long handle); member
422 if (!pool->ops || !pool->ops->evict || list_empty(&pool->lru) || in zbud_reclaim_page()
447 ret = pool->ops->evict(pool, first_handle); in zbud_reclaim_page()
452 ret = pool->ops->evict(pool, last_handle); in zbud_reclaim_page()
529 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in zbud_zpool_evict()
530 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict()
536 .evict = zbud_zpool_evict
Dz3fold.c72 int (*evict)(struct z3fold_pool *pool, unsigned long handle); member
1233 if (!pool->ops || !pool->ops->evict || retries == 0) { in z3fold_reclaim_page()
1322 ret = pool->ops->evict(pool, middle_handle); in z3fold_reclaim_page()
1327 ret = pool->ops->evict(pool, first_handle); in z3fold_reclaim_page()
1332 ret = pool->ops->evict(pool, last_handle); in z3fold_reclaim_page()
1598 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict()
1599 return pool->zpool_ops->evict(pool->zpool, handle); in z3fold_zpool_evict()
1605 .evict = z3fold_zpool_evict
Dzpool.c181 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool()
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_gem_shrinker.c62 evict(struct drm_gem_object *obj) in evict() function
97 return evict(obj); in active_evict()
113 { &priv->lru.willneed, evict, can_swap() }, in msm_gem_shrinker_scan()
/Linux-v6.1/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.c549 int i915_ttm_move(struct ttm_buffer_object *bo, bool evict, in i915_ttm_move() argument
612 if (I915_SELFTEST_ONLY(evict && fail_gpu_migration)) in i915_ttm_move()
615 ret = ttm_bo_move_accel_cleanup(bo, migration_fence, evict, in i915_ttm_move()
/Linux-v6.1/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.1/drivers/gpu/drm/i915/selftests/
Di915_mock_selftests.h32 selftest(evict, i915_gem_evict_mock_selftests)
Di915_live_selftests.h38 selftest(evict, i915_gem_evict_live_selftests)
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Dmmu_rb.h31 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
Dmmu_rb.c211 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
/Linux-v6.1/drivers/gpu/drm/nouveau/
Dnouveau_bo.c425 bool force = false, evict = false; in nouveau_bo_pin() local
437 evict = true; in nouveau_bo_pin()
442 bool error = evict; in nouveau_bo_pin()
465 if (evict) { in nouveau_bo_pin()
795 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument
836 evict, false, in nouveau_bo_move_m2mf()
987 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument
1052 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move()
/Linux-v6.1/include/linux/
Dzpool.h18 int (*evict)(struct zpool *pool, unsigned long handle); member
/Linux-v6.1/include/drm/ttm/
Dttm_device.h149 int (*move)(struct ttm_buffer_object *bo, bool evict,
Dttm_bo_driver.h243 struct dma_fence *fence, bool evict,
/Linux-v6.1/drivers/gpu/drm/radeon/
Dradeon_ttm.c140 bool evict, in radeon_move_blit() argument
189 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit()
194 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument
250 r = radeon_move_blit(bo, evict, new_mem, old_mem); in radeon_bo_move()
/Linux-v6.1/drivers/gpu/drm/
Ddrm_gem_vram_helper.c576 bool evict, in drm_gem_vram_bo_driver_move() argument
923 bool evict, in bo_driver_move() argument
932 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move()
/Linux-v6.1/Documentation/mm/
Dmultigen_lru.rst106 evict or protect.
132 evict from, it first compares ``min_seq[]`` to select the older type.
159 to select types to evict and tiers to protect.
/Linux-v6.1/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.1/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.
Dzswap.rst61 evict pages from its own compressed pool on an LRU basis and write them back to
81 cannot evict the oldest page, it can only reject new pages.
/Linux-v6.1/drivers/gpu/drm/ttm/
Dttm_bo_util.c559 bool evict, in ttm_bo_move_accel_cleanup() argument
569 if (!evict) in ttm_bo_move_accel_cleanup()
/Linux-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c366 bool evict, in amdgpu_move_blit() argument
408 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit()
460 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument
540 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_bo_move()
561 amdgpu_bo_move_notify(bo, evict, new_mem); in amdgpu_bo_move()
Damdgpu_object.c1236 bool evict, in amdgpu_bo_move_notify() argument
1247 amdgpu_vm_bo_invalidate(adev, abo, evict); in amdgpu_bo_move_notify()
1256 if (evict) in amdgpu_bo_move_notify()
Damdgpu_object.h316 bool evict,

12