Lines Matching refs:hpage
813 struct page *hpage = compound_head(p);
816 if (!PageHuge(hpage))
819 mapping = page_mapping(hpage);
821 res = truncate_error_page(hpage, pfn, mapping);
823 unlock_page(hpage);
829 if (PageAnon(hpage))
830 put_page(hpage);
833 lock_page(hpage);
997 struct page *hpage = *hpagep;
998 bool mlocked = PageMlocked(hpage);
1006 if (!(PageLRU(hpage) || PageHuge(p)))
1033 mapping = page_mapping(hpage);
1034 if (!(flags & MF_MUST_KILL) && !PageDirty(hpage) && mapping &&
1036 if (page_mkclean(hpage)) {
1037 SetPageDirty(hpage);
1055 collect_procs(hpage, &tokill, flags & MF_ACTION_REQUIRED);
1057 if (!PageHuge(hpage)) {
1058 unmap_success = try_to_unmap(hpage, ttu);
1060 if (!PageAnon(hpage)) {
1068 mapping = hugetlb_page_mapping_lock_write(hpage);
1070 unmap_success = try_to_unmap(hpage,
1090 shake_page(hpage, 0);
1102 forcekill = PageDirty(hpage) || (flags & MF_MUST_KILL);
1329 struct page *hpage;
1366 orig_head = hpage = compound_head(p);
1390 if (PageTransHuge(hpage)) {
1792 struct page *hpage = compound_head(page);
1835 if (isolate_page(hpage, &pagelist)) {
1862 struct page *hpage = compound_head(page);
1864 if (!PageHuge(page) && PageTransHuge(hpage))