Home
last modified time | relevance | path

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

/trusty/user/base/lib/dlmalloc/
Ddlmalloc.c3871 size_t oldsize = chunksize(oldp); in mmap_resize() local
3876 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize()
3877 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()
3881 size_t oldmmsize = oldsize + offset + MMAP_FOOT_PAD; in mmap_resize()
4834 size_t oldsize = chunksize(p); in try_realloc_chunk() local
4835 mchunkptr next = chunk_plus_offset(p, oldsize); in try_realloc_chunk()
4841 else if (oldsize >= nb) { /* already big enough */ in try_realloc_chunk()
4842 size_t rsize = oldsize - nb; in try_realloc_chunk()
4852 if (oldsize + m->topsize > nb) { in try_realloc_chunk()
4853 size_t newsize = oldsize + m->topsize; in try_realloc_chunk()
[all …]