NUL1E
#define NUL2E (NUL1E * NL2PG)
#define pmap_l0_pindex(v) (NUL2E + NUL1E + ((v) >> L0_SHIFT))
if (m->pindex >= (NUL2E + NUL1E)) {
} else if (m->pindex < (NUL2E + NUL1E)) {
m = _pmap_alloc_l3(pmap, NUL2E + NUL1E, NULL);
if (ptepindex >= (NUL2E + NUL1E)) {
l0index = ptepindex - (NUL2E + NUL1E);
if (_pmap_alloc_l3(pmap, NUL2E + NUL1E + l0index,
if (m->pindex >= (NUL2E + NUL1E)) {
} else if (m->pindex < (NUL2E + NUL1E)) {
if (ptepindex >= (NUL2E + NUL1E)) {
l0index = ptepindex - (NUL2E + NUL1E);
if (_pmap_alloc_l3(pmap, NUL2E + NUL1E + l0index)
#define NUL2E (NUL1E * NL2PG)
#define smmu_l0_pindex(v) (NUL2E + NUL1E + ((v) >> IOMMU_L0_SHIFT))
if (m->pindex >= NUL2E + NUL1E) {
} else if (m->pindex < NUL2E + NUL1E && pmap_mode != PMAP_MODE_SV39) {
if (ptepindex >= NUL2E + NUL1E) {
KASSERT(ptepindex < NUL2E + NUL1E + NUL0E,
l0index = ptepindex - (NUL2E + NUL1E);
#define NUL2E (Ln_ENTRIES * NUL1E)
NUL2E + NUL1E + l0index, lockp) == NULL)