Home
last modified time | relevance | path

Searched refs:KVM_PREALLOC_LEVEL (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/arch/arm64/include/asm/
Dkvm_mmu.h173 #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))
/linux-4.4.14/arch/arm/include/asm/
Dkvm_mmu.h164 #define KVM_PREALLOC_LEVEL 0 macro
/linux-4.4.14/arch/arm/kvm/
Dmmu.c690 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()