Lines Matching refs:gfn
88 static void update_gfn_track(struct kvm_memory_slot *slot, gfn_t gfn, in update_gfn_track() argument
93 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in update_gfn_track()
116 struct kvm_memory_slot *slot, gfn_t gfn, in kvm_slot_page_track_add_page() argument
127 update_gfn_track(slot, gfn, mode, 1); in kvm_slot_page_track_add_page()
133 kvm_mmu_gfn_disallow_lpage(slot, gfn); in kvm_slot_page_track_add_page()
136 if (kvm_mmu_slot_gfn_write_protect(kvm, slot, gfn, PG_LEVEL_4K)) in kvm_slot_page_track_add_page()
155 struct kvm_memory_slot *slot, gfn_t gfn, in kvm_slot_page_track_remove_page() argument
165 update_gfn_track(slot, gfn, mode, -1); in kvm_slot_page_track_remove_page()
171 kvm_mmu_gfn_allow_lpage(slot, gfn); in kvm_slot_page_track_remove_page()
180 gfn_t gfn, enum kvm_page_track_mode mode) in kvm_slot_page_track_is_active() argument
194 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K); in kvm_slot_page_track_is_active()