Searched refs:rnewsz (Results 1 – 1 of 1) sorted by relevance
1838 size_t rnewsz = PAGEROUND(gnewsz); in orealloc() local1840 if (rnewsz < roldsz && rnewsz > roldsz / 2 && in orealloc()1841 roldsz - rnewsz < mopts.def_maxcache * MALLOC_PAGESIZE && in orealloc()1848 if (rnewsz > roldsz) { in orealloc()1852 size_t needed = rnewsz - roldsz; in orealloc()1876 } else if (rnewsz < roldsz) { in orealloc()1879 if (mprotect((char *)r->p + rnewsz - in orealloc()1884 if (munmap((char *)r->p + rnewsz, roldsz - rnewsz)) in orealloc()1886 rnewsz); in orealloc()1887 STATS_SUB(pool->malloc_used, roldsz - rnewsz); in orealloc()[all …]