Home | History | Annotate | Download | only in src

Lines Matching refs:tcache

688 		 * individual threads do not lock when recording tcache stats
696 tcache_t *tcache;
705 ql_foreach(tcache, &arena->tcache_ql, link) {
706 tcache_stats_merge(tcache, arena);
1142 CONF_HANDLE_BOOL(opt_tcache, "tcache",
1144 if (CONF_MATCH("tcache")) {
1149 "tcache cannot be enabled "
1814 ifree(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path)
1831 iqalloc(tsd, ptr, tcache, false);
1835 iqalloc(tsd, ptr, tcache, true);
1841 isfree(tsd_t *tsd, void *ptr, size_t usize, tcache_t *tcache)
1854 isqalloc(tsd, ptr, usize, tcache);
2013 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena)
2028 *tcache = NULL;
2030 *tcache = tcaches_get(tsd, MALLOCX_TCACHE_GET(flags));
2032 *tcache = tcache_get(tsd, true);
2045 size_t *alignment, bool *zero, tcache_t **tcache, arena_t **arena)
2054 *tcache = tcache_get(tsd, true);
2059 alignment, zero, tcache, arena));
2065 tcache_t *tcache, arena_t *arena)
2070 return (ipalloct(tsd, usize, alignment, zero, tcache, arena));
2074 return (icalloct(tsd, usize, ind, tcache, arena));
2075 return (imalloct(tsd, usize, ind, tcache, arena));
2080 tcache_t *tcache, arena_t *arena)
2087 p = imallocx_flags(tsd, LARGE_MINCLASS, alignment, zero, tcache,
2093 p = imallocx_flags(tsd, usize, alignment, zero, tcache, arena);
2104 tcache_t *tcache;
2109 &zero, &tcache, &arena)))
2113 p = imallocx_flags(tsd, *usize, alignment, zero, tcache, arena);
2115 p = imallocx_prof_sample(tsd, *usize, alignment, zero, tcache,
2135 tcache_t *tcache;
2151 &alignment, &zero, &tcache, &arena)))
2153 p = imallocx_flags(tsd, *usize, alignment, zero, tcache, arena);
2198 size_t usize, size_t alignment, bool zero, tcache_t *tcache, arena_t *arena,
2207 zero, tcache, arena);
2213 tcache, arena);
2221 size_t alignment, size_t *usize, bool zero, tcache_t *tcache,
2233 alignment, zero, tcache, arena, tctx);
2236 tcache, arena);
2273 tcache_t *tcache;
2291 tcache = NULL;
2293 tcache = tcaches_get(tsd, MALLOCX_TCACHE_GET(flags));
2295 tcache = tcache_get(tsd, true);
2306 zero, tcache, arena);
2311 tcache, arena);
2492 tcache_t *tcache;
2500 tcache = NULL;
2502 tcache = tcaches_get(tsd, MALLOCX_TCACHE_GET(flags));
2504 tcache = tcache_get(tsd, false);
2507 ifree(tsd_fetch(), ptr, tcache, true);
2526 tcache_t *tcache;
2537 tcache = NULL;
2539 tcache = tcaches_get(tsd, MALLOCX_TCACHE_GET(flags));
2541 tcache = tcache_get(tsd, false);
2544 isfree(tsd, ptr, usize, tcache);