/kernel/linux/linux-5.10/mm/ |
H A D | zbud.c | 131 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 499 * no pages to evict or an eviction handler is not registered, -EAGAIN if 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()
|
H A D | z3fold.c | 76 int (*evict)(struct z3fold_pool *pool, unsigned long handle); member 1325 * no pages to evict or an eviction handler is not registered, -EAGAIN if 1341 if (!pool->ops || !pool->ops->evict || retries == 0) { in z3fold_reclaim_page() 1380 continue; /* can't evict at this point */ in z3fold_reclaim_page() 1395 continue; /* can't evict such page */ in z3fold_reclaim_page() 1439 ret = pool->ops->evict(pool, middle_handle); in z3fold_reclaim_page() 1444 ret = pool->ops->evict(pool, first_handle); in z3fold_reclaim_page() 1449 ret = pool->ops->evict(pool, last_handle); in z3fold_reclaim_page() 1717 if (pool->zpool && pool->zpool_ops && pool->zpool_ops->evict) in z3fold_zpool_evict() 1718 return pool->zpool_ops->evict(poo in z3fold_zpool_evict() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
H A D | msm_gem_shrinker.c | 62 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 441 bool force = false, evict = false; in nouveau_bo_pin() local 453 evict = true; in nouveau_bo_pin() 458 bool error = evict; in nouveau_bo_pin() 480 if (evict) { in nouveau_bo_pin() 800 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, bool intr, in nouveau_bo_move_m2mf() argument 837 evict, false, in nouveau_bo_move_m2mf() 916 nouveau_bo_move_flipd(struct ttm_buffer_object *bo, bool evict, bool intr, in nouveau_bo_move_flipd() argument 958 nouveau_bo_move_flips(struct ttm_buffer_object *bo, bool evict, bool intr, in nouveau_bo_move_flips() argument 995 nouveau_bo_move_ntfy(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move_ntfy() argument 1064 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument [all...] |
/kernel/linux/linux-5.10/include/drm/ttm/ |
H A D | ttm_bo_driver.h | 135 * Check with the driver if it is valuable to evict a BO to make room 157 * @evict: whether this motion is evicting the buffer from 164 int (*move)(struct ttm_buffer_object *bo, bool evict, 187 * @evict: whether this move is evicting the buffer from the graphics 191 bool evict, 644 * @evict: This is an evict move. Don't return until the buffer is idle. 656 struct dma_fence *fence, bool evict,
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | zbud.h | 10 int (*evict)(struct zbud_pool *pool, unsigned long handle); member
|
H A D | zpool.h | 18 int (*evict)(struct zpool *pool, unsigned long handle); member
|
/kernel/linux/linux-5.10/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 | 37 selftest(evict, i915_gem_evict_live_selftests)
|
/kernel/linux/linux-6.6/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)
|
/kernel/linux/linux-6.6/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 | 170 * evict / migration blit and thus stall the migration timeline in i915_ttm_move_notify() 562 * @evict: Whether this is an eviction. 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()
|
/kernel/linux/linux-6.6/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.h | 22 /* filter and evict must not sleep. Only remove is allowed to sleep. */ 27 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 154 bool evict, bool no_wait_gpu, in radeon_move_blit() 203 r = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, new_mem); in radeon_move_blit() 209 bool evict, bool interruptible, in radeon_move_vram_ram() 260 bool evict, bool interruptible, in radeon_move_ram_vram() 298 static int radeon_bo_move(struct ttm_buffer_object *bo, bool evict, in radeon_bo_move() argument 337 r = radeon_move_vram_ram(bo, evict, ctx->interruptible, in radeon_bo_move() 341 r = radeon_move_ram_vram(bo, evict, ctx->interruptible, in radeon_bo_move() 344 r = radeon_move_blit(bo, evict, ctx->no_wait_gpu, in radeon_bo_move() 153 radeon_move_blit(struct ttm_buffer_object *bo, bool evict, bool no_wait_gpu, struct ttm_resource *new_mem, struct ttm_resource *old_mem) radeon_move_blit() argument 208 radeon_move_vram_ram(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_resource *new_mem) radeon_move_vram_ram() argument 259 radeon_move_ram_vram(struct ttm_buffer_object *bo, bool evict, bool interruptible, bool no_wait_gpu, struct ttm_resource *new_mem) radeon_move_ram_vram() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.c | 476 bool force = false, evict = false; in nouveau_bo_pin() local 488 evict = true; in nouveau_bo_pin() 493 bool error = evict; in nouveau_bo_pin() 516 if (evict) { in nouveau_bo_pin() 846 nouveau_bo_move_m2mf(struct ttm_buffer_object *bo, int evict, in nouveau_bo_move_m2mf() argument 892 ret = ttm_bo_move_accel_cleanup(bo, &fence->base, evict, false, in nouveau_bo_move_m2mf() 1051 nouveau_bo_move(struct ttm_buffer_object *bo, bool evict, in nouveau_bo_move() argument 1113 ret = nouveau_bo_move_m2mf(bo, evict, ctx, in nouveau_bo_move()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
H A D | mmu_rb.h | 64 * NOTE: filter, insert, invalidate, and evict must not sleep. Only remove is 73 int (*evict)(void *ops_arg, struct mmu_rb_node *mnode, member
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_32_mmu_host.c | 142 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()
|
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_32_mmu_host.c | 142 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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ttm.c | 81 * @bo: The buffer object to evict 462 bool evict, in amdgpu_move_blit() 505 r = ttm_bo_move_accel_cleanup(bo, fence, evict, true, new_mem); in amdgpu_move_blit() 521 static int amdgpu_move_vram_ram(struct ttm_buffer_object *bo, bool evict, in amdgpu_move_vram_ram() argument 565 r = amdgpu_move_blit(bo, evict, &tmp_mem, old_mem); in amdgpu_move_vram_ram() 582 static int amdgpu_move_ram_vram(struct ttm_buffer_object *bo, bool evict, in amdgpu_move_ram_vram() argument 616 r = amdgpu_move_blit(bo, evict, new_mem, old_mem); in amdgpu_move_ram_vram() 654 static int amdgpu_bo_move(struct ttm_buffer_object *bo, bool evict, in amdgpu_bo_move() argument 700 r = amdgpu_move_vram_ram(bo, evict, ctx, new_mem); in amdgpu_bo_move() 703 r = amdgpu_move_ram_vram(bo, evict, ct in amdgpu_bo_move() 461 amdgpu_move_blit(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem, struct ttm_resource *old_mem) amdgpu_move_blit() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 156 static int qxl_bo_move(struct ttm_buffer_object *bo, bool evict, in qxl_bo_move() argument 175 bool evict, in qxl_bo_move_notify() 174 qxl_bo_move_notify(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem) qxl_bo_move_notify() argument
|
/kernel/linux/linux-6.6/include/drm/ttm/ |
H A D | ttm_device.h | 116 * Check with the driver if it is valuable to evict a BO to make room 140 * @evict: whether this motion is evicting the buffer from 149 int (*move)(struct ttm_buffer_object *bo, bool evict,
|
/kernel/linux/linux-6.6/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 139 bool evict, in radeon_move_blit() 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() 138 radeon_move_blit(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem, struct ttm_resource *old_mem) radeon_move_blit() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 608 bool evict, in drm_gem_vram_bo_driver_move_notify() 970 bool evict, in bo_driver_move_notify() 981 drm_gem_vram_bo_driver_move_notify(gbo, evict, new_mem); in bo_driver_move_notify() 607 drm_gem_vram_bo_driver_move_notify(struct drm_gem_vram_object *gbo, bool evict, struct ttm_resource *new_mem) drm_gem_vram_bo_driver_move_notify() argument 969 bo_driver_move_notify(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem) bo_driver_move_notify() argument
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_gem_vram_helper.c | 565 bool evict, in drm_gem_vram_bo_driver_move() 912 bool evict, in bo_driver_move() 932 return drm_gem_vram_bo_driver_move(gbo, evict, ctx, new_mem); in bo_driver_move() 564 drm_gem_vram_bo_driver_move(struct drm_gem_vram_object *gbo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem) drm_gem_vram_bo_driver_move() argument 911 bo_driver_move(struct ttm_buffer_object *bo, bool evict, struct ttm_operation_ctx *ctx, struct ttm_resource *new_mem, struct ttm_place *hop) bo_driver_move() argument
|