Home
last modified time | relevance | path

Searched refs:chunksize (Results 1 – 6 of 6) sorted by relevance

/glibc-2.36/malloc/
Dmalloc.c1402 #define chunksize(p) (chunksize_nomask (p) & ~(SIZE_BITS)) macro
1408 #define next_chunk(p) ((mchunkptr) (((char *) (p)) + chunksize (p)))
1424 ((((mchunkptr) (((char *) (p)) + chunksize (p)))->mchunk_size) & PREV_INUSE)
1428 ((mchunkptr) (((char *) (p)) + chunksize (p)))->mchunk_size |= PREV_INUSE
1431 ((mchunkptr) (((char *) (p)) + chunksize (p)))->mchunk_size &= ~(PREV_INUSE)
1461 chunksize (p) - CHUNK_HDR_SZ : \
1462 chunksize (p) - CHUNK_HDR_SZ + (chunk_is_mmapped (p) ? 0 : SIZE_SZ))
1622 if (chunksize (p) != prev_size (next_chunk (p))) in unlink_chunk()
2076 unsigned long sz = chunksize (p); in do_check_chunk()
2078 char *max_address = (char *) (av->top) + chunksize (av->top); in do_check_chunk()
[all …]
Dmalloc-check.c118 sz = chunksize (p); in mem2chunk_check()
182 chunksize (t) >= MINSIZE && in top_check()
185 (char *) t + chunksize (t) == mp_.sbrk_base + main_arena.system_mem))) in top_check()
276 const INTERNAL_SIZE_T oldsize = chunksize (oldp); in realloc_check()
Dmalloc-debug.c240 const INTERNAL_SIZE_T osize = chunksize (oldp); in strong_alias()
412 return chunksize (p) - SIZE_SZ; in strong_alias()
626 size_t size = chunksize (chunk); in malloc_set_state()
Darena.c661 new_size = chunksize (p) + (MINSIZE - 2 * SIZE_SZ) + misalign; in heap_trim()
691 top_size = chunksize (top_chunk); in heap_trim()
/glibc-2.36/manual/
Dmemory.texi457 @c chunksize dup ok
476 @c chunksize ok
494 @c chunksize dup ok
515 @c chunksize dup ok
553 @c chunksize dup ok
567 @c chunksize dup ok
717 @c chunksize ok
793 @c chunksize dup ok
798 @c chunksize dup ok
810 @c chunksize dup ok
[all …]
/glibc-2.36/ChangeLog.old/
DChangeLog.1815303 (chunksize): Use chunksize_nomask instead of direct member access.
15305 (next_chunk): Use chunksize instead of direct member access.
15308 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15321 (malloc_consolidate): Use chunksize, prev_size accessors.