Lines Matching refs:gfn
59 static void update_gfn_track(struct kvm_memory_slot *slot, gfn_t gfn,
64 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K);
82 * @slot: the @gfn belongs to.
83 * @gfn: the guest page.
87 struct kvm_memory_slot *slot, gfn_t gfn,
94 update_gfn_track(slot, gfn, mode, 1);
100 kvm_mmu_gfn_disallow_lpage(slot, gfn);
103 if (kvm_mmu_slot_gfn_write_protect(kvm, slot, gfn))
117 * @slot: the @gfn belongs to.
118 * @gfn: the guest page.
122 struct kvm_memory_slot *slot, gfn_t gfn,
128 update_gfn_track(slot, gfn, mode, -1);
134 kvm_mmu_gfn_allow_lpage(slot, gfn);
141 bool kvm_page_track_is_active(struct kvm_vcpu *vcpu, gfn_t gfn,
150 slot = kvm_vcpu_gfn_to_memslot(vcpu, gfn);
154 index = gfn_to_index(gfn, slot->base_gfn, PG_LEVEL_4K);