Lines Matching refs:ncached
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()
182 for (nflush = tbin->ncached - rem; nflush > 0; nflush = ndeferred) { in tcache_bin_flush_large()
245 memmove(tbin->avail - rem, tbin->avail - tbin->ncached, rem * in tcache_bin_flush_large()
247 tbin->ncached = rem; in tcache_bin_flush_large()
248 if ((int)tbin->ncached < tbin->low_water) in tcache_bin_flush_large()
249 tbin->low_water = tbin->ncached; in tcache_bin_flush_large()