Home
last modified time | relevance | path

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

12

/Linux-v5.4/mm/
Dzbud.c131 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in zbud_zpool_evict()
132 return pool->zpool_ops->evict(pool->zpool, handle); in zbud_zpool_evict()
138 .evict = zbud_zpool_evict
509 if (!pool->ops || !pool->ops->evict || list_empty(&pool->lru) || in zbud_reclaim_page()
534 ret = pool->ops->evict(pool, first_handle); in zbud_reclaim_page()
539 ret = pool->ops->evict(pool, last_handle); in zbud_reclaim_page()
Dz3fold.c75 int (*evict)(struct z3fold_pool *pool, unsigned long handle); member
1122 if (!pool->ops || !pool->ops->evict || retries == 0) { in z3fold_reclaim_page()
1199 ret = pool->ops->evict(pool, middle_handle); in z3fold_reclaim_page()
1204 ret = pool->ops->evict(pool, first_handle); in z3fold_reclaim_page()
1209 ret = pool->ops->evict(pool, last_handle); in z3fold_reclaim_page()
1471 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict()
1472 return pool->zpool_ops->evict(pool->zpool, handle); in z3fold_zpool_evict()
1478 .evict = z3fold_zpool_evict
Dzpool.c185 zpool->evictable = driver->shrink && ops && ops->evict; in zpool_create_pool()
/Linux-v5.4/include/drm/ttm/
Dttm_bo_driver.h310 int (*move)(struct ttm_buffer_object *bo, bool evict,
337 bool evict,
866 struct dma_fence *fence, bool evict,
881 struct dma_fence *fence, bool evict,
/Linux-v5.4/drivers/gpu/drm/radeon/
Dradeon_ttm.c202 bool evict, bool no_wait_gpu, in radeon_move_blit() argument
251 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, new_mem); in radeon_move_blit()
257 bool evict, bool interruptible, in radeon_move_vram_ram() argument
302 bool evict, bool interruptible, in radeon_move_ram_vram() argument
339 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument
378 r = radeon_move_vram_ram(bo, evict, ctx->interruptible, in radeon_bo_move()
382 r = radeon_move_ram_vram(bo, evict, ctx->interruptible, in radeon_bo_move()
385 r = radeon_move_blit(bo, evict, ctx->no_wait_gpu, in radeon_bo_move()
Dradeon_object.h153 bool evict,
/Linux-v5.4/drivers/gpu/drm/nouveau/
Dnouveau_bo.c412 bool force = false, evict = false; in nouveau_bo_pin() local
424 evict = true; in nouveau_bo_pin()
429 if (!(memtype & (1 << bo->mem.mem_type)) || evict) { in nouveau_bo_pin()
439 if (evict) { in nouveau_bo_pin()
1124 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, bool intr, in nouveau_bo_move_m2mf() argument
1152 evict, in nouveau_bo_move_m2mf()
1231 nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr, in nouveau_bo_move_flipd() argument
1268 nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr, in nouveau_bo_move_flips() argument
1304 nouveau_bo_move_ntfy(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move_ntfy() argument
1363 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument
[all …]
/Linux-v5.4/include/linux/
Dzbud.h10 int (*evict)(struct zbud_pool *pool, unsigned long handle); member
Dzpool.h18 int (*evict)(struct zpool *pool, unsigned long handle); member
/Linux-v5.4/drivers/gpu/drm/i915/selftests/
Di915_mock_selftests.h24 selftest(evict, i915_gem_evict_mock_selftests)
Di915_live_selftests.h27 selftest(evict, i915_gem_evict_live_selftests)
/Linux-v5.4/drivers/gpu/drm/selftests/
Ddrm_mm_selftests.h19 selftest(evict, igt_evict)
/Linux-v5.4/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-v5.4/drivers/infiniband/hw/hfi1/
Dmmu_rb.h70 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
Dmmu_rb.c247 if (handler->ops->evict(handler->ops_arg, rbnode, evict_arg, in hfi1_mmu_rb_evict()
/Linux-v5.4/drivers/gpu/drm/ttm/
Dttm_bo_util.c683 bool evict, in ttm_bo_move_accel_cleanup() argument
693 if (evict) { in ttm_bo_move_accel_cleanup()
744 struct dma_fence *fence, bool evict, in ttm_bo_pipeline_move() argument
757 if (!evict) { in ttm_bo_pipeline_move()
Dttm_bo.c321 struct ttm_mem_reg *mem, bool evict, in ttm_bo_handle_move_mem() argument
364 bdev->driver->move_notify(bo, evict, mem); in ttm_bo_handle_move_mem()
372 bdev->driver->move_notify(bo, evict, mem); in ttm_bo_handle_move_mem()
378 ret = bdev->driver->move(bo, evict, ctx, mem); in ttm_bo_handle_move_mem()
/Linux-v5.4/drivers/gpu/drm/qxl/
Dqxl_ttm.c272 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument
291 bool evict, in qxl_bo_move_notify() argument
/Linux-v5.4/drivers/gpu/drm/amd/amdgpu/
Damdgpu_ttm.c425 bool evict, bool no_wait_gpu, in amdgpu_move_blit() argument
467 r = ttm_bo_pipeline_move(bo, fence, evict, new_mem); in amdgpu_move_blit()
483 static int amdgpu_move_vram_ram(struct ttm_buffer_object *bo, bool evict, in amdgpu_move_vram_ram() argument
525 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, &tmp_mem, old_mem); in amdgpu_move_vram_ram()
542 static int amdgpu_move_ram_vram(struct ttm_buffer_object *bo, bool evict, in amdgpu_move_ram_vram() argument
578 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, new_mem, old_mem); in amdgpu_move_ram_vram()
616 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument
662 r = amdgpu_move_vram_ram(bo, evict, ctx, new_mem); in amdgpu_bo_move()
665 r = amdgpu_move_ram_vram(bo, evict, ctx, new_mem); in amdgpu_bo_move()
667 r = amdgpu_move_blit(bo, evict, ctx->no_wait_gpu, in amdgpu_bo_move()
Damdgpu_object.c1195 bool evict, in amdgpu_bo_move_notify() argument
1206 amdgpu_vm_bo_invalidate(adev, abo, evict); in amdgpu_bo_move_notify()
1211 if (evict) in amdgpu_bo_move_notify()
Damdgpu_object.h265 bool evict,
/Linux-v5.4/Documentation/vm/
Dzswap.rst59 evict pages from its own compressed pool on an LRU basis and write them back to
78 cannot evict the oldest page, it can only reject new pages.
/Linux-v5.4/fs/
Dinode.c553 static void evict(struct inode *inode) in evict() function
609 evict(inode); in dispose_list()
1563 evict(inode); in iput_final()
/Linux-v5.4/drivers/gpu/drm/vmwgfx/
Dvmwgfx_ttm_buffer.c845 bool evict, in vmw_move_notify() argument
/Linux-v5.4/drivers/gpu/drm/i915/gt/
Dselftest_hangcheck.c1131 struct drm_mm_node evict = arg->vma->node; in evict_vma() local
1137 err = i915_gem_evict_for_node(vm, &evict, 0); in evict_vma()

12