Searched refs:lru_list (Results 1 – 6 of 6) sorted by relevance
/drivers/md/ |
D | dm-bufio.c | 138 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/ |
D | i915_gem_fence.c | 240 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(®->lru_list, in i915_gem_object_get_fence()
|
D | i915_gem_execbuffer.c | 1079 list_move_tail(&dev_priv->fence_regs[obj->fence_reg].lru_list, in i915_gem_execbuffer_move_to_active()
|
D | i915_drv.h | 478 struct list_head lru_list; member
|
D | i915_gem.c | 5100 INIT_LIST_HEAD(&dev_priv->fence_regs[i].lru_list); in i915_gem_load()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 1376 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()
|