Searched refs:thp (Results 1 – 2 of 2) sorted by relevance
1007 struct page *thp; in alloc_new_node_page() local1009 thp = alloc_pages_node(node, in alloc_new_node_page()1012 if (!thp) in alloc_new_node_page()1014 prep_transhuge_page(thp); in alloc_new_node_page()1015 return thp; in alloc_new_node_page()1183 struct page *thp; in new_page() local1185 thp = alloc_hugepage_vma(GFP_TRANSHUGE, vma, address, in new_page()1187 if (!thp) in new_page()1189 prep_transhuge_page(thp); in new_page()1190 return thp; in new_page()
1412 struct page *thp; in new_non_cma_page() local1423 thp = __alloc_pages_node(nid, thp_gfpmask, HPAGE_PMD_ORDER); in new_non_cma_page()1424 if (!thp) in new_non_cma_page()1426 prep_transhuge_page(thp); in new_non_cma_page()1427 return thp; in new_non_cma_page()