| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| cache_bin.h | 39 /* Upper limit on ncached. */ 48 cache_bin_sz_t ncached; member in struct:cache_bin_s 50 * ncached and stats are both modified frequently. Let's keep them 61 * avail[-ncached, ... -1] are available items and the lowest item will 91 if (unlikely(bin->ncached == 0)) { 104 ret = *(bin->avail - bin->ncached); 105 bin->ncached--; 107 if (unlikely(bin->ncached < bin->low_water)) { 108 bin->low_water = bin->ncached;
|
| tcache_inlines.h | 177 if (unlikely(bin->ncached == bin_info->ncached_max)) { 181 assert(bin->ncached < bin_info->ncached_max); 182 bin->ncached++; 183 *(bin->avail - bin->ncached) = ptr; 203 if (unlikely(bin->ncached == bin_info->ncached_max)) { 207 assert(bin->ncached < bin_info->ncached_max); 208 bin->ncached++; 209 *(bin->avail - bin->ncached) = ptr;
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| cache_bin.h | 39 /* Upper limit on ncached. */ 48 cache_bin_sz_t ncached; member in struct:cache_bin_s 50 * ncached and stats are both modified frequently. Let's keep them 61 * avail[-ncached, ... -1] are available items and the lowest item will 91 if (unlikely(bin->ncached == 0)) { 104 ret = *(bin->avail - bin->ncached); 105 bin->ncached--; 107 if (unlikely(bin->ncached < bin->low_water)) { 108 bin->low_water = bin->ncached;
|
| tcache_inlines.h | 177 if (unlikely(bin->ncached == bin_info->ncached_max)) { 181 assert(bin->ncached < bin_info->ncached_max); 182 bin->ncached++; 183 *(bin->avail - bin->ncached) = ptr; 203 if (unlikely(bin->ncached == bin_info->ncached_max)) { 207 assert(bin->ncached < bin_info->ncached_max); 208 bin->ncached++; 209 *(bin->avail - bin->ncached) = ptr;
|
| /src/external/bsd/jemalloc.old/dist/src/ |
| tcache.c | 55 tbin->ncached - tbin->low_water + (tbin->low_water 67 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached 79 tbin->low_water = tbin->ncached; 109 assert((cache_bin_sz_t)rem <= tbin->ncached); 113 unsigned nflush = tbin->ncached - rem; 181 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * 183 tbin->ncached = rem; 184 if (tbin->ncached < tbin->low_water) { 185 tbin->low_water = tbin->ncached; 195 assert((cache_bin_sz_t)rem <= tbin->ncached); [all...] |
| arena.c | 162 tbin->ncached * sz_index2size(i)); 167 tbin->ncached * sz_index2size(i)); 1258 assert(tbin->ncached == 0); 1301 tbin->ncached = i;
|
| /src/external/bsd/jemalloc/dist/src/ |
| tcache.c | 129 cache_bin_sz_t ncached = cache_bin_ncached_get_local(cache_bin, local 149 (unsigned)(ncached - nflush)); 167 cache_bin_sz_t ncached = cache_bin_ncached_get_local(cache_bin, local 172 (unsigned)(ncached - low_water + (low_water >> 2))); 510 cache_bin_sz_t ncached = cache_bin_ncached_get_local(cache_bin, local 512 assert((cache_bin_sz_t)rem <= ncached); 513 unsigned nflush = ncached - rem; 523 ncached - rem); 555 * of the stack. Checking the stack head and ncached to verify.
|
| arena.c | 159 cache_bin_sz_t ncached, nstashed; local 161 &tcache_bin_info[i], &ncached, &nstashed); 163 astats->tcache_bytes += ncached * sz_index2size(i);
|
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| cache_bin.h | 171 /* Returns ncached_max: Upper limit on ncached. */ 309 * ncached >= low_water during flush). 317 /* Returns the numeric value of low water in [0, ncached]. */ 518 cache_bin_sz_t *ncached, cache_bin_sz_t *nstashed) { 521 *ncached = n; 526 /* Note that cannot assert ncached + nstashed <= ncached_max (racy). */
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| cache_bin.h | 171 /* Returns ncached_max: Upper limit on ncached. */ 309 * ncached >= low_water during flush). 317 /* Returns the numeric value of low water in [0, ncached]. */ 518 cache_bin_sz_t *ncached, cache_bin_sz_t *nstashed) { 521 *ncached = n; 526 /* Note that cannot assert ncached + nstashed <= ncached_max (racy). */
|