Searched refs:nr_mmu_pages (Results 1 – 2 of 2) sorted by relevance
4532 unsigned int nr_mmu_pages; in kvm_mmu_calculate_mmu_pages() local4542 nr_mmu_pages = nr_pages * KVM_PERMILLE_MMU_PAGES / 1000; in kvm_mmu_calculate_mmu_pages()4543 nr_mmu_pages = max(nr_mmu_pages, in kvm_mmu_calculate_mmu_pages()4546 return nr_mmu_pages; in kvm_mmu_calculate_mmu_pages()
7570 int nr_mmu_pages = 0; in kvm_arch_commit_memory_region() local7584 nr_mmu_pages = kvm_mmu_calculate_mmu_pages(kvm); in kvm_arch_commit_memory_region()7586 if (nr_mmu_pages) in kvm_arch_commit_memory_region()7587 kvm_mmu_change_mmu_pages(kvm, nr_mmu_pages); in kvm_arch_commit_memory_region()