Home
last modified time | relevance | path

Searched refs:NUL2E (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/arm64/iommu/
H A Diommu_pmap.c75 #define NUL2E (NUL1E * NL2PG) macro
77 #define smmu_l0_pindex(v) (NUL2E + NUL1E + ((v) >> IOMMU_L0_SHIFT))
78 #define smmu_l1_pindex(v) (NUL2E + ((v) >> IOMMU_L1_SHIFT))
355 if (m->pindex >= (NUL2E + NUL1E)) { in _smmu_pmap_unwire_l3()
361 } else if (m->pindex >= NUL2E) { in _smmu_pmap_unwire_l3()
375 if (m->pindex < NUL2E) { in _smmu_pmap_unwire_l3()
384 } else if (m->pindex < (NUL2E + NUL1E)) { in _smmu_pmap_unwire_l3()
468 if (ptepindex >= (NUL2E + NUL1E)) { in _pmap_alloc_l3()
472 l0index = ptepindex - (NUL2E + NUL1E); in _pmap_alloc_l3()
475 } else if (ptepindex >= NUL2E) { in _pmap_alloc_l3()
[all …]
/freebsd/sys/riscv/riscv/
H A Dpmap.c174 #define NUL2E (Ln_ENTRIES * NUL1E) macro
184 #define pmap_l1_pindex(v) (NUL2E + ((v) >> L1_SHIFT))
1447 if (m->pindex >= NUL2E + NUL1E) { in _pmap_unwire_ptp()
1451 } else if (m->pindex >= NUL2E) { in _pmap_unwire_ptp()
1462 if (m->pindex < NUL2E) { in _pmap_unwire_ptp()
1469 } else if (m->pindex < NUL2E + NUL1E && pmap_mode != PMAP_MODE_SV39) { in _pmap_unwire_ptp()
1638 if (ptepindex >= NUL2E + NUL1E) { in _pmap_alloc_l3()
1644 KASSERT(ptepindex < NUL2E + NUL1E + NUL0E, in _pmap_alloc_l3()
1647 l0index = ptepindex - (NUL2E + NUL1E); in _pmap_alloc_l3()
1654 } else if (ptepindex >= NUL2E) { in _pmap_alloc_l3()
[all …]
/freebsd/sys/arm64/arm64/
H A Dpmap.c169 #define NUL2E (NUL1E * NL2PG) macro
179 #define pmap_l0_pindex(v) (NUL2E + NUL1E + ((v) >> L0_SHIFT))
180 #define pmap_l1_pindex(v) (NUL2E + ((v) >> L1_SHIFT))
2433 if (m->pindex >= (NUL2E + NUL1E)) { in _pmap_unwire_l3()
2439 } else if (m->pindex >= NUL2E) { in _pmap_unwire_l3()
2453 if (m->pindex < NUL2E) { in _pmap_unwire_l3()
2462 } else if (m->pindex < (NUL2E + NUL1E)) { in _pmap_unwire_l3()
2584 m = _pmap_alloc_l3(pmap, NUL2E + NUL1E, NULL); in pmap_pinit_stage()
2651 if (ptepindex >= (NUL2E + NUL1E)) { in _pmap_alloc_l3()
2655 l0index = ptepindex - (NUL2E + NUL1E); in _pmap_alloc_l3()
[all …]