Lines Matching refs:ht_pfn
360 ASSERT(ht->ht_pfn == PFN_INVALID); in htable_put_reserve()
381 ASSERT(ht->ht_pfn == PFN_INVALID); in htable_get_reserve()
404 ht->ht_pfn = PFN_INVALID; in htable_initial_reserve()
426 ASSERT(ht->ht_pfn == PFN_INVALID); in htable_adjust_reserve()
790 ASSERT(ht->ht_pfn != PFN_INVALID); in htable_alloc()
809 ht->ht_pfn = PFN_INVALID; in htable_alloc()
822 ht->ht_pfn = ptable_alloc((uintptr_t)ht); in htable_alloc()
823 if (ht->ht_pfn == PFN_INVALID) { in htable_alloc()
851 ptable_free(ht->ht_pfn); in htable_alloc()
852 ht->ht_pfn = PFN_INVALID; in htable_alloc()
857 } else if (kpm_vbase && xen_kpm_page(ht->ht_pfn, in htable_alloc()
860 ht->ht_pfn); in htable_alloc()
906 ht->ht_pfn = shared->ht_pfn; in htable_alloc()
922 ASSERT(ht->ht_pfn == PFN_INVALID); in htable_alloc()
945 (void) xen_kpm_page(ht->ht_pfn, PT_VALID); in htable_alloc()
973 ASSERT(ht->ht_pfn != PFN_INVALID); in htable_free()
986 ASSERT(ht->ht_pfn != PFN_INVALID); in htable_free()
988 ptable_free(ht->ht_pfn); in htable_free()
996 ht->ht_pfn = PFN_INVALID; in htable_free()
1078 x86pte_t expect = MAKEPTP(old->ht_pfn, old->ht_level); in unlink_ptp()
1122 x86pte_t newptp = MAKEPTP(new->ht_pfn, new->ht_level); in link_ptp()
1494 ht->ht_pfn = pfn; in htable_attach()
1935 return (x86pte_mapin(ht->ht_pfn, index, ht)); in x86pte_access_pagetable()
2178 ma = pa_to_ma(PT_INDEX_PHYSADDR(pfn_to_pa(ht->ht_pfn), entry)); in x86pte_cas()
2251 ma = pa_to_ma(PT_INDEX_PHYSADDR(pfn_to_pa(ht->ht_pfn), entry)); in x86pte_inval()
2357 PT_INDEX_PTR(hat_kpm_pfn2va(src->ht_pfn), entry); in x86pte_copy()
2365 pte = MAKEPTE(src->ht_pfn, 0) | mmu.pt_global | mmu.pt_nx; in x86pte_copy()
2403 set_pteval(pfn_to_pa(dest->ht_pfn), entry, in x86pte_copy()
2450 newpte = MAKEPTE(dest->ht_pfn, 0) | PT_WRITABLE; in x86pte_zero()
2493 dump_page(ht->ht_pfn); in hat_dump()