Lines Matching refs:writable
1814 gfn_t gfn, bool *writable) in gfn_to_hva_memslot_prot() argument
1818 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
1819 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
1824 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
1828 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
1831 unsigned long kvm_vcpu_gfn_to_hva_prot(struct kvm_vcpu *vcpu, gfn_t gfn, bool *writable) in kvm_vcpu_gfn_to_hva_prot() argument
1835 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
1852 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
1861 if (!(write_fault || writable)) in hva_to_pfn_fast()
1867 if (writable) in hva_to_pfn_fast()
1868 *writable = true; in hva_to_pfn_fast()
1880 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() argument
1888 if (writable) in hva_to_pfn_slow()
1889 *writable = write_fault; in hva_to_pfn_slow()
1901 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
1905 *writable = true; in hva_to_pfn_slow()
1934 bool write_fault, bool *writable, in hva_to_pfn_remapped() argument
1967 if (writable) in hva_to_pfn_remapped()
1968 *writable = pte_write(*ptep); in hva_to_pfn_remapped()
2013 bool write_fault, bool *writable) in hva_to_pfn() argument
2022 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2028 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
2045 r = hva_to_pfn_remapped(vma, addr, async, write_fault, writable, &pfn); in hva_to_pfn()
2062 bool *writable) in __gfn_to_pfn_memslot() argument
2067 if (writable) in __gfn_to_pfn_memslot()
2068 *writable = false; in __gfn_to_pfn_memslot()
2073 if (writable) in __gfn_to_pfn_memslot()
2074 *writable = false; in __gfn_to_pfn_memslot()
2079 if (writable && memslot_is_readonly(slot)) { in __gfn_to_pfn_memslot()
2080 *writable = false; in __gfn_to_pfn_memslot()
2081 writable = NULL; in __gfn_to_pfn_memslot()
2085 writable); in __gfn_to_pfn_memslot()
2090 bool *writable) in gfn_to_pfn_prot() argument
2093 write_fault, writable); in gfn_to_pfn_prot()