Lines Matching refs:max_nr
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()
1007 nr = folio_pte_batch(folio, addr, src_pte, pte, max_nr, flags, in copy_present_ptes()
1090 int progress, max_nr, ret = 0; in copy_pte_range() local
1166 max_nr = (end - addr) / PAGE_SIZE; in copy_pte_range()
1168 ptent, addr, max_nr, rss, &prealloc); in copy_pte_range()
1539 unsigned int max_nr, unsigned long addr, in zap_present_ptes() argument
1570 if (unlikely(folio_test_large(folio) && max_nr != 1)) { in zap_present_ptes()
1571 nr = folio_pte_batch(folio, addr, pte, ptent, max_nr, fpb_flags, in zap_present_ptes()
1610 int max_nr; in zap_pte_range() local
1620 max_nr = (end - addr) / PAGE_SIZE; in zap_pte_range()
1621 nr = zap_present_ptes(tlb, vma, pte, ptent, max_nr, in zap_pte_range()
1650 max_nr = (end - addr) / PAGE_SIZE; in zap_pte_range()
1651 nr = swap_pte_batch(pte, max_nr, ptent); in zap_pte_range()
4029 static inline int non_swapcache_batch(swp_entry_t entry, int max_nr) in non_swapcache_batch() argument
4041 for (i = 0; i < max_nr; i++) { in non_swapcache_batch()