Lines Matching refs:lru
157 struct list_head lru; member
304 INIT_LIST_HEAD(&page->lru); in init_z3fold_page()
450 if (!list_empty(&page->lru)) in __release_z3fold_page()
451 list_del_init(&page->lru); in __release_z3fold_page()
790 INIT_LIST_HEAD(&pool->lru); in z3fold_create_pool()
974 if (!list_empty(&page->lru)) in z3fold_alloc()
975 list_del(&page->lru); in z3fold_alloc()
977 list_add(&page->lru, &pool->lru); in z3fold_alloc()
1016 list_del(&page->lru); in z3fold_free()
1128 if (list_empty(&pool->lru)) { in z3fold_reclaim_page()
1132 list_for_each_prev(pos, &pool->lru) { in z3fold_reclaim_page()
1133 page = list_entry(pos, struct page, lru); in z3fold_reclaim_page()
1166 list_del_init(&page->lru); in z3fold_reclaim_page()
1222 list_add(&page->lru, &pool->lru); in z3fold_reclaim_page()
1238 list_add(&page->lru, &pool->lru); in z3fold_reclaim_page()
1363 if (!list_empty(&page->lru)) in z3fold_page_isolate()
1364 list_del(&page->lru); in z3fold_page_isolate()
1426 list_add(&newpage->lru, &pool->lru); in z3fold_page_migrate()
1449 INIT_LIST_HEAD(&page->lru); in z3fold_page_putback()
1455 list_add(&page->lru, &pool->lru); in z3fold_page_putback()