Lines Matching refs:pvt
516 struct kvmppc_uvmem_page_pvt *pvt; in __kvmppc_svm_page_out() local
552 pvt = spage->zone_device_data; in __kvmppc_svm_page_out()
562 if (!pvt->skip_page_out) in __kvmppc_svm_page_out()
609 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_drop_pages() local
635 pvt = uvmem_page->zone_device_data; in kvmppc_uvmem_drop_pages()
636 pvt->skip_page_out = skip_page_out; in kvmppc_uvmem_drop_pages()
637 pvt->remove_gfn = true; in kvmppc_uvmem_drop_pages()
640 PAGE_SHIFT, kvm, pvt->gpa, NULL)) in kvmppc_uvmem_drop_pages()
642 pvt->gpa, addr); in kvmppc_uvmem_drop_pages()
694 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_get_page() local
709 pvt = kzalloc(sizeof(*pvt), GFP_KERNEL); in kvmppc_uvmem_get_page()
710 if (!pvt) in kvmppc_uvmem_get_page()
716 pvt->gpa = gpa; in kvmppc_uvmem_get_page()
717 pvt->kvm = kvm; in kvmppc_uvmem_get_page()
720 dpage->zone_device_data = pvt; in kvmppc_uvmem_get_page()
878 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_share_page() local
888 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
889 pvt->skip_page_out = true; in kvmppc_share_page()
894 pvt->remove_gfn = false; in kvmppc_share_page()
906 pvt = uvmem_page->zone_device_data; in kvmppc_share_page()
907 pvt->skip_page_out = true; in kvmppc_share_page()
908 pvt->remove_gfn = false; /* it continues to be a valid GFN */ in kvmppc_share_page()
996 struct kvmppc_uvmem_page_pvt *pvt = vmf->page->zone_device_data; in kvmppc_uvmem_migrate_to_ram() local
1000 pvt->kvm, pvt->gpa, vmf->page)) in kvmppc_uvmem_migrate_to_ram()
1017 struct kvmppc_uvmem_page_pvt *pvt; in kvmppc_uvmem_page_free() local
1023 pvt = page->zone_device_data; in kvmppc_uvmem_page_free()
1025 if (pvt->remove_gfn) in kvmppc_uvmem_page_free()
1026 kvmppc_gfn_remove(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1028 kvmppc_gfn_secure_mem_pfn(pvt->gpa >> PAGE_SHIFT, pvt->kvm); in kvmppc_uvmem_page_free()
1029 kfree(pvt); in kvmppc_uvmem_page_free()