/kernel/linux/linux-5.10/include/linux/ |
D | mm_inline.h | 29 enum lru_list lru, enum zone_type zid, in __update_lru_size() 40 enum lru_list lru, enum zone_type zid, in update_lru_size() 50 struct lruvec *lruvec, enum lru_list lru) in add_page_to_lru_list() 57 struct lruvec *lruvec, enum lru_list lru) in add_page_to_lru_list_tail() 64 struct lruvec *lruvec, enum lru_list lru) in del_page_from_lru_list() 78 static inline enum lru_list page_lru_base_type(struct page *page) in page_lru_base_type() 97 static __always_inline enum lru_list page_off_lru(struct page *page) in page_off_lru() 99 enum lru_list lru; in page_off_lru() 121 static __always_inline enum lru_list page_lru(struct page *page) in page_lru() 123 enum lru_list lru; in page_lru()
|
D | mmzone.h | 269 enum lru_list { enum 286 static inline bool is_file_lru(enum lru_list lru) in is_file_lru() 291 static inline bool is_active_lru(enum lru_list lru) in is_active_lru() 918 extern unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx);
|
D | swap.h | 385 extern unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, 388 extern bool inactive_is_low(struct lruvec *lruvec, enum lru_list inactive_lru);
|
D | memcontrol.h | 649 void mem_cgroup_update_lru_size(struct lruvec *lruvec, enum lru_list lru, 654 enum lru_list lru, int zone_idx) in mem_cgroup_get_zone_lru_size() 1146 enum lru_list lru, int zone_idx) in mem_cgroup_get_zone_lru_size()
|
D | vmstat.h | 429 static inline const char *lru_list_name(enum lru_list lru) in lru_list_name()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/ |
D | sched_policy.c | 54 struct list_head lru_list; member 108 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 113 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 122 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in gvt_balance_timeslice() 186 vgpu_data = container_of(pos, struct vgpu_sched_data, lru_list); in find_busy_vgpu() 228 list_del_init(&vgpu_data->lru_list); in tbs_sched_func() 229 list_add_tail(&vgpu_data->lru_list, in tbs_sched_func() 321 INIT_LIST_HEAD(&data->lru_list); in tbs_sched_init_vgpu() 347 if (!list_empty(&vgpu_data->lru_list)) in tbs_sched_start_schedule() 355 list_add(&vgpu_data->lru_list, &sched_data->lru_runq_head); in tbs_sched_start_schedule() [all …]
|
D | gtt.h | 162 struct list_head lru_list; member
|
D | gtt.c | 1911 INIT_LIST_HEAD(&mm->ppgtt_mm.lru_list); in intel_vgpu_create_ppgtt_mm() 1930 list_add_tail(&mm->ppgtt_mm.lru_list, &gvt->gtt.ppgtt_mm_lru_list_head); in intel_vgpu_create_ppgtt_mm() 1977 list_del(&mm->ppgtt_mm.lru_list); in _intel_vgpu_mm_release() 2022 list_move_tail(&mm->ppgtt_mm.lru_list, in intel_vgpu_pin_mm() 2038 mm = container_of(pos, struct intel_vgpu_mm, ppgtt_mm.lru_list); in reclaim_one_ppgtt_mm() 2043 list_del_init(&mm->ppgtt_mm.lru_list); in reclaim_one_ppgtt_mm() 2795 list_del_init(&mm->ppgtt_mm.lru_list); in intel_vgpu_invalidate_ppgtt()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | zstd.c | 50 struct list_head lru_list; member 78 struct list_head lru_list; member 110 if (list_empty(&wsm.lru_list)) { in zstd_reclaim_timer_fn() 115 list_for_each_prev_safe(pos, next, &wsm.lru_list) { in zstd_reclaim_timer_fn() 117 lru_list); in zstd_reclaim_timer_fn() 128 list_del(&victim->lru_list); in zstd_reclaim_timer_fn() 137 if (!list_empty(&wsm.lru_list)) in zstd_reclaim_timer_fn() 182 INIT_LIST_HEAD(&wsm.lru_list); in zstd_init_workspace_manager() 207 list_del(&workspace->lru_list); in zstd_cleanup_workspace_manager() 242 list_del(&workspace->lru_list); in zstd_find_workspace() [all …]
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_mru_cache.c | 132 struct list_head *lru_list; in _xfs_mru_cache_migrate() local 145 lru_list = mru->lists + mru->lru_grp; in _xfs_mru_cache_migrate() 146 if (!list_empty(lru_list)) in _xfs_mru_cache_migrate() 147 list_splice_init(lru_list, mru->reap_list.prev); in _xfs_mru_cache_migrate() 171 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate() 172 if (!list_empty(lru_list)) in _xfs_mru_cache_migrate()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | xt_recent.c | 68 struct list_head lru_list; member 84 struct list_head lru_list; member 147 list_del(&e->lru_list); in recent_entry_remove() 163 e = list_entry(t->lru_list.next, struct recent_entry, lru_list); in recent_entry_reap() 186 e = list_entry(t->lru_list.next, struct recent_entry, lru_list); in recent_entry_init() 204 list_add_tail(&e->lru_list, &t->lru_list); in recent_entry_init() 215 list_move_tail(&e->lru_list, &t->lru_list); in recent_entry_update() 404 INIT_LIST_HEAD(&t->lru_list); in recent_mt_check()
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-bufio.c | 138 struct list_head lru_list; member 510 list_add(&b->lru_list, &c->lru[dirty]); in __link_buffer() 528 list_del(&b->lru_list); in __unlink_buffer() 547 list_move(&b->lru_list, &c->lru[dirty]); in __relink_lru() 802 list_for_each_entry_reverse(b, &c->lru[LIST_CLEAN], lru_list) { in __get_unclaimed_buffer() 814 list_for_each_entry_reverse(b, &c->lru[LIST_DIRTY], lru_list) { in __get_unclaimed_buffer() 902 struct dm_buffer, lru_list); in __alloc_buffer_wait_no_callback() 903 list_del(&b->lru_list); in __alloc_buffer_wait_no_callback() 940 list_add(&b->lru_list, &c->reserved_buffers); in __free_buffer_wake() 952 list_for_each_entry_safe_reverse(b, tmp, &c->lru[LIST_DIRTY], lru_list) { in __write_dirty_buffers_async() [all …]
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 103 INIT_LIST_HEAD(&h->lru_list); in hfi1_mmu_rb_register() 177 list_add_tail(&mnode->list, &handler->lru_list); in hfi1_mmu_rb_insert() 193 list_move_tail(&node->list, &handler->lru_list); in hfi1_mmu_rb_get_first() 276 list_for_each_entry_safe(rbnode, ptr, &handler->lru_list, list) { in hfi1_mmu_rb_evict()
|
D | mmu_rb.h | 83 struct list_head lru_list; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_resource.c | 707 struct list_head *lru_list = &dev_priv->res_lru[res->func->res_type]; in vmw_resource_validate() local 724 if (list_empty(lru_list) || !res->func->may_evict) { in vmw_resource_validate() 733 (list_first_entry(lru_list, struct vmw_resource, in vmw_resource_validate() 743 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_validate() 917 struct list_head *lru_list = &dev_priv->res_lru[type]; in vmw_resource_evict_type() local 926 if (list_empty(lru_list)) in vmw_resource_evict_type() 930 list_first_entry(lru_list, struct vmw_resource, in vmw_resource_evict_type() 939 list_add_tail(&evict_res->lru_head, lru_list); in vmw_resource_evict_type()
|
/kernel/linux/linux-5.10/mm/ |
D | memcg_reclaim.c | 41 enum lru_list lru; in get_scan_count_hyperhold() 192 enum lru_list lru; in shrink_anon_memcg() 318 enum lru_list lru; in shrink_file()
|
D | mmzone.c | 77 enum lru_list lru; in lruvec_init()
|
D | internal.h | 239 enum lru_list lru); 242 struct scan_control *sc, enum lru_list lru); 244 struct scan_control *sc, enum lru_list lru);
|
D | vmscan.c | 226 unsigned long lruvec_lru_size(struct lruvec *lruvec, enum lru_list lru, int zone_idx) in lruvec_lru_size() 1561 enum lru_list lru, unsigned long *nr_zone_taken) in update_lru_sizes() 1596 enum lru_list lru) in isolate_lru_pages() 1794 enum lru_list lru; in move_pages_to_lru() 1878 struct scan_control *sc, enum lru_list lru) in shrink_inactive_list() 1984 enum lru_list lru) in shrink_active_list() 2130 unsigned long shrink_list(enum lru_list lru, unsigned long nr_to_scan, in shrink_list() 2188 bool inactive_is_low(struct lruvec *lruvec, enum lru_list inactive_lru) in inactive_is_low() 2190 enum lru_list active_lru = inactive_lru + LRU_ACTIVE; in inactive_is_low() 2227 enum lru_list lru; in get_scan_count() [all …]
|
D | zswapd.c | 480 struct lruvec *lruvec, struct scan_control *sc, enum lru_list lru) in zswapd_shrink_active_list() 531 static unsigned long zswapd_shrink_list(enum lru_list lru, in zswapd_shrink_list() 567 enum lru_list lru; in zswapd_shrink_anon_memcg()
|
D | memcg_control.c | 164 static unsigned long move_pages_to_page_list(struct lruvec *lruvec, enum lru_list lru, in move_pages_to_page_list()
|
D | swap.c | 1019 enum lru_list lru; in __pagevec_lru_add_fn()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | bpf_lru_list.c | 326 struct bpf_lru_list *l = &lru->common_lru.lru_list; in bpf_lru_list_pop_free_to_local() 538 bpf_lru_list_push_free(&lru->common_lru.lru_list, node); in bpf_common_lru_push_free() 568 struct bpf_lru_list *l = &lru->common_lru.lru_list; in bpf_common_lru_populate() 682 bpf_lru_list_init(&clru->lru_list); in bpf_lru_init()
|
D | bpf_lru_list.h | 46 struct bpf_lru_list lru_list; member
|
/kernel/linux/linux-5.10/fs/gfs2/ |
D | glock.c | 65 static LIST_HEAD(lru_list); 216 list_add_tail(&gl->gl_lru, &lru_list); in gfs2_glock_add_to_lru() 1791 list_add(&gl->gl_lru, &lru_list); in gfs2_dispose_glock_lru() 1827 while ((nr-- >= 0) && !list_empty(&lru_list)) { in gfs2_scan_glock_lru() 1828 gl = list_first_entry(&lru_list, struct gfs2_glock, gl_lru); in gfs2_scan_glock_lru() 1840 list_splice(&skipped, &lru_list); in gfs2_scan_glock_lru()
|