Lines Matching refs:ncached
59 tbin->ncached - tbin->low_water + (tbin->low_water in tcache_event_hard()
71 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard()
83 tbin->low_water = tbin->ncached; in tcache_event_hard()
113 assert((cache_bin_sz_t)rem <= tbin->ncached); in tcache_bin_flush_small()
117 unsigned nflush = tbin->ncached - rem; in tcache_bin_flush_small()
188 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_small()
190 tbin->ncached = rem; in tcache_bin_flush_small()
191 if (tbin->ncached < tbin->low_water) { in tcache_bin_flush_small()
192 tbin->low_water = tbin->ncached; in tcache_bin_flush_small()
204 assert((cache_bin_sz_t)rem <= tbin->ncached); in tcache_bin_flush_large()
208 unsigned nflush = tbin->ncached - rem; in tcache_bin_flush_large()
292 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_large()
294 tbin->ncached = rem; in tcache_bin_flush_large()
295 if (tbin->ncached < tbin->low_water) { in tcache_bin_flush_large()
296 tbin->low_water = tbin->ncached; in tcache_bin_flush_large()