• Home
  • Raw
  • Download

Lines Matching refs:lru

118 		victim = list_entry(pages->prev, struct page, lru);  in put_pages_list()
119 list_del(&victim->lru); in put_pages_list()
212 enum lru_list lru = page_lru_base_type(page); in pagevec_move_tail_fn() local
213 list_move_tail(&page->lru, &lruvec->lists[lru]); in pagevec_move_tail_fn()
266 int lru = page_lru_base_type(page); in __activate_page() local
268 del_page_from_lru_list(page, lruvec, lru); in __activate_page()
270 lru += LRU_ACTIVE; in __activate_page()
271 add_page_to_lru_list(page, lruvec, lru); in __activate_page()
518 int lru, file; in lru_deactivate_file_fn() local
533 lru = page_lru_base_type(page); in lru_deactivate_file_fn()
535 del_page_from_lru_list(page, lruvec, lru + active); in lru_deactivate_file_fn()
538 add_page_to_lru_list(page, lruvec, lru); in lru_deactivate_file_fn()
552 list_move_tail(&page->lru, &lruvec->lists[lru]); in lru_deactivate_file_fn()
567 int lru = page_lru_base_type(page); in lru_deactivate_fn() local
569 del_page_from_lru_list(page, lruvec, lru + LRU_ACTIVE); in lru_deactivate_fn()
572 add_page_to_lru_list(page, lruvec, lru); in lru_deactivate_fn()
788 list_add(&page->lru, &pages_to_free); in release_pages()
833 list_add_tail(&page_tail->lru, &page->lru); in lru_add_page_tail()
837 list_add_tail(&page_tail->lru, list); in lru_add_page_tail()
848 list_head = page_tail->lru.prev; in lru_add_page_tail()
849 list_move_tail(&page_tail->lru, list_head); in lru_add_page_tail()
862 enum lru_list lru = page_lru(page); in __pagevec_lru_add_fn() local
867 add_page_to_lru_list(page, lruvec, lru); in __pagevec_lru_add_fn()
869 trace_mm_lru_insertion(page, lru); in __pagevec_lru_add_fn()