Lines Matching refs:prealloc
1049 struct folio **prealloc, struct page *page) in copy_present_page() argument
1054 new_folio = *prealloc; in copy_present_page()
1066 *prealloc = NULL; in copy_present_page()
1115 int max_nr, int *rss, struct folio **prealloc) in copy_present_ptes() argument
1133 if (unlikely(!*prealloc && folio_test_large(folio) && max_nr != 1)) { in copy_present_ptes()
1170 addr, rss, prealloc, page); in copy_present_ptes()
1222 struct folio *prealloc = NULL; in copy_pte_range() local
1305 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range()
1313 if (unlikely(prealloc)) { in copy_pte_range()
1320 folio_put(prealloc); in copy_pte_range()
1321 prealloc = NULL; in copy_pte_range()
1344 prealloc = folio_prealloc(src_mm, src_vma, addr, false); in copy_pte_range()
1345 if (!prealloc) in copy_pte_range()
1357 if (unlikely(prealloc)) in copy_pte_range()
1358 folio_put(prealloc); in copy_pte_range()