Lines Matching refs:write_fault

1217 			    bool write_fault, bool *writable, pfn_t *pfn)  in hva_to_pfn_fast()  argument
1230 if (!(write_fault || writable)) in hva_to_pfn_fast()
1249 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1258 *writable = write_fault; in hva_to_pfn_slow()
1263 addr, write_fault, page); in hva_to_pfn_slow()
1267 write_fault, 0, page, in hva_to_pfn_slow()
1273 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
1289 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument
1294 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid()
1315 bool write_fault, bool *writable) in hva_to_pfn() argument
1324 if (hva_to_pfn_fast(addr, atomic, async, write_fault, writable, &pfn)) in hva_to_pfn()
1330 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1350 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
1361 bool *async, bool write_fault, bool *writable) in __gfn_to_pfn_memslot() argument
1363 unsigned long addr = __gfn_to_hva_many(slot, gfn, NULL, write_fault); in __gfn_to_pfn_memslot()
1377 return hva_to_pfn(addr, atomic, async, write_fault, in __gfn_to_pfn_memslot()
1382 bool write_fault, bool *writable) in __gfn_to_pfn() argument
1391 return __gfn_to_pfn_memslot(slot, gfn, atomic, async, write_fault, in __gfn_to_pfn()
1402 bool write_fault, bool *writable) in gfn_to_pfn_async() argument
1404 return __gfn_to_pfn(kvm, gfn, false, async, write_fault, writable); in gfn_to_pfn_async()
1414 pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, in gfn_to_pfn_prot() argument
1417 return __gfn_to_pfn(kvm, gfn, false, NULL, write_fault, writable); in gfn_to_pfn_prot()