Searched refs:tbin (Results 1 – 4 of 4) sorted by relevance
/external/jemalloc/src/ |
D | tcache.c | 36 tcache_bin_t *tbin = &tcache->tbins[binind]; in tcache_event_hard() local 39 if (tbin->low_water > 0) { in tcache_event_hard() 44 tcache_bin_flush_small(tsd, tcache, tbin, binind, in tcache_event_hard() 45 tbin->ncached - tbin->low_water + (tbin->low_water in tcache_event_hard() 48 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard() 49 - tbin->low_water + (tbin->low_water >> 2), tcache); in tcache_event_hard() 55 if ((tbin_info->ncached_max >> (tbin->lg_fill_div+1)) >= 1) in tcache_event_hard() 56 tbin->lg_fill_div++; in tcache_event_hard() 57 } else if (tbin->low_water < 0) { in tcache_event_hard() 62 if (tbin->lg_fill_div > 1) in tcache_event_hard() [all …]
|
D | arena.c | 2206 arena_tcache_fill_small(tsd_t *tsd, arena_t *arena, tcache_bin_t *tbin, in arena_tcache_fill_small() argument 2212 assert(tbin->ncached == 0); in arena_tcache_fill_small() 2219 tbin->lg_fill_div); i < nfill; i++) { in arena_tcache_fill_small() 2233 memmove(tbin->avail - i, tbin->avail - nfill, in arena_tcache_fill_small() 2243 *(tbin->avail - nfill + i) = ptr; in arena_tcache_fill_small() 2247 bin->stats.nrequests += tbin->tstats.nrequests; in arena_tcache_fill_small() 2250 tbin->tstats.nrequests = 0; in arena_tcache_fill_small() 2253 tbin->ncached = i; in arena_tcache_fill_small()
|
/external/jemalloc/include/jemalloc/internal/ |
D | tcache.h | 148 tcache_bin_t *tbin, szind_t binind, bool *tcache_success); 149 void tcache_bin_flush_small(tsd_t *tsd, tcache_t *tcache, tcache_bin_t *tbin, 151 void tcache_bin_flush_large(tsd_t *tsd, tcache_bin_t *tbin, szind_t binind, 177 void *tcache_alloc_easy(tcache_bin_t *tbin, bool *tcache_success); 267 tcache_alloc_easy(tcache_bin_t *tbin, bool *tcache_success) in tcache_alloc_easy() argument 271 if (unlikely(tbin->ncached == 0)) { in tcache_alloc_easy() 272 tbin->low_water = -1; in tcache_alloc_easy() 284 ret = *(tbin->avail - tbin->ncached); in tcache_alloc_easy() 285 tbin->ncached--; in tcache_alloc_easy() 287 if (unlikely((int)tbin->ncached < tbin->low_water)) in tcache_alloc_easy() [all …]
|
D | arena.h | 530 void arena_tcache_fill_small(tsd_t *tsd, arena_t *arena, tcache_bin_t *tbin,
|