Home
last modified time | relevance | path

Searched refs:linfo (Results 1 – 2 of 2) sorted by relevance

/arch/x86/kvm/mmu/
Dmmu.c808 struct kvm_lpage_info *linfo; in update_gfn_disallow_lpage_count() local
812 linfo = lpage_info_slot(gfn, slot, i); in update_gfn_disallow_lpage_count()
813 linfo->disallow_lpage += count; in update_gfn_disallow_lpage_count()
814 WARN_ON(linfo->disallow_lpage < 0); in update_gfn_disallow_lpage_count()
2899 struct kvm_lpage_info *linfo; in kvm_mmu_max_mapping_level() local
2904 linfo = lpage_info_slot(gfn, slot, max_level); in kvm_mmu_max_mapping_level()
2905 if (!linfo->disallow_lpage) in kvm_mmu_max_mapping_level()
/arch/x86/kvm/
Dx86.c11840 struct kvm_lpage_info *linfo; in kvm_alloc_memslot_metadata() local
11847 linfo = __vcalloc(lpages, sizeof(*linfo), GFP_KERNEL_ACCOUNT); in kvm_alloc_memslot_metadata()
11848 if (!linfo) in kvm_alloc_memslot_metadata()
11851 slot->arch.lpage_info[i - 1] = linfo; in kvm_alloc_memslot_metadata()
11854 linfo[0].disallow_lpage = 1; in kvm_alloc_memslot_metadata()
11856 linfo[lpages - 1].disallow_lpage = 1; in kvm_alloc_memslot_metadata()
11866 linfo[j].disallow_lpage = 1; in kvm_alloc_memslot_metadata()