Searched refs:nb (Results 1 – 1 of 1) sorted by relevance
3838 static void* mmap_alloc(mstate m, size_t nb) { in mmap_alloc() argument3839 size_t mmsize = mmap_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_alloc()3845 if (mmsize > nb) { /* Check for wrap around 0 */ in mmap_alloc()3870 static mchunkptr mmap_resize(mstate m, mchunkptr oldp, size_t nb, int flags) { in mmap_resize() argument3873 if (is_small(nb)) /* Can't shrink mmap regions below small size */ in mmap_resize()3876 if (oldsize >= nb + SIZE_T_SIZE && in mmap_resize()3877 (oldsize - nb) <= (mparams.granularity << 1)) in mmap_resize()3882 size_t newmmsize = mmap_align(nb + SIX_SIZE_T_SIZES + CHUNK_ALIGN_MASK); in mmap_resize()3953 size_t nb) { in prepend_alloc() argument3957 mchunkptr q = chunk_plus_offset(p, nb); in prepend_alloc()[all …]