Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/i86pc/vm/
H A Dhat_i86.c3503 page_t *lastpp; in hat_page_demote() local
3588 lastpp = PP_GROUPLEADER(pp, szc); in hat_page_demote()
3590 lastpp += pgcnt - 1; in hat_page_demote()
3593 if (lastpp - firstpp < pgcnt) { in hat_page_demote()
3598 while (lastpp != firstpp) { in hat_page_demote()
3599 ASSERT(lastpp->p_szc == pszc); in hat_page_demote()
3600 lastpp->p_szc = szc - 1; in hat_page_demote()
3601 lastpp--; in hat_page_demote()
3625 lastpp = firstpp + (pgcnt - 1); in hat_page_demote()
3627 lastpp = PP_GROUPLEADER(pp, szc); in hat_page_demote()
[all …]
/titanic_44/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c8342 page_t *lastpp; in hat_page_demote() local
8410 lastpp = PP_PAGENEXT_N(rootpp, TTEPAGES(pszc) - 1); in hat_page_demote()
8412 while (lastpp != rootpp) { in hat_page_demote()
8413 sz = PP_MAPINDEX(lastpp) ? fnd_mapping_sz(lastpp) : 0; in hat_page_demote()
8416 ASSERT(P2PHASE(lastpp->p_pagenum, npgs) == npgs - 1); in hat_page_demote()
8418 lastpp->p_szc = (uchar_t)sz; in hat_page_demote()
8419 lastpp = PP_PAGEPREV(lastpp); in hat_page_demote()
8429 lastpp->p_szc = sz; in hat_page_demote()
8430 ASSERT(IS_P2ALIGNED(lastpp->p_pagenum, TTEPAGES(sz))); in hat_page_demote()
8431 if (lastpp != rootpp) { in hat_page_demote()
[all …]