Lines Matching refs:writable
2449 gfn_t gfn, bool *writable) in gfn_to_hva_memslot_prot() argument
2453 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
2454 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
2459 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
2463 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
2466 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
2470 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
2487 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
2496 if (!(write_fault || writable)) in hva_to_pfn_fast()
2502 if (writable) in hva_to_pfn_fast()
2503 *writable = true; in hva_to_pfn_fast()
2515 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() argument
2523 if (writable) in hva_to_pfn_slow()
2524 *writable = write_fault; in hva_to_pfn_slow()
2536 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
2540 *writable = true; in hva_to_pfn_slow()
2572 bool *writable, kvm_pfn_t *p_pfn) in hva_to_pfn_remapped() argument
2604 if (writable) in hva_to_pfn_remapped()
2605 *writable = pte_write(*ptep); in hva_to_pfn_remapped()
2650 bool write_fault, bool *writable) in hva_to_pfn() argument
2659 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2665 npages = hva_to_pfn_slow(addr, async, write_fault, writable, &pfn); in hva_to_pfn()
2682 r = hva_to_pfn_remapped(vma, addr, write_fault, writable, &pfn); in hva_to_pfn()
2699 bool *writable, hva_t *hva) in __gfn_to_pfn_memslot() argument
2707 if (writable) in __gfn_to_pfn_memslot()
2708 *writable = false; in __gfn_to_pfn_memslot()
2713 if (writable) in __gfn_to_pfn_memslot()
2714 *writable = false; in __gfn_to_pfn_memslot()
2719 if (writable && memslot_is_readonly(slot)) { in __gfn_to_pfn_memslot()
2720 *writable = false; in __gfn_to_pfn_memslot()
2721 writable = NULL; in __gfn_to_pfn_memslot()
2725 writable); in __gfn_to_pfn_memslot()
2730 bool *writable) in gfn_to_pfn_prot() argument
2733 write_fault, writable, NULL); in gfn_to_pfn_prot()