Lines Matching refs:ncached
84 unsigned ncached; /* # of cached objects. */ member
271 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()
458 if (unlikely(tbin->ncached == tbin_info->ncached_max)) { in tcache_dalloc_large()
462 assert(tbin->ncached < tbin_info->ncached_max); in tcache_dalloc_large()
463 tbin->ncached++; in tcache_dalloc_large()
464 *(tbin->avail - tbin->ncached) = ptr; in tcache_dalloc_large()