• Home
  • Raw
  • Download

Lines Matching refs:write_fault

1547 static bool hva_to_pfn_fast(unsigned long addr, bool write_fault,  in hva_to_pfn_fast()  argument
1558 if (!(write_fault || writable)) in hva_to_pfn_fast()
1577 static int hva_to_pfn_slow(unsigned long addr, bool *async, bool write_fault, in hva_to_pfn_slow() argument
1587 *writable = write_fault; in hva_to_pfn_slow()
1589 if (write_fault) in hva_to_pfn_slow()
1599 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
1612 static bool vma_is_valid(struct vm_area_struct *vma, bool write_fault) in vma_is_valid() argument
1617 if (write_fault && (unlikely(!(vma->vm_flags & VM_WRITE)))) in vma_is_valid()
1632 bool write_fault, bool *writable, in hva_to_pfn_remapped() argument
1648 (write_fault ? FAULT_FLAG_WRITE : 0), in hva_to_pfn_remapped()
1660 if (write_fault && !pte_write(*ptep)) { in hva_to_pfn_remapped()
1711 bool write_fault, bool *writable) in hva_to_pfn() argument
1720 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
1726 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1743 r = hva_to_pfn_remapped(vma, addr, async, write_fault, writable, &pfn); in hva_to_pfn()
1749 if (async && vma_is_valid(vma, write_fault)) in hva_to_pfn()
1759 bool atomic, bool *async, bool write_fault, in __gfn_to_pfn_memslot() argument
1762 unsigned long addr = __gfn_to_hva_many(slot, gfn, NULL, write_fault); in __gfn_to_pfn_memslot()
1782 return hva_to_pfn(addr, atomic, async, write_fault, in __gfn_to_pfn_memslot()
1787 kvm_pfn_t gfn_to_pfn_prot(struct kvm *kvm, gfn_t gfn, bool write_fault, in gfn_to_pfn_prot() argument
1791 write_fault, writable); in gfn_to_pfn_prot()