Lines Matching refs:page_tail
1165 struct page *page_tail = page + i; in __split_huge_page_refcount() local
1168 atomic_sub(atomic_read(&page_tail->_count), &page->_count); in __split_huge_page_refcount()
1170 atomic_add(page_mapcount(page) + 1, &page_tail->_count); in __split_huge_page_refcount()
1171 BUG_ON(atomic_read(&page_tail->_count) <= 0); in __split_huge_page_refcount()
1181 page_tail->flags &= ~PAGE_FLAGS_CHECK_AT_PREP | __PG_HWPOISON; in __split_huge_page_refcount()
1182 page_tail->flags |= (page->flags & in __split_huge_page_refcount()
1187 page_tail->flags |= (1L << PG_dirty); in __split_huge_page_refcount()
1209 BUG_ON(page_mapcount(page_tail)); in __split_huge_page_refcount()
1210 page_tail->_mapcount = page->_mapcount; in __split_huge_page_refcount()
1212 BUG_ON(page_tail->mapping); in __split_huge_page_refcount()
1213 page_tail->mapping = page->mapping; in __split_huge_page_refcount()
1215 page_tail->index = ++head_index; in __split_huge_page_refcount()
1217 BUG_ON(!PageAnon(page_tail)); in __split_huge_page_refcount()
1218 BUG_ON(!PageUptodate(page_tail)); in __split_huge_page_refcount()
1219 BUG_ON(!PageDirty(page_tail)); in __split_huge_page_refcount()
1220 BUG_ON(!PageSwapBacked(page_tail)); in __split_huge_page_refcount()
1222 mem_cgroup_split_huge_fixup(page, page_tail); in __split_huge_page_refcount()
1224 lru_add_page_tail(zone, page, page_tail); in __split_huge_page_refcount()
1244 struct page *page_tail = page + i; in __split_huge_page_refcount() local
1245 BUG_ON(page_count(page_tail) <= 0); in __split_huge_page_refcount()
1253 put_page(page_tail); in __split_huge_page_refcount()