Lines Matching refs:lastblk
130 static struct header *lastblk; /* the highest block in the arena */
318 lastblk = arenaend = &(arena[1]);
483 * next will be at most == to lastblk,
487 lastblk = blk;
544 lastblk = newblk;
546 } else if (TESTBUSY(lastblk->nextblk)) {
563 lastblk = blk = arenaend;
573 ((char *)arenaend - (char *)lastblk);
582 arenaend = lastblk->nextblk = newend;
585 blk = lastblk;
611 /* if blk was lastblk, make newblk lastblk */
612 if (blk == lastblk)
613 lastblk = newblk;
706 if (next == arenaend) lastblk = blk;
795 if (next >= arenaend) lastblk = blk;
819 /* if blk was lastblk, make newblk lastblk */
820 if (blk == lastblk)
821 lastblk = newblk;
1103 assert(blk <= lastblk);
1111 assert(blk->nextfree <= lastblk);
1112 assert(blk->prevfree <= lastblk);