Home | History | Annotate | Download | only in upstream-dlmalloc

Lines Matching refs:MIN_CHUNK_SIZE

2214 #define MIN_CHUNK_SIZE\
2224 #define MAX_REQUEST ((-MIN_CHUNK_SIZE) << 2)
2225 #define MIN_REQUEST (MIN_CHUNK_SIZE - CHUNK_OVERHEAD - SIZE_T_ONE)
2233 (((req) < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(req))
2731 (align_offset(chunk2mem(0))+pad_request(sizeof(struct malloc_segment))+MIN_CHUNK_SIZE)
2827 #define MIN_SMALL_INDEX (small_index(MIN_CHUNK_SIZE))
3139 (MAX_SIZE_T < MIN_CHUNK_SIZE) ||
3286 if (sz >= MIN_CHUNK_SIZE) {
3307 assert(sz >= MIN_CHUNK_SIZE);
3309 /* unless mmapped, size is less than MIN_CHUNK_SIZE more than request */
3310 assert(is_mmapped(p) || sz < (s + MIN_CHUNK_SIZE));
3481 assert(m->dvsize >= MIN_CHUNK_SIZE);
3588 assert(S >= MIN_CHUNK_SIZE);\
3965 assert(qsize >= MIN_CHUNK_SIZE);
4005 char* csp = (asp < (old_top + MIN_CHUNK_SIZE))? old_top : asp;
4511 if (rsize < MIN_CHUNK_SIZE)
4549 if (rsize < MIN_CHUNK_SIZE)
4600 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes);
4631 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE)
4663 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */
4845 if (rsize >= MIN_CHUNK_SIZE) { /* split off remainder */
4869 if (dsize >= MIN_CHUNK_SIZE) {
4892 if (rsize < MIN_CHUNK_SIZE) {
4914 if (alignment < MIN_CHUNK_SIZE) /* must be at least a minimum chunk size */
4915 alignment = MIN_CHUNK_SIZE;
4928 size_t req = nb + alignment + MIN_CHUNK_SIZE - CHUNK_OVERHEAD;
4937 back leading space in a chunk of at least MIN_CHUNK_SIZE, if
4939 MIN_CHUNK_SIZE leader, we can move to the next aligned spot.
4946 char* pos = ((size_t)(br - (char*)(p)) >= MIN_CHUNK_SIZE)?
4967 if (size > nb + MIN_CHUNK_SIZE) {
5300 if (alignment < MIN_CHUNK_SIZE)
5301 alignment = MIN_CHUNK_SIZE;
5536 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes);
5567 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE)
5599 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */