Home
last modified time | relevance | path

Searched refs:write_fault (Results 1 – 2 of 2) sorted by relevance

/virt/kvm/
Dkvm_main.c1547 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()
[all …]
/virt/kvm/arm/
Dmmu.c1680 bool write_fault, writable, force_pte = false; in user_mem_abort() local
1692 write_fault = kvm_is_write_fault(vcpu); in user_mem_abort()
1694 VM_BUG_ON(write_fault && exec_fault); in user_mem_abort()
1696 if (fault_status == FSC_PERM && !write_fault && !exec_fault) { in user_mem_abort()
1748 pfn = gfn_to_pfn_prot(kvm, gfn, write_fault, &writable); in user_mem_abort()
1772 if (!write_fault) in user_mem_abort()
1927 bool is_iabt, write_fault, writable; in kvm_handle_guest_abort() local
1969 write_fault = kvm_is_write_fault(vcpu); in kvm_handle_guest_abort()
1970 if (kvm_is_error_hva(hva) || (write_fault && !writable)) { in kvm_handle_guest_abort()