Lines Matching refs:hpage

1130 	struct page *hpage = compound_head(p);  in me_huge_page()  local
1134 if (!PageHuge(hpage)) in me_huge_page()
1137 mapping = page_mapping(hpage); in me_huge_page()
1139 res = truncate_error_page(hpage, page_to_pfn(p), mapping); in me_huge_page()
1142 unlock_page(hpage); in me_huge_page()
1144 unlock_page(hpage); in me_huge_page()
1150 put_page(hpage); in me_huge_page()
1486 int flags, struct page *hpage) in hwpoison_user_mappings() argument
1488 struct folio *folio = page_folio(hpage); in hwpoison_user_mappings()
1494 bool mlocked = PageMlocked(hpage); in hwpoison_user_mappings()
1502 if (!(PageLRU(hpage) || PageHuge(p))) in hwpoison_user_mappings()
1509 if (!page_mapped(hpage)) in hwpoison_user_mappings()
1528 mapping = page_mapping(hpage); in hwpoison_user_mappings()
1529 if (!(flags & MF_MUST_KILL) && !PageDirty(hpage) && mapping && in hwpoison_user_mappings()
1531 if (page_mkclean(hpage)) { in hwpoison_user_mappings()
1532 SetPageDirty(hpage); in hwpoison_user_mappings()
1545 collect_procs(hpage, &tokill, flags & MF_ACTION_REQUIRED); in hwpoison_user_mappings()
1547 if (PageHuge(hpage) && !PageAnon(hpage)) { in hwpoison_user_mappings()
1555 mapping = hugetlb_page_mapping_lock_write(hpage); in hwpoison_user_mappings()
1565 unmap_success = !page_mapped(hpage); in hwpoison_user_mappings()
1568 pfn, page_mapcount(hpage)); in hwpoison_user_mappings()
1575 shake_page(hpage); in hwpoison_user_mappings()
1587 forcekill = PageDirty(hpage) || (flags & MF_MUST_KILL) || in hwpoison_user_mappings()
2081 struct page *hpage; in memory_failure() local
2130 hpage = compound_head(p); in memory_failure()
2170 if (PageTransHuge(hpage)) { in memory_failure()
2184 SetPageHasHWPoisoned(hpage); in memory_failure()
2549 struct page *hpage = compound_head(page); in soft_offline_in_use_page() local
2558 if (!huge && PageTransHuge(hpage)) { in soft_offline_in_use_page()
2563 hpage = page; in soft_offline_in_use_page()
2590 if (isolate_page(hpage, &pagelist)) { in soft_offline_in_use_page()