Searched refs:kfp (Results 1 – 2 of 2) sorted by relevance
| /linux/virt/kvm/ |
| H A D | kvm_main.c | 2834 static kvm_pfn_t kvm_resolve_pfn(struct kvm_follow_pfn *kfp, struct page *page, in kvm_resolve_pfn() argument 2841 if (kfp->map_writable) in kvm_resolve_pfn() 2842 *kfp->map_writable = writable; in kvm_resolve_pfn() 2849 *kfp->refcounted_page = page; in kvm_resolve_pfn() 2858 static bool hva_to_pfn_fast(struct kvm_follow_pfn *kfp, kvm_pfn_t *pfn) in hva_to_pfn_fast() argument 2870 if (!((kfp->flags & FOLL_WRITE) || kfp->map_writable)) in hva_to_pfn_fast() 2873 if (kfp->pin) in hva_to_pfn_fast() 2874 r = pin_user_pages_fast(kfp->hva, 1, FOLL_WRITE, &page) == 1; in hva_to_pfn_fast() 2876 r = get_user_page_fast_only(kfp->hva, FOLL_WRITE, &page); in hva_to_pfn_fast() 2879 *pfn = kvm_resolve_pfn(kfp, page, NULL, true); in hva_to_pfn_fast() [all …]
|
| H A D | kvm_mm.h | 56 kvm_pfn_t hva_to_pfn(struct kvm_follow_pfn *kfp);
|