Home
last modified time | relevance | path

Searched refs:chunk_at_offset (Results 1 – 4 of 4) sorted by relevance

/glibc-2.36/malloc/
Dmalloc.c1420 #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()
[all …]
Darena.c651 while (top_chunk == chunk_at_offset (heap, sizeof (*heap))) in heap_trim()
655 p = chunk_at_offset (prev_heap, prev_size); in heap_trim()
658 p = chunk_at_offset (prev_heap, prev_size - misalign); in heap_trim()
/glibc-2.36/manual/
Dmemory.texi456 @c chunk_at_offset dup ok
477 @c chunk_at_offset ok
495 @c chunk_at_offset dup ok
519 @c chunk_at_offset dup ok
551 @c chunk_at_offset dup ok
809 @c chunk_at_offset dup ok
812 @c chunk_at_offset dup ok
1037 @c chunk_at_offset dup ok
/glibc-2.36/ChangeLog.old/
DChangeLog.115583 * malloc/malloc.c (mem2chunk): Define in terms of chunk_at_offset.
5584 (malloc_extend_top): Convert brk to chunk using chunk_at_offset.
5815 (mem2chunk, chunk_at_offset, bin_at): Wrap BOUNDED_1 around expression.
6220 Define in terms of chunk_at_offset.