Home
last modified time | relevance | path

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

/linux-2.6.39/virt/kvm/
Dkvm_main.c1387 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc, in kvm_gfn_to_hva_cache_init() argument
1394 ghc->gpa = gpa; in kvm_gfn_to_hva_cache_init()
1395 ghc->generation = slots->generation; in kvm_gfn_to_hva_cache_init()
1396 ghc->memslot = __gfn_to_memslot(slots, gfn); in kvm_gfn_to_hva_cache_init()
1397 ghc->hva = gfn_to_hva_many(ghc->memslot, gfn, NULL); in kvm_gfn_to_hva_cache_init()
1398 if (!kvm_is_error_hva(ghc->hva)) in kvm_gfn_to_hva_cache_init()
1399 ghc->hva += offset; in kvm_gfn_to_hva_cache_init()
1407 int kvm_write_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc, in kvm_write_guest_cached() argument
1413 if (slots->generation != ghc->generation) in kvm_write_guest_cached()
1414 kvm_gfn_to_hva_cache_init(kvm, ghc, ghc->gpa); in kvm_write_guest_cached()
[all …]
/linux-2.6.39/include/linux/
Dkvm_host.h384 int kvm_write_guest_cached(struct kvm *kvm, struct gfn_to_hva_cache *ghc,
386 int kvm_gfn_to_hva_cache_init(struct kvm *kvm, struct gfn_to_hva_cache *ghc,