Searched refs:kvm_arch_has_private_mem (Results 1 – 4 of 4) sorted by relevance
2257 #define kvm_arch_has_private_mem(kvm) ((kvm)->arch.has_private_mem) macro2259 #define kvm_arch_has_private_mem(kvm) false macro2313 # define kvm_arch_nr_memslot_as_ids(kvm) (kvm_arch_has_private_mem(kvm) ? 1 : 2)
725 #if !defined(kvm_arch_has_private_mem) && !IS_ENABLED(CONFIG_KVM_PRIVATE_MEM)726 static inline bool kvm_arch_has_private_mem(struct kvm *kvm) in kvm_arch_has_private_mem() function
4920 if (kvm_arch_has_private_mem(vcpu->kvm) && in kvm_arch_vcpu_pre_fault_memory()7708 if (WARN_ON_ONCE(!kvm_arch_has_private_mem(kvm))) in kvm_arch_pre_set_memory_attributes()7787 if (WARN_ON_ONCE(!kvm_arch_has_private_mem(kvm))) in kvm_arch_post_set_memory_attributes()7843 if (!kvm_arch_has_private_mem(kvm)) in kvm_mmu_init_memslot_memory_attributes()
1534 if (kvm_arch_has_private_mem(kvm)) in check_memory_region_flags()2365 if (!kvm || kvm_arch_has_private_mem(kvm)) in kvm_supported_mem_attributes()4847 return !kvm || kvm_arch_has_private_mem(kvm); in kvm_vm_ioctl_check_extension_generic()