Lines Matching full:pvt
512 struct kvmppc_uvmem_page_pvt *pvt; in __kvmppc_svm_page_out() local
547 pvt = spage->zone_device_data; in __kvmppc_svm_page_out()
557 if (!pvt->skip_page_out) in __kvmppc_svm_page_out()
602 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_drop_pages() local
628 pvt = uvmem_page->zone_device_data; in kvmppc_uvmem_drop_pages()
629 pvt->skip_page_out = skip_page_out; in kvmppc_uvmem_drop_pages()
630 pvt->remove_gfn = true; in kvmppc_uvmem_drop_pages()
633 PAGE_SHIFT, kvm, pvt->gpa)) in kvmppc_uvmem_drop_pages()
635 pvt->gpa, addr); in kvmppc_uvmem_drop_pages()
687 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_get_page() local
702 pvt = kzalloc(sizeof(*pvt), GFP_KERNEL); in kvmppc_uvmem_get_page()
703 if (!pvt) in kvmppc_uvmem_get_page()
709 pvt->gpa = gpa; in kvmppc_uvmem_get_page()
710 pvt->kvm = kvm; in kvmppc_uvmem_get_page()
713 dpage->zone_device_data = pvt; in kvmppc_uvmem_get_page()
872 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_share_page() local
882 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
883 pvt->skip_page_out = true; in kvmppc_share_page()
888 pvt->remove_gfn = false; in kvmppc_share_page()
900 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
901 pvt->skip_page_out = true; in kvmppc_share_page()
902 pvt->remove_gfn = false; /* it continues to be a valid GFN */ in kvmppc_share_page()
990 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; in kvmppc_uvmem_migrate_to_ram() local
994 pvt->kvm, pvt->gpa)) in kvmppc_uvmem_migrate_to_ram()
1011 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_page_free() local
1017 pvt = page->zone_device_data; in kvmppc_uvmem_page_free()
1019 if (pvt->remove_gfn) in kvmppc_uvmem_page_free()
1020 kvmppc_gfn_remove(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1022 kvmppc_gfn_secure_mem_pfn(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1023 kfree(pvt); in kvmppc_uvmem_page_free()