Home
last modified time | relevance | path

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

/linux-4.1.27/virt/kvm/
Dkvm_main.c1628 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc, in kvm_gfn_to_hva_cache_init() argument
1638 ghc->gpa = gpa; in kvm_gfn_to_hva_cache_init()
1639 ghc->generation = slots->generation; in kvm_gfn_to_hva_cache_init()
1640 ghc->len = len; in kvm_gfn_to_hva_cache_init()
1641 ghc->memslot = gfn_to_memslot(kvm, start_gfn); in kvm_gfn_to_hva_cache_init()
1642 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, NULL); in kvm_gfn_to_hva_cache_init()
1643 if (!kvm_is_error_hva(ghc->hva) && nr_pages_needed <= 1) { in kvm_gfn_to_hva_cache_init()
1644 ghc->hva += offset; in kvm_gfn_to_hva_cache_init()
1651 ghc->memslot = gfn_to_memslot(kvm, start_gfn); in kvm_gfn_to_hva_cache_init()
1652 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, in kvm_gfn_to_hva_cache_init()
[all …]
/linux-4.1.27/include/linux/
Dkvm_host.h570 int kvm_read_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
576 int kvm_write_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
578 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc,