Searched refs:hpage (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | khugepaged.c | 866 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait) in khugepaged_prealloc_page() argument 868 if (IS_ERR(*hpage)) { in khugepaged_prealloc_page() 873 *hpage = NULL; in khugepaged_prealloc_page() 875 } else if (*hpage) { in khugepaged_prealloc_page() 876 put_page(*hpage); in khugepaged_prealloc_page() 877 *hpage = NULL; in khugepaged_prealloc_page() 884 khugepaged_alloc_page(struct page **hpage, gfp_t gfp, int node) in khugepaged_alloc_page() argument 886 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page() 888 *hpage = __alloc_pages_node(node, gfp, HPAGE_PMD_ORDER); in khugepaged_alloc_page() 889 if (unlikely(!*hpage)) { in khugepaged_alloc_page() [all …]
|
D | memory-failure.c | 1041 struct page *hpage = compound_head(p); in me_huge_page() local 1045 if (!PageHuge(hpage)) in me_huge_page() 1048 mapping = page_mapping(hpage); in me_huge_page() 1050 res = truncate_error_page(hpage, page_to_pfn(p), mapping); in me_huge_page() 1053 unlock_page(hpage); in me_huge_page() 1056 unlock_page(hpage); in me_huge_page() 1062 if (PageAnon(hpage)) in me_huge_page() 1063 put_page(hpage); in me_huge_page() 1312 int flags, struct page *hpage) in hwpoison_user_mappings() argument 1319 bool mlocked = PageMlocked(hpage); in hwpoison_user_mappings() [all …]
|
D | hwpoison-inject.c | 18 struct page *hpage; in hwpoison_inject() local 28 hpage = compound_head(p); in hwpoison_inject() 33 shake_page(hpage); in hwpoison_inject() 37 if (!PageLRU(hpage) && !PageHuge(p)) in hwpoison_inject() 45 err = hwpoison_filter(hpage); in hwpoison_inject()
|
D | migrate.c | 1282 struct page *hpage, int force, in unmap_and_move_huge_page() argument 1299 if (!hugepage_migration_supported(page_hstate(hpage))) { in unmap_and_move_huge_page() 1300 list_move_tail(&hpage->lru, ret); in unmap_and_move_huge_page() 1304 if (page_count(hpage) == 1) { in unmap_and_move_huge_page() 1306 putback_active_hugepage(hpage); in unmap_and_move_huge_page() 1310 new_hpage = get_new_page(hpage, private); in unmap_and_move_huge_page() 1314 if (!trylock_page(hpage)) { in unmap_and_move_huge_page() 1324 lock_page(hpage); in unmap_and_move_huge_page() 1332 if (hugetlb_page_subpool(hpage) && !page_mapping(hpage)) { in unmap_and_move_huge_page() 1337 if (PageAnon(hpage)) in unmap_and_move_huge_page() [all …]
|
D | hugetlb.c | 1771 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage) in hugetlb_page_mapping_lock_write() argument 1773 struct address_space *mapping = page_mapping(hpage); in hugetlb_page_mapping_lock_write()
|