Home
last modified time | relevance | path

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

/Linux-v4.19/mm/
Dswap.c819 void lru_add_page_tail(struct page *page, struct page *page_tail, in lru_add_page_tail() argument
825 VM_BUG_ON_PAGE(PageCompound(page_tail), page); in lru_add_page_tail()
826 VM_BUG_ON_PAGE(PageLRU(page_tail), page); in lru_add_page_tail()
831 SetPageLRU(page_tail); in lru_add_page_tail()
834 list_add_tail(&page_tail->lru, &page->lru); in lru_add_page_tail()
837 get_page(page_tail); in lru_add_page_tail()
838 list_add_tail(&page_tail->lru, list); in lru_add_page_tail()
848 add_page_to_lru_list(page_tail, lruvec, page_lru(page_tail)); in lru_add_page_tail()
849 list_head = page_tail->lru.prev; in lru_add_page_tail()
850 list_move_tail(&page_tail->lru, list_head); in lru_add_page_tail()
[all …]
Dhuge_memory.c2354 struct page *page_tail = head + tail; in __split_huge_page_tail() local
2356 VM_BUG_ON_PAGE(atomic_read(&page_tail->_mapcount) != -1, page_tail); in __split_huge_page_tail()
2364 page_tail->flags &= ~PAGE_FLAGS_CHECK_AT_PREP; in __split_huge_page_tail()
2365 page_tail->flags |= (head->flags & in __split_huge_page_tail()
2385 clear_compound_head(page_tail); in __split_huge_page_tail()
2388 page_ref_unfreeze(page_tail, 1 + (!PageAnon(head) || in __split_huge_page_tail()
2392 set_page_young(page_tail); in __split_huge_page_tail()
2394 set_page_idle(page_tail); in __split_huge_page_tail()
2397 VM_BUG_ON_PAGE(tail > 2 && page_tail->mapping != TAIL_MAPPING, in __split_huge_page_tail()
2398 page_tail); in __split_huge_page_tail()
[all …]
/Linux-v4.19/include/linux/
Dswap.h328 extern void lru_add_page_tail(struct page *page, struct page *page_tail,