Lines Matching refs:writable

2725 				      gfn_t gfn, bool *writable)  in gfn_to_hva_memslot_prot()  argument
2729 if (!kvm_is_error_hva(hva) && writable) in gfn_to_hva_memslot_prot()
2730 *writable = !memslot_is_readonly(slot); in gfn_to_hva_memslot_prot()
2735 unsigned long gfn_to_hva_prot(struct kvm *kvm, gfn_t gfn, bool *writable) in gfn_to_hva_prot() argument
2739 return gfn_to_hva_memslot_prot(slot, gfn, writable); in gfn_to_hva_prot()
2742 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
2746 return gfn_to_hva_memslot_prot(slot, gfn, writable); in kvm_vcpu_gfn_to_hva_prot()
2763 bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument
2772 if (!(write_fault || writable)) in hva_to_pfn_fast()
2778 if (writable) in hva_to_pfn_fast()
2779 *writable = true; in hva_to_pfn_fast()
2791 bool interruptible, bool *writable, kvm_pfn_t *pfn) in hva_to_pfn_slow() argument
2810 if (writable) in hva_to_pfn_slow()
2811 *writable = write_fault; in hva_to_pfn_slow()
2825 if (unlikely(!write_fault) && writable) { in hva_to_pfn_slow()
2829 *writable = true; in hva_to_pfn_slow()
2861 bool *writable, kvm_pfn_t *p_pfn) in hva_to_pfn_remapped() argument
2887 if (write_fault && !args.writable) { in hva_to_pfn_remapped()
2892 if (writable) in hva_to_pfn_remapped()
2893 *writable = args.writable; in hva_to_pfn_remapped()
2938 bool *async, bool write_fault, bool *writable) in hva_to_pfn() argument
2947 if (hva_to_pfn_fast(addr, write_fault, writable, &pfn)) in hva_to_pfn()
2954 writable, &pfn); in hva_to_pfn()
2973 r = hva_to_pfn_remapped(vma, addr, write_fault, writable, &pfn); in hva_to_pfn()
2990 bool write_fault, bool *writable, hva_t *hva) in __gfn_to_pfn_memslot() argument
2998 if (writable) in __gfn_to_pfn_memslot()
2999 *writable = false; in __gfn_to_pfn_memslot()
3006 if (writable && memslot_is_readonly(slot)) { in __gfn_to_pfn_memslot()
3007 *writable = false; in __gfn_to_pfn_memslot()
3008 writable = NULL; in __gfn_to_pfn_memslot()
3012 writable); in __gfn_to_pfn_memslot()
3017 bool *writable) in gfn_to_pfn_prot() argument
3020 NULL, write_fault, writable, NULL); in gfn_to_pfn_prot()