Lines Matching refs:hci
783 struct hat_cpu_info *hci = cpu->cpu_hat_info; in hat_vlp_setup() local
790 ASSERT(hci != NULL); in hat_vlp_setup()
791 hci->hci_vlp_l2ptes = kmem_zalloc(MMU_PAGESIZE, KM_SLEEP); in hat_vlp_setup()
797 hci->hci_vlp_l3ptes = kmem_zalloc(MMU_PAGESIZE, KM_SLEEP); in hat_vlp_setup()
798 hci->hci_vlp_pfn = in hat_vlp_setup()
799 hat_getpfnum(kas.a_hat, (caddr_t)hci->hci_vlp_l3ptes); in hat_vlp_setup()
800 ASSERT(hci->hci_vlp_pfn != PFN_INVALID); in hat_vlp_setup()
801 bcopy(vlp_page, hci->hci_vlp_l3ptes, MMU_PAGESIZE); in hat_vlp_setup()
803 pfn = hat_getpfnum(kas.a_hat, (caddr_t)hci->hci_vlp_l2ptes); in hat_vlp_setup()
805 hci->hci_vlp_l3ptes[0] = MAKEPTP(pfn, 2); in hat_vlp_setup()
814 struct hat_cpu_info *hci; in hat_vlp_teardown() local
816 if ((hci = cpu->cpu_hat_info) == NULL) in hat_vlp_teardown()
818 if (hci->hci_vlp_l2ptes) in hat_vlp_teardown()
819 kmem_free(hci->hci_vlp_l2ptes, MMU_PAGESIZE); in hat_vlp_teardown()
820 if (hci->hci_vlp_l3ptes) in hat_vlp_teardown()
821 kmem_free(hci->hci_vlp_l3ptes, MMU_PAGESIZE); in hat_vlp_teardown()