Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/vm/
H A Dhat_i86.c3986 page_t *lastpp; in hat_page_demote() local
4071 lastpp = PP_GROUPLEADER(pp, szc); in hat_page_demote()
4073 lastpp += pgcnt - 1; in hat_page_demote()
4076 if (lastpp - firstpp < pgcnt) { in hat_page_demote()
4081 while (lastpp != firstpp) { in hat_page_demote()
4082 ASSERT(lastpp->p_szc == pszc); in hat_page_demote()
4083 lastpp->p_szc = szc - 1; in hat_page_demote()
4084 lastpp--; in hat_page_demote()
4108 lastpp = firstpp + (pgcnt - 1); in hat_page_demote()
4110 lastpp = PP_GROUPLEADER(pp, szc); in hat_page_demote()
[all …]
/illumos-gate/usr/src/uts/sfmmu/vm/
H A Dhat_sfmmu.c8191 page_t *lastpp; in hat_page_demote() local
8254 lastpp = PP_PAGENEXT_N(rootpp, TTEPAGES(pszc) - 1); in hat_page_demote()
8256 while (lastpp != rootpp) { in hat_page_demote()
8257 sz = PP_MAPINDEX(lastpp) ? fnd_mapping_sz(lastpp) : 0; in hat_page_demote()
8260 ASSERT(P2PHASE(lastpp->p_pagenum, npgs) == npgs - 1); in hat_page_demote()
8262 lastpp->p_szc = (uchar_t)sz; in hat_page_demote()
8263 lastpp = PP_PAGEPREV(lastpp); in hat_page_demote()
8273 lastpp->p_szc = sz; in hat_page_demote()
8274 ASSERT(IS_P2ALIGNED(lastpp->p_pagenum, TTEPAGES(sz))); in hat_page_demote()
8275 if (lastpp != rootpp) { in hat_page_demote()
[all …]