Lines Matching refs:prealloc
916 struct folio **prealloc, struct page *page) in copy_present_page() argument
921 new_folio = *prealloc; in copy_present_page()
933 *prealloc = NULL; in copy_present_page()
982 int max_nr, int *rss, struct folio **prealloc) in copy_present_ptes() argument
1001 if (unlikely(!*prealloc && folio_test_large(folio) && max_nr != 1)) { in copy_present_ptes()
1041 addr, rss, prealloc, page); in copy_present_ptes()
1093 struct folio *prealloc = NULL; in copy_pte_range() local
1168 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range()
1176 if (unlikely(prealloc)) { in copy_pte_range()
1183 folio_put(prealloc); in copy_pte_range()
1184 prealloc = NULL; in copy_pte_range()
1207 prealloc = folio_prealloc(src_mm, src_vma, addr, false); in copy_pte_range()
1208 if (!prealloc) in copy_pte_range()
1220 if (unlikely(prealloc)) in copy_pte_range()
1221 folio_put(prealloc); in copy_pte_range()