Lines Matching refs:tcache
547 bool zero, tcache_t *tcache);
549 size_t alignment, bool zero, tcache_t *tcache);
574 size_t size, size_t alignment, bool zero, tcache_t *tcache);
655 bool zero, tcache_t *tcache, bool slow_path);
658 void arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path);
659 void arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache);
1275 tcache_t *tcache, bool slow_path) in arena_malloc() argument
1280 if (likely(tcache != NULL)) { in arena_malloc()
1282 return (tcache_alloc_small(tsd, arena, tcache, size, in arena_malloc()
1286 return (tcache_alloc_large(tsd, arena, tcache, size, in arena_malloc()
1293 return (arena_malloc_hard(tsd, arena, size, ind, zero, tcache)); in arena_malloc()
1359 arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path) in arena_dalloc() argument
1385 if (likely(tcache != NULL)) { in arena_dalloc()
1388 tcache_dalloc_small(tsd, tcache, ptr, binind, in arena_dalloc()
1401 if (likely(tcache != NULL) && size - large_pad <= in arena_dalloc()
1403 tcache_dalloc_large(tsd, tcache, ptr, size - in arena_dalloc()
1411 huge_dalloc(tsd, ptr, tcache); in arena_dalloc()
1415 arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache) in arena_sdalloc() argument
1439 if (likely(tcache != NULL)) { in arena_sdalloc()
1441 tcache_dalloc_small(tsd, tcache, ptr, binind, in arena_sdalloc()
1453 if (likely(tcache != NULL) && size <= tcache_maxclass) { in arena_sdalloc()
1454 tcache_dalloc_large(tsd, tcache, ptr, size, in arena_sdalloc()
1462 huge_dalloc(tsd, ptr, tcache); in arena_sdalloc()