Home
last modified time | relevance | path

Searched refs:gfn_end (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/powerpc/kvm/
H A De500_mmu_host.c406 unsigned long gfn_start, gfn_end; in kvmppc_e500_shadow_map() local
410 gfn_end = gfn_start + tsize_pages; in kvmppc_e500_shadow_map()
414 if (gfn_end + pfn - gfn > end) in kvmppc_e500_shadow_map()
/openbmc/linux/arch/x86/kvm/
H A Dmmu.h240 void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end);
/openbmc/linux/arch/x86/kvm/mmu/
H A Dmmu.c6210 static bool kvm_rmap_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end) in kvm_rmap_zap_gfn_range() argument
6225 kvm_for_each_memslot_in_gfn_range(&iter, slots, gfn_start, gfn_end) { in kvm_rmap_zap_gfn_range()
6228 end = min(gfn_end, memslot->base_gfn + memslot->npages); in kvm_rmap_zap_gfn_range()
6245 void kvm_zap_gfn_range(struct kvm *kvm, gfn_t gfn_start, gfn_t gfn_end) in kvm_zap_gfn_range() argument
6249 if (WARN_ON_ONCE(gfn_end <= gfn_start)) in kvm_zap_gfn_range()
6256 flush = kvm_rmap_zap_gfn_range(kvm, gfn_start, gfn_end); in kvm_zap_gfn_range()
6259 flush = kvm_tdp_mmu_zap_leafs(kvm, gfn_start, gfn_end, flush); in kvm_zap_gfn_range()
6262 kvm_flush_remote_tlbs_range(kvm, gfn_start, gfn_end - gfn_start); in kvm_zap_gfn_range()