Lines Matching refs:pvt
521 struct kvmppc_uvmem_page_pvt *pvt; in __kvmppc_svm_page_out() local
557 pvt = spage->zone_device_data; in __kvmppc_svm_page_out()
567 if (!pvt->skip_page_out) in __kvmppc_svm_page_out()
614 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_drop_pages() local
640 pvt = uvmem_page->zone_device_data; in kvmppc_uvmem_drop_pages()
641 pvt->skip_page_out = skip_page_out; in kvmppc_uvmem_drop_pages()
642 pvt->remove_gfn = true; in kvmppc_uvmem_drop_pages()
645 PAGE_SHIFT, kvm, pvt->gpa, NULL)) in kvmppc_uvmem_drop_pages()
647 pvt->gpa, addr); in kvmppc_uvmem_drop_pages()
699 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_get_page() local
714 pvt = kzalloc(sizeof(*pvt), GFP_KERNEL); in kvmppc_uvmem_get_page()
715 if (!pvt) in kvmppc_uvmem_get_page()
721 pvt->gpa = gpa; in kvmppc_uvmem_get_page()
722 pvt->kvm = kvm; in kvmppc_uvmem_get_page()
725 dpage->zone_device_data = pvt; in kvmppc_uvmem_get_page()
883 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_share_page() local
893 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
894 pvt->skip_page_out = true; in kvmppc_share_page()
899 pvt->remove_gfn = false; in kvmppc_share_page()
911 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
912 pvt->skip_page_out = true; in kvmppc_share_page()
913 pvt->remove_gfn = false; /* it continues to be a valid GFN */ in kvmppc_share_page()
1001 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; in kvmppc_uvmem_migrate_to_ram() local
1005 pvt->kvm, pvt->gpa, vmf->page)) in kvmppc_uvmem_migrate_to_ram()
1022 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_page_free() local
1028 pvt = page->zone_device_data; in kvmppc_uvmem_page_free()
1030 if (pvt->remove_gfn) in kvmppc_uvmem_page_free()
1031 kvmppc_gfn_remove(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1033 kvmppc_gfn_secure_mem_pfn(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1034 kfree(pvt); in kvmppc_uvmem_page_free()