Lines Matching refs:segs
141 if (bootspace.segs[i].type == BTSEG_TEXT) {
143 } else if (bootspace.segs[i].type == BTSEG_RODATA) {
148 mm_mprotect(bootspace.segs[i].va, bootspace.segs[i].sz, prot);
221 if (bootspace.segs[i].type == BTSEG_NONE) {
224 sva = bootspace.segs[i].va;
225 eva = sva + bootspace.segs[i].sz;
257 if (bootspace.segs[i].type == BTSEG_NONE) {
260 pa = bootspace.segs[i].pa + bootspace.segs[i].sz;
274 if (bootspace.segs[i].type == BTSEG_NONE) {
275 bootspace.segs[i].type = type;
276 bootspace.segs[i].va = va;
277 bootspace.segs[i].pa = pa;
278 bootspace.segs[i].sz = sz;
465 * | Head region | Kern segs | Boot region |
477 * The segments are mapped at random VAs and referenced in bootspace.segs[].