Searched refs:vcolor_pa (Results 1 – 1 of 1) sorted by relevance
225 int vcolor, vcolor_pa; in hat_kpm_page2va() local231 vcolor_pa = addr_to_vcolor(paddr); in hat_kpm_page2va()234 vcolor = (PP_ISNC(pp)) ? vcolor_pa : PP_GET_VCOLOR(pp); in hat_kpm_page2va()240 if (vcolor_pa != vcolor) { in hat_kpm_page2va()241 vaddr += ((uintptr_t)(vcolor - vcolor_pa) << MMU_PAGESHIFT); in hat_kpm_page2va()242 vaddr += (vcolor_pa > vcolor) ? in hat_kpm_page2va()243 ((uintptr_t)vcolor_pa << kpm_size_shift) : in hat_kpm_page2va()244 ((uintptr_t)(vcolor - vcolor_pa) << kpm_size_shift); in hat_kpm_page2va()1112 int vcolor, vcolor_pa; in sfmmu_kpm_getvaddr() local1120 vcolor_pa = addr_to_vcolor(paddr); in sfmmu_kpm_getvaddr()[all …]