Lines Matching refs:hpage
1562 int flags, struct page *hpage) in hwpoison_user_mappings() argument
1564 struct folio *folio = page_folio(hpage); in hwpoison_user_mappings()
1570 bool mlocked = PageMlocked(hpage); in hwpoison_user_mappings()
1578 if (!(PageLRU(hpage) || PageHuge(p))) in hwpoison_user_mappings()
1599 mapping = page_mapping(hpage); in hwpoison_user_mappings()
1600 if (!(flags & MF_MUST_KILL) && !PageDirty(hpage) && mapping && in hwpoison_user_mappings()
1602 if (page_mkclean(hpage)) { in hwpoison_user_mappings()
1603 SetPageDirty(hpage); in hwpoison_user_mappings()
1618 if (PageHuge(hpage) && !PageAnon(hpage)) { in hwpoison_user_mappings()
1626 mapping = hugetlb_page_mapping_lock_write(hpage); in hwpoison_user_mappings()
1646 shake_page(hpage); in hwpoison_user_mappings()
1658 forcekill = PageDirty(hpage) || (flags & MF_MUST_KILL) || in hwpoison_user_mappings()
2185 struct page *hpage; in memory_failure() local
2273 hpage = compound_head(p); in memory_failure()
2274 if (PageTransHuge(hpage)) { in memory_failure()
2288 SetPageHasHWPoisoned(hpage); in memory_failure()
2668 struct page *hpage = compound_head(page); in soft_offline_in_use_page() local
2677 if (!huge && PageTransHuge(hpage)) { in soft_offline_in_use_page()
2682 hpage = page; in soft_offline_in_use_page()
2709 if (isolate_page(hpage, &pagelist)) { in soft_offline_in_use_page()