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