Home
last modified time | relevance | path

Searched refs:old_pfn (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/virt/kvm/
Dpfncache.c248 kvm_pfn_t old_pfn; in kvm_gfn_to_pfn_cache_refresh() local
273 old_pfn = gpc->pfn; in kvm_gfn_to_pfn_cache_refresh()
306 old_pfn = KVM_PFN_ERR_FAULT; in kvm_gfn_to_pfn_cache_refresh()
324 unmap_old = (old_pfn != gpc->pfn); in kvm_gfn_to_pfn_cache_refresh()
332 gpc_unmap_khva(kvm, old_pfn, old_khva); in kvm_gfn_to_pfn_cache_refresh()
341 kvm_pfn_t old_pfn; in kvm_gfn_to_pfn_cache_unmap() local
349 old_pfn = gpc->pfn; in kvm_gfn_to_pfn_cache_unmap()
361 gpc_unmap_khva(kvm, old_pfn, old_khva); in kvm_gfn_to_pfn_cache_unmap()
/linux-6.1.9/arch/x86/mm/pat/
Dset_memory.c812 unsigned long numpages, pmask, psize, lpaddr, pfn, old_pfn; in __should_split_large_page() local
828 old_pfn = pmd_pfn(*(pmd_t *)kpte); in __should_split_large_page()
833 old_pfn = pud_pfn(*(pud_t *)kpte); in __should_split_large_page()
878 pfn = old_pfn + ((address & (psize - 1)) >> PAGE_SHIFT); in __should_split_large_page()
893 chk_prot = static_protections(old_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
929 new_prot = static_protections(req_prot, lpaddr, old_pfn, numpages, in __should_split_large_page()
932 new_prot = verify_rwx(old_prot, new_prot, lpaddr, old_pfn, numpages); in __should_split_large_page()
947 new_pte = pfn_pte(old_pfn, new_prot); in __should_split_large_page()