Lines Matching refs:max_nr
985 int max_nr, int *rss, struct folio **prealloc) in copy_present_ptes() argument
1003 if (unlikely(!*prealloc && folio_test_large(folio) && max_nr != 1)) { in copy_present_ptes()
1009 nr = folio_pte_batch_flags(folio, src_vma, src_pte, &pte, max_nr, flags); in copy_present_ptes()
1089 int progress, max_nr, ret = 0; in copy_pte_range() local
1173 max_nr = (end - addr) / PAGE_SIZE; in copy_pte_range()
1175 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range()
1542 unsigned int max_nr, unsigned long addr, in zap_present_ptes() argument
1574 if (unlikely(folio_test_large(folio) && max_nr != 1)) { in zap_present_ptes()
1575 nr = folio_pte_batch(folio, pte, ptent, max_nr); in zap_present_ptes()
1588 unsigned int max_nr, unsigned long addr, in zap_nonpresent_ptes() argument
1618 nr = swap_pte_batch(pte, max_nr, ptent); in zap_nonpresent_ptes()
1664 int max_nr = (end - addr) / PAGE_SIZE; in do_zap_pte_range() local
1669 for (nr = 1; nr < max_nr; nr++) { in do_zap_pte_range()
1674 max_nr -= nr; in do_zap_pte_range()
1675 if (!max_nr) in do_zap_pte_range()
1682 nr += zap_present_ptes(tlb, vma, pte, ptent, max_nr, addr, in do_zap_pte_range()
1686 nr += zap_nonpresent_ptes(tlb, vma, pte, ptent, max_nr, addr, in do_zap_pte_range()