Home
last modified time | relevance | path

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

/fs/btrfs/
Dzstd.c50 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 …]
/fs/xfs/
Dxfs_mru_cache.c132 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()
/fs/gfs2/
Dglock.c65 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()