Lines Matching refs:lru
162 struct list_head lru; member
391 INIT_LIST_HEAD(&page->lru); in init_z3fold_page()
513 if (!list_empty(&page->lru)) in __release_z3fold_page()
514 list_del_init(&page->lru); in __release_z3fold_page()
999 INIT_LIST_HEAD(&pool->lru); in z3fold_create_pool()
1174 if (!list_empty(&page->lru)) in z3fold_alloc()
1175 list_del(&page->lru); in z3fold_alloc()
1177 list_add(&page->lru, &pool->lru); in z3fold_alloc()
1216 list_del(&page->lru); in z3fold_free()
1331 if (list_empty(&pool->lru)) { in z3fold_reclaim_page()
1335 list_for_each_prev(pos, &pool->lru) { in z3fold_reclaim_page()
1336 page = list_entry(pos, struct page, lru); in z3fold_reclaim_page()
1390 list_del_init(&page->lru); in z3fold_reclaim_page()
1446 list_add(&page->lru, &pool->lru); in z3fold_reclaim_page()
1464 list_add(&page->lru, &pool->lru); in z3fold_reclaim_page()
1588 if (!list_empty(&page->lru)) in z3fold_page_isolate()
1589 list_del_init(&page->lru); in z3fold_page_isolate()
1654 list_add(&newpage->lru, &pool->lru); in z3fold_page_migrate()
1678 INIT_LIST_HEAD(&page->lru); in z3fold_page_putback()
1684 list_add(&page->lru, &pool->lru); in z3fold_page_putback()