Lines Matching refs:tcaches
22 tcaches_t *tcaches;
24 /* Index of first element within tcaches that has never been used. */
27 /* Head of singly linked list tracking available tcaches elements. */
30 /* Protects tcaches{,_past,_avail}. */
346 /* Link into list of extant tcaches. */
366 /* Unlink from list of extant tcaches. */
630 if (tcaches == NULL) {
631 tcaches = base_alloc(tsd_tsdn(tsd), b0get(), sizeof(tcache_t *)
633 if (tcaches == NULL) {
673 *r_ind = (unsigned)(elm - tcaches);
675 elm = &tcaches[tcaches_past];
711 tcache_t *tcache = tcaches_elm_remove(tsd, &tcaches[ind], true);
722 tcaches_t *elm = &tcaches[ind];
742 if (malloc_mutex_init(&tcaches_mtx, "tcaches", WITNESS_RANK_TCACHES,