Home
last modified time | relevance | path

Searched refs:vcolor (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/sun4u/os/
H A Dppage.c274 int vcolor; in pp_load_tlb() local
299 vcolor = sfmmu_get_ppvcolor(pp); in pp_load_tlb()
300 if ((vcolor == -1) && in pp_load_tlb()
305 vcolor = -1; in pp_load_tlb()
308 if (vcolor != -1) { in pp_load_tlb()
309 va += MMU_PAGESIZE * vcolor; in pp_load_tlb()
310 start = vcolor; in pp_load_tlb()
312 myslot += vcolor; in pp_load_tlb()
332 ASSERT(vcolor == -1 || addr_to_vcolor(va) == vcolor); in pp_load_tlb()
/titanic_44/usr/src/uts/sun4u/vm/
H A Dmach_kpm.c225 int vcolor, vcolor_pa; in hat_kpm_page2va() local
234 vcolor = (PP_ISNC(pp)) ? vcolor_pa : PP_GET_VCOLOR(pp); in hat_kpm_page2va()
236 vcolor = addr_to_vcolor(pp->p_offset); 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()
244 ((uintptr_t)(vcolor - vcolor_pa) << kpm_size_shift); in hat_kpm_page2va()
574 int vcolor; in hat_kpm_walk() local
582 for (vcolor = 0; vcolor < vac_colors; vcolor++) { in hat_kpm_walk()
583 base = ptob(pbase) + kpm_vbase + kpm_size * vcolor; in hat_kpm_walk()
[all …]
/titanic_44/usr/src/uts/common/vm/
H A Dseg_kpm.c242 int vcolor; in segkpm_create_va() local
248 vcolor = (nvcolors > 1) ? addr_to_vcolor(off, nvcolors) : 0; in segkpm_create_va()
249 p = &skd->skd_va_select[(CPU->cpu_id * nvcolors) + vcolor]; in segkpm_create_va()
/titanic_44/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.h764 #define CACHE_VCOLOR_MASK(vcolor) (2 << (vcolor & (CACHE_NUM_COLOR - 1))) argument
766 #define CacheColor_IsFlushed(flag, vcolor) \ argument
767 ((flag) & CACHE_VCOLOR_MASK(vcolor))
769 #define CacheColor_SetFlushed(flag, vcolor) \ argument
770 ((flag) |= CACHE_VCOLOR_MASK(vcolor))
H A Dhat_sfmmu.c3566 int vcolor, ocolor; in sfmmu_vacconflict_array() local
3574 vcolor = addr_to_vcolor(addr); in sfmmu_vacconflict_array()
3576 PP_SET_VCOLOR(pp, vcolor); in sfmmu_vacconflict_array()
3581 if (ocolor == vcolor) { in sfmmu_vacconflict_array()
3598 PP_SET_VCOLOR(pp, vcolor); in sfmmu_vacconflict_array()
9257 int vcolor; in sfmmu_vac_conflict() local
9263 vcolor = addr_to_vcolor(addr); in sfmmu_vac_conflict()
9265 PP_SET_VCOLOR(pp, vcolor); in sfmmu_vac_conflict()
9269 if (PP_GET_VCOLOR(pp) == vcolor) { in sfmmu_vac_conflict()
9281 PP_SET_VCOLOR(pp, vcolor); in sfmmu_vac_conflict()
[all …]
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dopl_olympus_asm.s353 vac_flushpage(pfn_t pfnum, int vcolor)
369 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)
385 vac_flushcolor(int vcolor, pfn_t pfnum)
403 vac_flushcolor_tl1(uint64_t vcolor, uint64_t pfnum)
H A Dus3_common_asm.s453 vac_flushpage(pfn_t pfnum, int vcolor)
489 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)
511 vac_flushcolor(int vcolor, pfn_t pfnum)
535 vac_flushcolor_tl1(uint64_t vcolor, uint64_t pfnum)
H A Dspitfire_asm.s390 vac_flushpage(pfn_t pfnum, int vcolor)
395 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)
/titanic_44/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s1012 vac_flushpage(pfn_t pfnum, int vcolor)
1017 vac_flushpage_tl1(uint64_t pfnum, uint64_t vcolor)