Lines Matching refs:NBPG
2665 size = NBPG;
2675 VERIFY(IS_P2ALIGNED(page, NBPG));
2676 numpages = size / NBPG;
2709 for (i = 0; i < numpages; i++, page += NBPG) {
2710 ppnum_t offset = ((char *)page - (char *)mbutl) / NBPG;
2728 (caddr_t)page, NBPG);
2871 numpages = (num * m_size(class) + NBPG - 1) / NBPG;
5536 ((IS_P2ALIGNED((m)->m_data, NBPG) && (m)->m_len > NBPG) || \
5537 (!IS_P2ALIGNED((m)->m_data, NBPG) && \
5538 P2ROUNDUP((m)->m_data, NBPG) < ((uintptr_t)(m)->m_data + (m)->m_len))))
5558 if (IS_P2ALIGNED(data, NBPG) && len0 > NBPG)
5559 len = NBPG;
5560 else if (!IS_P2ALIGNED(data, NBPG) &&
5561 P2ROUNDUP(data, NBPG) < (data + len0))
5562 len = P2ROUNDUP(data, NBPG) - data;
6301 VERIFY(IS_P2ALIGNED(o, MIN(m_maxsize(class), NBPG)));