Lines Matching defs:newblk
448 struct header *newblk; /* used for creating a block */
512 if ((newblk = (struct header *)sbrk(0)) !=
524 assert((uintptr_t)newblk % ALIGNSZ == 0);
529 newend = (struct header *)((char *)newblk + nget
531 assert((uintptr_t)newblk % ALIGNSZ == 0);
533 /* ??? newblk ?? */
534 newblk->nextblk = newend;
541 arenaend->nextblk = SETBUSY(newblk);
544 lastblk = newblk;
545 blk = newblk;
552 assert(((uintptr_t)newblk%ALIGNSZ) == 0);
557 /* ??? newblk = arenaend; */
576 assert(((uintptr_t)newblk % ALIGNSZ) == 0);
605 /* newblk will be the remainder */
606 newblk = (struct header *)((char *)blk + nb);
607 newblk->nextblk = blk->nextblk;
609 blk->nextblk = SETBUSY(newblk);
610 ADDFREEQ(newblk);
611 /* if blk was lastblk, make newblk lastblk */
613 lastblk = newblk;
806 struct header *newblk; /* remainder */
811 * newblk will be the remainder
813 newblk = (struct header *)((char *)blk +
815 newblk->nextblk = next;
816 blk->nextblk = SETBUSY(newblk);
818 ADDFREEQ(newblk);
819 /* if blk was lastblk, make newblk lastblk */
821 lastblk = newblk;