Lines Matching defs:cpu_flags
51 struct hmm_range *range, unsigned long cpu_flags)
57 range->hmm_pfns[i] |= cpu_flags;
98 unsigned long cpu_flags)
121 !(cpu_flags & HMM_PFN_WRITE))
125 if (!(cpu_flags & HMM_PFN_VALID))
133 unsigned long cpu_flags)
150 cpu_flags);
205 unsigned long cpu_flags;
208 cpu_flags = pmd_to_hmm_pfn_flags(range, pmd);
210 hmm_range_need_fault(hmm_vma_walk, hmm_pfns, npages, cpu_flags);
217 hmm_pfns[i] |= pfn | cpu_flags;
242 unsigned long cpu_flags;
265 cpu_flags = HMM_PFN_VALID;
267 cpu_flags |= HMM_PFN_WRITE;
268 new_pfn_flags = swp_offset_pfn(entry) | cpu_flags;
298 cpu_flags = pte_to_hmm_pfn_flags(range, pte);
300 hmm_pte_need_fault(hmm_vma_walk, pfn_req_flags, cpu_flags);
318 new_pfn_flags = pte_pfn(pte) | cpu_flags;
344 unsigned long cpu_flags = HMM_PFN_VALID |
350 cpu_flags |= HMM_PFN_WRITE;
359 hmm_pfns[i] |= pfn | cpu_flags;
504 unsigned long cpu_flags;
510 cpu_flags = pud_to_hmm_pfn_flags(range, pud);
512 npages, cpu_flags);
521 hmm_pfns[i] |= pfn | cpu_flags;
548 unsigned long cpu_flags;
557 cpu_flags = pte_to_hmm_pfn_flags(range, entry) |
560 hmm_pte_need_fault(hmm_vma_walk, pfn_req_flags, cpu_flags);
582 range->hmm_pfns[i] |= pfn | cpu_flags;