Lines Matching refs:write_fault

2515 static bool hva_to_pfn_fast(unsigned long addr, bool write_fault,  in hva_to_pfn_fast()  argument
2525 if (!(write_fault || writable)) in hva_to_pfn_fast()
2543 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
2564 *writable = write_fault; in hva_to_pfn_slow()
2566 if (write_fault) in hva_to_pfn_slow()
2578 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
2591 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument
2596 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid()
2613 unsigned long addr, bool write_fault, in hva_to_pfn_remapped() argument
2630 (write_fault ? FAULT_FLAG_WRITE : 0), in hva_to_pfn_remapped()
2644 if (write_fault && !pte_write(pte)) { in hva_to_pfn_remapped()
2696 bool *async, bool write_fault, bool *writable) in hva_to_pfn() argument
2705 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2711 npages = hva_to_pfn_slow(addr, async, write_fault, interruptible, in hva_to_pfn()
2731 r = hva_to_pfn_remapped(vma, addr, write_fault, writable, &pfn); in hva_to_pfn()
2737 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
2748 bool write_fault, bool *writable, hva_t *hva) in __gfn_to_pfn_memslot() argument
2750 unsigned long addr = __gfn_to_hva_many(slot, gfn, NULL, write_fault); in __gfn_to_pfn_memslot()
2773 return hva_to_pfn(addr, atomic, interruptible, async, write_fault, in __gfn_to_pfn_memslot()
2778 kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, in gfn_to_pfn_prot() argument
2782 NULL, write_fault, writable, NULL); in gfn_to_pfn_prot()