Lines Matching defs:start
662 void __malloc_donate(char *start, char *end)
665 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - BLOCK_HEAD);
667 size_t align_start_up = (SIZE_ALIGN-1) & (-(uintptr_t)start - OVERHEAD);
673 * multiple of SIZE_ALIGN bytes between start and end. */
675 if (end - start <= BLOCK_HEAD + align_start_up + align_end_down)
677 start += align_start_up + BLOCK_HEAD;
679 if (end - start <= OVERHEAD + align_start_up + align_end_down)
681 start += align_start_up + OVERHEAD;
688 struct chunk *c = MEM_TO_CHUNK(start), *n = MEM_TO_CHUNK(end);
690 c->csize = n->psize = C_INUSE | (end-start);