Lines Matching refs:write_fault
1303 bool write_fault, bool *writable, pfn_t *pfn) in hva_to_pfn_fast() argument
1316 if (!(write_fault || writable)) in hva_to_pfn_fast()
1335 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1344 *writable = write_fault; in hva_to_pfn_slow()
1349 addr, write_fault, page); in hva_to_pfn_slow()
1353 write_fault, 0, page, in hva_to_pfn_slow()
1359 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
1375 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument
1380 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid()
1401 bool write_fault, bool *writable) in hva_to_pfn() argument
1410 if (hva_to_pfn_fast(addr, atomic, async, write_fault, writable, &pfn)) in hva_to_pfn()
1416 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1436 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
1446 bool *async, bool write_fault, bool *writable) in __gfn_to_pfn_memslot() argument
1448 unsigned long addr = __gfn_to_hva_many(slot, gfn, NULL, write_fault); in __gfn_to_pfn_memslot()
1462 return hva_to_pfn(addr, atomic, async, write_fault, in __gfn_to_pfn_memslot()
1467 pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, in gfn_to_pfn_prot() argument
1471 write_fault, writable); in gfn_to_pfn_prot()