Lines Matching refs:khva
111 static void gpc_unmap(kvm_pfn_t pfn, void *khva)
114 if (is_error_noslot_pfn(pfn) || !khva)
123 memunmap(khva);
158 void *old_khva = (void *)PAGE_ALIGN_DOWN((uintptr_t)gpc->khva);
239 gpc->khva = new_khva + offset_in_page(gpc->uhva);
280 old_khva = (void *)PAGE_ALIGN_DOWN((uintptr_t)gpc->khva);
334 * But do update gpc->khva because the offset within the page
337 gpc->khva = old_khva + page_offset;
344 * Invalidate the cache and purge the pfn/khva if the refresh failed.
351 gpc->khva = NULL;
471 old_khva = gpc->khva - offset_in_page(gpc->khva);
472 gpc->khva = NULL;