Lines Matching refs:head
831 #define head (1UL << PG_head) macro
854 { head, head, MF_MSG_HUGE, me_huge_page },
880 #undef head
932 struct page *head = compound_head(page); in get_hwpoison_page() local
934 if (!PageHuge(head) && PageTransHuge(head)) { in get_hwpoison_page()
941 if (!PageAnon(head)) { in get_hwpoison_page()
948 if (get_page_unless_zero(head)) { in get_hwpoison_page()
949 if (head == compound_head(page)) in get_hwpoison_page()
954 put_page(head); in get_hwpoison_page()
1087 struct page *head = compound_head(p); in memory_failure_hugetlb() local
1091 if (TestSetPageHWPoison(head)) { in memory_failure_hugetlb()
1103 lock_page(head); in memory_failure_hugetlb()
1104 if (PageHWPoison(head)) { in memory_failure_hugetlb()
1106 || (p != head && TestSetPageHWPoison(head))) { in memory_failure_hugetlb()
1108 unlock_page(head); in memory_failure_hugetlb()
1112 unlock_page(head); in memory_failure_hugetlb()
1118 lock_page(head); in memory_failure_hugetlb()
1119 page_flags = head->flags; in memory_failure_hugetlb()
1121 if (!PageHWPoison(head)) { in memory_failure_hugetlb()
1124 unlock_page(head); in memory_failure_hugetlb()
1125 put_hwpoison_page(head); in memory_failure_hugetlb()
1138 if (huge_page_size(page_hstate(head)) > PMD_SIZE) { in memory_failure_hugetlb()
1144 if (!hwpoison_user_mappings(p, pfn, flags, &head)) { in memory_failure_hugetlb()
1152 unlock_page(head); in memory_failure_hugetlb()