HomeSort by relevance Sort by last modified time
    Searched refs:ncached (Results 1 - 3 of 3) sorted by null

  /external/jemalloc/include/jemalloc/internal/
tcache.h 77 unsigned ncached_max; /* Upper limit on ncached. */
84 unsigned ncached; /* # of cached objects. */ member in struct:tcache_bin_s
89 * avail[-ncached, ... -1] are available items and the lowest item will
271 if (unlikely(tbin->ncached == 0)) {
284 ret = *(tbin->avail - tbin->ncached);
285 tbin->ncached--;
287 if (unlikely((int)tbin->ncached < tbin->low_water))
288 tbin->low_water = tbin->ncached;
428 if (unlikely(tbin->ncached == tbin_info->ncached_max)) {
432 assert(tbin->ncached < tbin_info->ncached_max)
    [all...]
  /external/jemalloc/src/
tcache.c 45 tbin->ncached - tbin->low_water + (tbin->low_water
48 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached
65 tbin->low_water = tbin->ncached;
97 assert(rem <= tbin->ncached);
101 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) {
161 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem *
163 tbin->ncached = rem;
164 if ((int)tbin->ncached < tbin->low_water)
165 tbin->low_water = tbin->ncached;
178 assert(rem <= tbin->ncached);
    [all...]
arena.c     [all...]

Completed in 81 milliseconds