Searched refs:KVM_PREALLOC_LEVEL (Results 1 – 3 of 3) sorted by relevance
173 #define KVM_PREALLOC_LEVEL (4 - CONFIG_PGTABLE_LEVELS + 1)175 #define KVM_PREALLOC_LEVEL (0)183 if (KVM_PREALLOC_LEVEL == 0)187 if (KVM_PREALLOC_LEVEL == 1)190 BUG_ON(KVM_PREALLOC_LEVEL != 2);196 if (KVM_PREALLOC_LEVEL > 0)213 (kvm_page_empty(pmdp) && (!(kvm) || KVM_PREALLOC_LEVEL < 2))220 (kvm_page_empty(pudp) && (!(kvm) || KVM_PREALLOC_LEVEL < 1))
164 #define KVM_PREALLOC_LEVEL 0 macro
690 if (KVM_PREALLOC_LEVEL > 0) { in kvm_alloc_stage2_pgd()708 if (KVM_PREALLOC_LEVEL == 1) in kvm_alloc_stage2_pgd()711 else if (KVM_PREALLOC_LEVEL == 2) in kvm_alloc_stage2_pgd()827 if (KVM_PREALLOC_LEVEL > 0) in kvm_free_stage2_pgd()