| 86 | } |
| 87 | |
| 88 | void * |
| 89 | tcache_alloc_small_hard(tsdn_t *tsdn, arena_t *arena, tcache_t *tcache, |
| 90 | cache_bin_t *tbin, szind_t binind, bool *tcache_success) { |
| 91 | void *ret; |
| 92 | |
| 93 | assert(tcache->arena != NULL); |
| 94 | arena_tcache_fill_small(tsdn, arena, tcache, tbin, binind, |
| 95 | config_prof ? tcache->prof_accumbytes : 0); |
| 96 | if (config_prof) { |
| 97 | tcache->prof_accumbytes = 0; |
| 98 | } |
| 99 | ret = cache_bin_alloc_easy(tbin, tcache_success); |
| 100 | |
| 101 | return ret; |
| 102 | } |
| 103 | |
| 104 | /* Enabled with --enable-extra-size-check. */ |
| 105 | static void |
no test coverage detected