Home
last modified time | relevance | path

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

/arch/x86/kvm/
Dmmu.c1205 struct kvm_lpage_info *linfo; in update_gfn_disallow_lpage_count() local
1209 linfo = lpage_info_slot(gfn, slot, i); in update_gfn_disallow_lpage_count()
1210 linfo->disallow_lpage += count; in update_gfn_disallow_lpage_count()
1211 WARN_ON(linfo->disallow_lpage < 0); in update_gfn_disallow_lpage_count()
1282 struct kvm_lpage_info *linfo; in __mmu_gfn_lpage_is_disallowed() local
1285 linfo = lpage_info_slot(gfn, slot, level); in __mmu_gfn_lpage_is_disallowed()
1286 return !!linfo->disallow_lpage; in __mmu_gfn_lpage_is_disallowed()
Dx86.c9835 struct kvm_lpage_info *linfo; in kvm_arch_create_memslot() local
9851 linfo = kvcalloc(lpages, sizeof(*linfo), GFP_KERNEL_ACCOUNT); in kvm_arch_create_memslot()
9852 if (!linfo) in kvm_arch_create_memslot()
9855 slot->arch.lpage_info[i - 1] = linfo; in kvm_arch_create_memslot()
9858 linfo[0].disallow_lpage = 1; in kvm_arch_create_memslot()
9860 linfo[lpages - 1].disallow_lpage = 1; in kvm_arch_create_memslot()
9872 linfo[j].disallow_lpage = 1; in kvm_arch_create_memslot()