• Home
  • Raw
  • Download

Lines Matching refs:MIN_CHUNK_SIZE

2214 #define MIN_CHUNK_SIZE\  macro
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) || in init_mparams()
3286 if (sz >= MIN_CHUNK_SIZE) { in do_check_free_chunk()
3307 assert(sz >= MIN_CHUNK_SIZE); in do_check_malloced_chunk()
3310 assert(is_mmapped(p) || sz < (s + MIN_CHUNK_SIZE)); in do_check_malloced_chunk()
3481 assert(m->dvsize >= MIN_CHUNK_SIZE); in do_check_malloc_state()
3590 assert(S >= MIN_CHUNK_SIZE);\
3967 assert(qsize >= MIN_CHUNK_SIZE); in prepend_alloc()
4007 char* csp = (asp < (old_top + MIN_CHUNK_SIZE))? old_top : asp; in add_segment()
4513 if (rsize < MIN_CHUNK_SIZE) in tmalloc_large()
4551 if (rsize < MIN_CHUNK_SIZE) in tmalloc_small()
4602 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes); in dlmalloc()
4633 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE) in dlmalloc()
4665 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */ in dlmalloc()
4852 if (rsize >= MIN_CHUNK_SIZE) { /* split off remainder */ in try_realloc_chunk()
4876 if (dsize >= MIN_CHUNK_SIZE) { in try_realloc_chunk()
4899 if (rsize < MIN_CHUNK_SIZE) { in try_realloc_chunk()
4921 if (alignment < MIN_CHUNK_SIZE) /* must be at least a minimum chunk size */ in internal_memalign()
4922 alignment = MIN_CHUNK_SIZE; in internal_memalign()
4935 size_t req = nb + alignment + MIN_CHUNK_SIZE - CHUNK_OVERHEAD; in internal_memalign()
4953 char* pos = ((size_t)(br - (char*)(p)) >= MIN_CHUNK_SIZE)? in internal_memalign()
4974 if (size > nb + MIN_CHUNK_SIZE) { in internal_memalign()
5307 if (alignment < MIN_CHUNK_SIZE) in dlposix_memalign()
5308 alignment = MIN_CHUNK_SIZE; in dlposix_memalign()
5550 nb = (bytes < MIN_REQUEST)? MIN_CHUNK_SIZE : pad_request(bytes); in mspace_malloc()
5581 if (SIZE_T_SIZE != 4 && rsize < MIN_CHUNK_SIZE) in mspace_malloc()
5613 if (rsize >= MIN_CHUNK_SIZE) { /* split dv */ in mspace_malloc()