Home
last modified time | relevance | path

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

/linux-4.4.14/virt/kvm/
Dkvm_main.c1811 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc, in kvm_gfn_to_hva_cache_init() argument
1821 ghc->gpa = gpa; in kvm_gfn_to_hva_cache_init()
1822 ghc->generation = slots->generation; in kvm_gfn_to_hva_cache_init()
1823 ghc->len = len; in kvm_gfn_to_hva_cache_init()
1824 ghc->memslot = gfn_to_memslot(kvm, start_gfn); in kvm_gfn_to_hva_cache_init()
1825 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, NULL); in kvm_gfn_to_hva_cache_init()
1826 if (!kvm_is_error_hva(ghc->hva) && nr_pages_needed <= 1) { in kvm_gfn_to_hva_cache_init()
1827 ghc->hva += offset; in kvm_gfn_to_hva_cache_init()
1834 ghc->memslot = gfn_to_memslot(kvm, start_gfn); in kvm_gfn_to_hva_cache_init()
1835 ghc->hva = gfn_to_hva_many(ghc->memslot, start_gfn, in kvm_gfn_to_hva_cache_init()
[all …]
/linux-4.4.14/include/linux/
Dkvm_host.h624 int kvm_read_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
630 int kvm_write_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
632 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc,