Lines Matching refs:required_fault

64 			 unsigned int required_fault, struct mm_walk *walk)  in hmm_vma_fault()  argument
70 WARN_ON_ONCE(!required_fault); in hmm_vma_fault()
73 if (required_fault & HMM_NEED_WRITE_FAULT) { in hmm_vma_fault()
126 unsigned int required_fault = 0; in hmm_range_need_fault() local
139 required_fault |= hmm_pte_need_fault(hmm_vma_walk, hmm_pfns[i], in hmm_range_need_fault()
141 if (required_fault == HMM_NEED_ALL_BITS) in hmm_range_need_fault()
142 return required_fault; in hmm_range_need_fault()
144 return required_fault; in hmm_range_need_fault()
152 unsigned int required_fault; in hmm_vma_walk_hole() local
159 required_fault = in hmm_vma_walk_hole()
162 if (required_fault) in hmm_vma_walk_hole()
166 if (required_fault) in hmm_vma_walk_hole()
167 return hmm_vma_fault(addr, end, required_fault, walk); in hmm_vma_walk_hole()
194 unsigned int required_fault; in hmm_vma_handle_pmd() local
199 required_fault = in hmm_vma_handle_pmd()
201 if (required_fault) in hmm_vma_handle_pmd()
202 return hmm_vma_fault(addr, end, required_fault, walk); in hmm_vma_handle_pmd()
229 unsigned int required_fault; in hmm_vma_handle_pte() local
235 required_fault = in hmm_vma_handle_pte()
237 if (required_fault) in hmm_vma_handle_pte()
260 required_fault = in hmm_vma_handle_pte()
262 if (!required_fault) { in hmm_vma_handle_pte()
289 required_fault = in hmm_vma_handle_pte()
291 if (required_fault) in hmm_vma_handle_pte()
317 return hmm_vma_fault(addr, end, required_fault, walk); in hmm_vma_handle_pte()
434 unsigned int required_fault; in hmm_vma_walk_pud() local
448 required_fault = hmm_range_need_fault(hmm_vma_walk, hmm_pfns, in hmm_vma_walk_pud()
450 if (required_fault) { in hmm_vma_walk_pud()
452 return hmm_vma_fault(addr, end, required_fault, walk); in hmm_vma_walk_pud()
481 unsigned int required_fault; in hmm_vma_walk_hugetlb_entry() local
494 required_fault = in hmm_vma_walk_hugetlb_entry()
496 if (required_fault) { in hmm_vma_walk_hugetlb_entry()
509 ret = hmm_vma_fault(addr, end, required_fault, walk); in hmm_vma_walk_hugetlb_entry()