Lines Matching refs:cpu_flags
41 struct hmm_range *range, unsigned long cpu_flags)
46 range->hmm_pfns[i] = cpu_flags;
86 unsigned long cpu_flags)
109 !(cpu_flags & HMM_PFN_WRITE))
113 if (!(cpu_flags & HMM_PFN_VALID))
121 unsigned long cpu_flags)
138 cpu_flags);
193 unsigned long cpu_flags;
196 cpu_flags = pmd_to_hmm_pfn_flags(range, pmd);
198 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, cpu_flags);
204 hmm_pfns[i] = pfn | cpu_flags;
236 unsigned long cpu_flags;
257 cpu_flags = HMM_PFN_VALID;
259 cpu_flags |= HMM_PFN_WRITE;
261 cpu_flags;
287 cpu_flags = pte_to_hmm_pfn_flags(range, pte);
289 hmm_pte_need_fault(hmm_vma_walk, pfn_req_flags, cpu_flags);
310 *hmm_pfn = pte_pfn(pte) | cpu_flags;
435 unsigned long cpu_flags;
446 cpu_flags = pud_to_hmm_pfn_flags(range, pud);
448 npages, cpu_flags);
456 hmm_pfns[i] = pfn | cpu_flags;
482 unsigned long cpu_flags;
491 cpu_flags = pte_to_hmm_pfn_flags(range, entry) |
494 hmm_pte_need_fault(hmm_vma_walk, pfn_req_flags, cpu_flags);
502 range->hmm_pfns[i] = pfn | cpu_flags;