Home
last modified time | relevance | path

Searched refs:lru_list (Results 1 – 6 of 6) sorted by relevance

/drivers/md/
Ddm-bufio.c138 struct list_head lru_list; member
483 list_add(&b->lru_list, &c->lru[dirty]); in __link_buffer()
499 list_del(&b->lru_list); in __unlink_buffer()
514 list_move(&b->lru_list, &c->lru[dirty]); in __relink_lru()
752 list_for_each_entry_reverse(b, &c->lru[LIST_CLEAN], lru_list) { in __get_unclaimed_buffer()
764 list_for_each_entry_reverse(b, &c->lru[LIST_DIRTY], lru_list) { in __get_unclaimed_buffer()
852 struct dm_buffer, lru_list); in __alloc_buffer_wait_no_callback()
853 list_del(&b->lru_list); in __alloc_buffer_wait_no_callback()
890 list_add(&b->lru_list, &c->reserved_buffers); in __free_buffer_wake()
902 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in __write_dirty_buffers_async()
[all …]
/drivers/gpu/drm/i915/
Di915_gem_fence.c240 list_move_tail(&fence->lru_list, &dev_priv->mm.fence_list); in i915_gem_object_update_fence()
244 list_del_init(&fence->lru_list); in i915_gem_object_update_fence()
333 list_for_each_entry(reg, &dev_priv->mm.fence_list, lru_list) { in i915_find_fence_reg()
388 list_move_tail(&reg->lru_list, in i915_gem_object_get_fence()
Di915_gem_execbuffer.c1079 list_move_tail(&dev_priv->fence_regs[obj->fence_reg].lru_list, in i915_gem_execbuffer_move_to_active()
Di915_drv.h478 struct list_head lru_list; member
Di915_gem.c5100 INIT_LIST_HEAD(&dev_priv->fence_regs[i].lru_list); in i915_gem_load()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c1376 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() local
1393 if (list_empty(lru_list) || !res->func->may_evict) { in vmw_resource_validate()
1402 (list_first_entry(lru_list, struct vmw_resource, in vmw_resource_validate()
1411 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_validate()
1636 struct list_head *lru_list = &dev_priv->res_lru[type]; in vmw_resource_evict_type() local
1644 if (list_empty(lru_list)) in vmw_resource_evict_type()
1648 list_first_entry(lru_list, struct vmw_resource, in vmw_resource_evict_type()
1656 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_evict_type()