Lines Matching defs:oldseg
1283 vmem_seg_t *oldseg = span->vs_knext->vs_aprev;
1286 ASSERT(oldseg->vs_type != VMEM_SPAN);
1287 if (oldseg->vs_type == VMEM_FREE) {
1288 ASSERT(oldseg->vs_end == addr);
1289 vmem_freelist_delete(vmp, oldseg);
1290 oldseg->vs_end = endaddr;
1291 vsp = oldseg;
1293 vsp = vmem_seg_create(vmp, oldseg, addr, endaddr);
1295 vmem_seg_t *oldseg = span->vs_anext;
1299 ASSERT(oldseg->vs_type != VMEM_SPAN);
1300 if (oldseg->vs_type == VMEM_FREE) {
1301 ASSERT(oldseg->vs_start == endaddr);
1302 vmem_freelist_delete(vmp, oldseg);
1303 oldseg->vs_start = addr;
1304 vsp = oldseg;