Searched refs:gfn_to_index (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | page_track.c | 64 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in update_gfn_track() 154 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in kvm_page_track_is_active()
|
D | mmu.c | 729 idx = gfn_to_index(gfn, slot->base_gfn, level); in lpage_info_slot() 942 idx = gfn_to_index(gfn, slot->base_gfn, level); in __gfn_to_rmap()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
D | kvm_host.h | 123 static inline gfn_t gfn_to_index(gfn_t gfn, gfn_t base_gfn, int level) in gfn_to_index() function
|
/kernel/linux/linux-5.10/arch/x86/kvm/ |
D | x86.c | 10771 lpages = gfn_to_index(slot->base_gfn + npages - 1, in kvm_alloc_memslot_metadata()
|