Searched refs:lru_list (Results 1 – 8 of 8) sorted by relevance
/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 51 struct list_head lru_list; member 99 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 104 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 114 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 182 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in find_busy_vgpu() 215 list_del_init(&vgpu_data->lru_list); in tbs_sched_func() 216 list_add_tail(&vgpu_data->lru_list, in tbs_sched_func() 302 INIT_LIST_HEAD(&data->lru_list); in tbs_sched_init_vgpu() 320 if (!list_empty(&vgpu_data->lru_list)) in tbs_sched_start_schedule() 323 list_add_tail(&vgpu_data->lru_list, &sched_data->lru_runq_head); in tbs_sched_start_schedule() [all …]
|
D | gtt.c | 1488 list_del(&mm->lru_list); in intel_vgpu_destroy_mm() 1592 INIT_LIST_HEAD(&mm->lru_list); in intel_vgpu_create_mm() 1611 list_add_tail(&mm->lru_list, &gvt->gtt.mm_lru_list_head); in intel_vgpu_create_mm() 1661 list_del_init(&mm->lru_list); in intel_vgpu_pin_mm() 1662 list_add_tail(&mm->lru_list, &mm->vgpu->gvt->gtt.mm_lru_list_head); in intel_vgpu_pin_mm() 1672 mm = container_of(pos, struct intel_vgpu_mm, lru_list); in reclaim_one_mm() 1679 list_del_init(&mm->lru_list); in reclaim_one_mm() 2070 list_del(&mm->lru_list); in intel_vgpu_free_mm()
|
D | gtt.h | 146 struct list_head lru_list; member
|
/drivers/md/ |
D | dm-bufio.c | 148 struct list_head lru_list; member 499 list_add(&b->lru_list, &c->lru[dirty]); in __link_buffer() 515 list_del(&b->lru_list); in __unlink_buffer() 530 list_move(&b->lru_list, &c->lru[dirty]); in __relink_lru() 783 list_for_each_entry_reverse(b, &c->lru[LIST_CLEAN], lru_list) { in __get_unclaimed_buffer() 795 list_for_each_entry_reverse(b, &c->lru[LIST_DIRTY], lru_list) { in __get_unclaimed_buffer() 883 struct dm_buffer, lru_list); in __alloc_buffer_wait_no_callback() 884 list_del(&b->lru_list); in __alloc_buffer_wait_no_callback() 921 list_add(&b->lru_list, &c->reserved_buffers); in __free_buffer_wake() 933 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in __write_dirty_buffers_async() [all …]
|
/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 62 struct list_head lru_list; member 120 INIT_LIST_HEAD(&handlr->lru_list); in hfi1_mmu_rb_register() 180 list_add(&mnode->list, &handler->lru_list); in hfi1_mmu_rb_insert() 249 list_for_each_entry_safe_reverse(rbnode, ptr, &handler->lru_list, in hfi1_mmu_rb_evict()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_ring.c | 251 INIT_LIST_HEAD(&ring->lru_list); in amdgpu_ring_init() 296 list_move_tail(&ring->lru_list, &adev->ring_lru_list); in amdgpu_ring_lru_touch_locked() 334 list_for_each_entry(entry, &adev->ring_lru_list, lru_list) { in amdgpu_ring_lru_get()
|
D | amdgpu_ring.h | 157 struct list_head lru_list; member
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 1120 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() local 1137 if (list_empty(lru_list) || !res->func->may_evict) { in vmw_resource_validate() 1146 (list_first_entry(lru_list, struct vmw_resource, in vmw_resource_validate() 1155 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_validate() 1380 struct list_head *lru_list = &dev_priv->res_lru[type]; in vmw_resource_evict_type() local 1388 if (list_empty(lru_list)) in vmw_resource_evict_type() 1392 list_first_entry(lru_list, struct vmw_resource, in vmw_resource_evict_type() 1400 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_evict_type()
|