Lines Matching defs:seg
41 Seg_t seg; /* space for segment */
60 reg Seg_t* seg;
138 vd->seg = (Seg_t*)(addr + ROUND(incr,ALIGN));
139 /**/ ASSERT(VLONG(vd->seg)%ALIGN == 0);
141 seg = vd->seg;
142 seg->next = NIL(Seg_t*);
143 seg->vmdt = vd;
144 seg->addr = (Void_t*)(addr - (a ? ALIGN-a : 0));
145 seg->extent = s;
146 seg->baddr = addr + s - (a ? ALIGN : 0);
147 seg->size = s; /* this size is larger than usual so that the segment
149 seg->free = NIL(Block_t*);
152 b = SEGBLOCK(seg);
153 SEG(b) = seg;
154 SIZE(b) = seg->baddr - (Vmuchar_t*)b - 2*sizeof(Head_t);
160 SEG(NEXT(b)) = seg;
164 seg->free = b;