Searched refs:ncached (Results 1 – 3 of 3) sorted by relevance
84 unsigned ncached; /* # of cached objects. */ member271 if (unlikely(tbin->ncached == 0)) { 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()288 tbin->low_water = tbin->ncached; in tcache_alloc_easy()428 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_small()432 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_small()433 tbin->ncached++; in tcache_dalloc_small()434 *(tbin->avail - tbin->ncached) = ptr; in tcache_dalloc_small()[all …]
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()65 tbin->low_water = tbin->ncached; in tcache_event_hard()97 assert(rem <= tbin->ncached); in tcache_bin_flush_small()101 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) { in tcache_bin_flush_small()161 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_small()163 tbin->ncached = rem; in tcache_bin_flush_small()164 if ((int)tbin->ncached < tbin->low_water) in tcache_bin_flush_small()165 tbin->low_water = tbin->ncached; in tcache_bin_flush_small()178 assert(rem <= tbin->ncached); in tcache_bin_flush_large()[all …]
2212 assert(tbin->ncached == 0); in arena_tcache_fill_small()2253 tbin->ncached = i; in arena_tcache_fill_small()