Lines Matching refs:chunk_at_offset
1420 #define chunk_at_offset(p, s) ((mchunkptr) (((char *) (p)) + (s))) macro
2122 mchunkptr next = chunk_at_offset (p, sz); in do_check_free_chunk()
2602 old_end = (char *) (chunk_at_offset (old_top, old_size)); in sysmalloc()
2642 top (av) = chunk_at_offset (heap, sizeof (*heap)); in sysmalloc()
2651 set_head (chunk_at_offset (old_top, old_size + CHUNK_HDR_SZ), in sysmalloc()
2655 set_head (chunk_at_offset (old_top, old_size), in sysmalloc()
2657 set_foot (chunk_at_offset (old_top, old_size), CHUNK_HDR_SZ); in sysmalloc()
2918 set_head (chunk_at_offset (old_top, old_size), in sysmalloc()
2920 set_head (chunk_at_offset (old_top, in sysmalloc()
2947 remainder = chunk_at_offset (p, nb); in sysmalloc()
3994 mchunkptr next = chunk_at_offset (victim, size); in _int_malloc()
4025 remainder = chunk_at_offset (victim, nb); in _int_malloc()
4213 remainder = chunk_at_offset (victim, nb); in _int_malloc()
4316 remainder = chunk_at_offset (victim, nb); in _int_malloc()
4374 remainder = chunk_at_offset (victim, nb); in _int_malloc()
4496 && (chunk_at_offset(p, size) != av->top) in _int_free()
4500 if (__builtin_expect (chunksize_nomask (chunk_at_offset (p, size)) in _int_free()
4502 || __builtin_expect (chunksize (chunk_at_offset (p, size)) in _int_free()
4512 fail = (chunksize_nomask (chunk_at_offset (p, size)) <= CHUNK_HDR_SZ in _int_free()
4513 || chunksize (chunk_at_offset (p, size)) >= av->system_mem); in _int_free()
4574 nextchunk = chunk_at_offset(p, size); in _int_free()
4600 p = chunk_at_offset(p, -((long) prevsize)); in _int_free()
4759 nextchunk = chunk_at_offset(p, size); in malloc_consolidate()
4765 p = chunk_at_offset(p, -((long) prevsize)); in malloc_consolidate()
4834 next = chunk_at_offset (oldp, oldsize); in _int_realloc()
4855 av->top = chunk_at_offset (oldp, nb); in _int_realloc()
4916 remainder = chunk_at_offset (newp, nb); in _int_realloc()
5017 remainder = chunk_at_offset (p, nb); in _int_memalign()