Lines Matching refs:npages
122 const unsigned long hmm_pfns[], unsigned long npages, in hmm_range_need_fault() argument
138 for (i = 0; i < npages; ++i) { in hmm_range_need_fault()
153 unsigned long i, npages; in hmm_vma_walk_hole() local
157 npages = (end - addr) >> PAGE_SHIFT; in hmm_vma_walk_hole()
160 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0); in hmm_vma_walk_hole()
193 unsigned long pfn, npages, i; in hmm_vma_handle_pmd() local
197 npages = (end - addr) >> PAGE_SHIFT; in hmm_vma_handle_pmd()
200 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, cpu_flags); in hmm_vma_handle_pmd()
329 unsigned long npages = (end - start) >> PAGE_SHIFT; in hmm_vma_walk_pmd() local
340 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) { in hmm_vma_walk_pmd()
349 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) in hmm_vma_walk_pmd()
379 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) in hmm_vma_walk_pmd()
432 unsigned long i, npages, pfn; in hmm_vma_walk_pud() local
443 npages = (end - addr) >> PAGE_SHIFT; in hmm_vma_walk_pud()
448 npages, cpu_flags); in hmm_vma_walk_pud()
455 for (i = 0; i < npages; ++i, ++pfn) in hmm_vma_walk_pud()