Lines Matching refs:ncached
49 tbin->ncached - tbin->low_water + (tbin->low_water in tcache_event_hard()
52 tcache_bin_flush_large(tsd, tbin, binind, tbin->ncached in tcache_event_hard()
69 tbin->low_water = tbin->ncached; in tcache_event_hard()
101 assert(rem <= tbin->ncached); in tcache_bin_flush_small()
105 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) { in tcache_bin_flush_small()
166 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_small()
168 tbin->ncached = rem; in tcache_bin_flush_small()
169 if ((int)tbin->ncached < tbin->low_water) in tcache_bin_flush_small()
170 tbin->low_water = tbin->ncached; in tcache_bin_flush_small()
183 assert(rem <= tbin->ncached); in tcache_bin_flush_large()
187 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) { in tcache_bin_flush_large()
251 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_large()
253 tbin->ncached = rem; in tcache_bin_flush_large()
254 if ((int)tbin->ncached < tbin->low_water) in tcache_bin_flush_large()
255 tbin->low_water = tbin->ncached; in tcache_bin_flush_large()