Lines Matching refs:writable

2211 				      gfn_t gfn, bool *writable)  in gfn_to_hva_memslot_prot()  argument
2215 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
2216 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
2221 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
2225 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
2228 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
2232 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
2249 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
2258 if (!(write_fault || writable)) in hva_to_pfn_fast()
2264 if (writable) in hva_to_pfn_fast()
2265 *writable = true; in hva_to_pfn_fast()
2277 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() argument
2285 if (writable) in hva_to_pfn_slow()
2286 *writable = write_fault; in hva_to_pfn_slow()
2298 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
2302 *writable = true; in hva_to_pfn_slow()
2331 bool write_fault, bool *writable, in hva_to_pfn_remapped() argument
2364 if (writable) in hva_to_pfn_remapped()
2365 *writable = pte_write(*ptep); in hva_to_pfn_remapped()
2410 bool write_fault, bool *writable) in hva_to_pfn() argument
2419 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2425 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
2442 r = hva_to_pfn_remapped(vma, addr, async, write_fault, writable, &pfn); in hva_to_pfn()
2459 bool *writable, hva_t *hva) in __gfn_to_pfn_memslot() argument
2467 if (writable) in __gfn_to_pfn_memslot()
2468 *writable = false; in __gfn_to_pfn_memslot()
2473 if (writable) in __gfn_to_pfn_memslot()
2474 *writable = false; in __gfn_to_pfn_memslot()
2479 if (writable && memslot_is_readonly(slot)) { in __gfn_to_pfn_memslot()
2480 *writable = false; in __gfn_to_pfn_memslot()
2481 writable = NULL; in __gfn_to_pfn_memslot()
2485 writable); in __gfn_to_pfn_memslot()
2490 bool *writable) in gfn_to_pfn_prot() argument
2493 write_fault, writable, NULL); in gfn_to_pfn_prot()