Lines Matching full:overhead

97  * The overhead on a block is at least 4 bytes.  When free, this space
109 union overhead { union
110 union overhead *ov_next; /* when free */
142 * smallest allocatable block is 8 bytes. The overhead information
146 static union overhead *nextf[NBUCKETS] IZERO_STRUCT;
155 static int findbucket (union overhead *, int);
180 union overhead *p; in malloc()
201 nbytes = MEMALIGN(MEMALIGN(sizeof(union overhead)) + nbytes + RSLOP); in malloc()
238 return ((memalign_t) (((caddr_t) p) + MEMALIGN(sizeof(union overhead)))); in malloc()
254 union overhead *op; in morecore()
265 op = (union overhead *) sbrk(0); in morecore()
278 op = (union overhead *) memtop; in morecore()
288 op = (union overhead *) (((U_long) op + (ROUNDUP + 1)) & ~ROUNDUP); in morecore()
297 op->ov_next = (union overhead *) (((caddr_t) op) + siz); in morecore()
298 op = (union overhead *) (((caddr_t) op) + siz); in morecore()
310 union overhead *op; in free()
324 op = (union overhead *) (((caddr_t) cp) - MEMALIGN(sizeof(union overhead))); in free()
390 union overhead *op; in realloc()
397 op = (union overhead *) (((caddr_t) cp) - MEMALIGN(sizeof(union overhead))); in realloc()
416 onb = MEMALIGN(nbytes + MEMALIGN(sizeof(union overhead)) + RSLOP); in realloc()
423 nbytes = MEMALIGN(MEMALIGN(sizeof(union overhead))+nbytes+RSLOP); in realloc()
437 onb = (1 << (i + 3)) - MEMALIGN(sizeof(union overhead)) - RSLOP; in realloc()
466 const union overhead *op = (const union overhead *) in malloc_usable_size()
482 findbucket(union overhead *freep, int srchlen) in findbucket()
484 union overhead *p; in findbucket()
612 union overhead *p; in showall()