Lines Matching refs:writable

2478 				      gfn_t gfn, bool *writable)  in gfn_to_hva_memslot_prot()  argument
2482 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
2483 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
2488 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
2492 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
2495 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
2499 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
2516 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
2525 if (!(write_fault || writable)) in hva_to_pfn_fast()
2531 if (writable) in hva_to_pfn_fast()
2532 *writable = true; in hva_to_pfn_fast()
2544 bool interruptible, bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() argument
2563 if (writable) in hva_to_pfn_slow()
2564 *writable = write_fault; in hva_to_pfn_slow()
2578 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
2582 *writable = true; in hva_to_pfn_slow()
2614 bool *writable, kvm_pfn_t *p_pfn) in hva_to_pfn_remapped() argument
2649 if (writable) in hva_to_pfn_remapped()
2650 *writable = pte_write(pte); in hva_to_pfn_remapped()
2696 bool *async, bool write_fault, bool *writable) in hva_to_pfn() argument
2705 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2712 writable, &pfn); in hva_to_pfn()
2731 r = hva_to_pfn_remapped(vma, addr, write_fault, writable, &pfn); in hva_to_pfn()
2748 bool write_fault, bool *writable, hva_t *hva) in __gfn_to_pfn_memslot() argument
2756 if (writable) in __gfn_to_pfn_memslot()
2757 *writable = false; in __gfn_to_pfn_memslot()
2762 if (writable) in __gfn_to_pfn_memslot()
2763 *writable = false; in __gfn_to_pfn_memslot()
2768 if (writable && memslot_is_readonly(slot)) { in __gfn_to_pfn_memslot()
2769 *writable = false; in __gfn_to_pfn_memslot()
2770 writable = NULL; in __gfn_to_pfn_memslot()
2774 writable); in __gfn_to_pfn_memslot()
2779 bool *writable) in gfn_to_pfn_prot() argument
2782 NULL, write_fault, writable, NULL); in gfn_to_pfn_prot()