Lines Matching defs:szind

110 tcache_gc_item_delay_compute(szind_t szind) {
111 assert(szind < SC_NBINS);
112 size_t sz = sz_index2size(szind);
124 szind_t szind) {
126 assert(szind < SC_NBINS);
128 cache_bin_t *cache_bin = &tcache->bins[szind];
130 &tcache_bin_info[szind]);
132 &tcache_bin_info[szind]);
133 assert(!tcache_slow->bin_refilled[szind]);
136 if (nflush < tcache_slow->bin_flush_delay_items[szind]) {
141 tcache_slow->bin_flush_delay_items[szind] -= nflush_uint8;
144 tcache_slow->bin_flush_delay_items[szind]
145 = tcache_gc_item_delay_compute(szind);
148 tcache_bin_flush_small(tsd, tcache, cache_bin, szind,
155 if ((cache_bin_info_ncached_max(&tcache_bin_info[szind])
156 >> (tcache_slow->lg_fill_div[szind] + 1)) >= 1) {
157 tcache_slow->lg_fill_div[szind]++;
163 szind_t szind) {
165 assert(szind >= SC_NBINS);
166 cache_bin_t *cache_bin = &tcache->bins[szind];
168 &tcache_bin_info[szind]);
170 &tcache_bin_info[szind]);
171 tcache_bin_flush_large(tsd, tcache, cache_bin, szind,
183 szind_t szind = tcache_slow->next_gc_bin;
184 bool is_small = (szind < SC_NBINS);
185 cache_bin_t *cache_bin = &tcache->bins[szind];
187 tcache_bin_flush_stashed(tsd, tcache, cache_bin, szind, is_small);
190 &tcache_bin_info[szind]);
193 tcache_gc_small(tsd, tcache_slow, tcache, szind);
195 tcache_gc_large(tsd, tcache_slow, tcache, szind);
197 } else if (is_small && tcache_slow->bin_refilled[szind]) {
203 if (tcache_slow->lg_fill_div[szind] > 1) {
204 tcache_slow->lg_fill_div[szind]--;
206 tcache_slow->bin_refilled[szind] = false;
256 *szind_sum -= alloc_ctx->szind;
261 tcache_bin_flush_size_check_fail(cache_bin_ptr_array_t *arr, szind_t szind,
266 if (true_szind != szind) {
272 /* input_size */ sz_index2size(szind));
991 tcache_ncached_max_compute(szind_t szind) {
992 if (szind >= SC_NBINS) {
993 assert(szind < nhbins);
996 unsigned slab_nregs = bin_infos[szind].nregs;