Lines Matching refs:brk
1705 char* brk; /* return value from sbrk */ in malloc_extend_top() local
1728 brk = (char*)(MORECORE (sbrk_size)); in malloc_extend_top()
1731 if (brk == (char*)(MORECORE_FAILURE) || in malloc_extend_top()
1732 (brk < old_end && old_top != initial_top)) in malloc_extend_top()
1737 if (brk == old_end /* can just add bytes to current top, unless in malloc_extend_top()
1747 sbrk_base = brk; in malloc_extend_top()
1749 sbrked_mem += brk - (char*)old_end; in malloc_extend_top()
1752 front_misalign = (uintptr_t)chunk2mem(brk) & MALLOC_ALIGN_MASK; in malloc_extend_top()
1756 brk += correction; in malloc_extend_top()
1762 correction += pagesz - ((uintptr_t)(brk + sbrk_size) & (pagesz - 1)); in malloc_extend_top()
1773 new_brk = brk + sbrk_size; in malloc_extend_top()
1780 top = (mchunkptr)brk; in malloc_extend_top()
1781 top_size = new_brk - brk + correction; in malloc_extend_top()
2593 char* brk; /* alignment point within p */ in mEMALIGn() local
2648 brk = (char*)mem2chunk(((uintptr_t)(m + alignment - 1)) & -alignment); in mEMALIGn()
2649 if ((long)(brk - (char*)(p)) < (long)MINSIZE) brk = brk + alignment; in mEMALIGn()
2651 newp = (mchunkptr)brk; in mEMALIGn()
2652 leadsize = brk - (char*)(p); in mEMALIGn()