Lines Matching refs:hmm_pfns
46 range->hmm_pfns[i] = cpu_flags; in hmm_pfns_fill()
120 const unsigned long hmm_pfns[], unsigned long npages, in hmm_range_need_fault() argument
137 required_fault |= hmm_pte_need_fault(hmm_vma_walk, hmm_pfns[i], in hmm_range_need_fault()
152 unsigned long *hmm_pfns; in hmm_vma_walk_hole() local
156 hmm_pfns = &range->hmm_pfns[i]; in hmm_vma_walk_hole()
158 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0); in hmm_vma_walk_hole()
186 unsigned long end, unsigned long hmm_pfns[], in hmm_vma_handle_pmd() argument
198 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, cpu_flags); in hmm_vma_handle_pmd()
204 hmm_pfns[i] = pfn | cpu_flags; in hmm_vma_handle_pmd()
210 unsigned long end, unsigned long hmm_pfns[], pmd_t pmd);
326 unsigned long *hmm_pfns = in hmm_vma_walk_pmd() local
327 &range->hmm_pfns[(start - range->start) >> PAGE_SHIFT]; in hmm_vma_walk_pmd()
339 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) { in hmm_vma_walk_pmd()
348 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) in hmm_vma_walk_pmd()
368 return hmm_vma_handle_pmd(walk, addr, end, hmm_pfns, pmd); in hmm_vma_walk_pmd()
378 if (hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, 0)) in hmm_vma_walk_pmd()
384 for (; addr < end; addr += PAGE_SIZE, ptep++, hmm_pfns++) { in hmm_vma_walk_pmd()
387 r = hmm_vma_handle_pte(walk, addr, end, pmdp, ptep, hmm_pfns); in hmm_vma_walk_pmd()
434 unsigned long *hmm_pfns; in hmm_vma_walk_pud() local
444 hmm_pfns = &range->hmm_pfns[i]; in hmm_vma_walk_pud()
447 required_fault = hmm_range_need_fault(hmm_vma_walk, hmm_pfns, in hmm_vma_walk_pud()
456 hmm_pfns[i] = pfn | cpu_flags; in hmm_vma_walk_pud()
490 pfn_req_flags = range->hmm_pfns[i]; in hmm_vma_walk_hugetlb_entry()
502 range->hmm_pfns[i] = pfn | cpu_flags; in hmm_vma_walk_hugetlb_entry()
534 range->hmm_pfns + in hmm_vma_walk_test()