Searched refs:tc_idx (Results 1 – 2 of 2) sorted by relevance
3169 tcache_put (mchunkptr chunk, size_t tc_idx) in tcache_put() argument3177 e->next = PROTECT_PTR (&e->next, tcache->entries[tc_idx]); in tcache_put()3178 tcache->entries[tc_idx] = e; in tcache_put()3179 ++(tcache->counts[tc_idx]); in tcache_put()3185 tcache_get (size_t tc_idx) in tcache_get() argument3187 tcache_entry *e = tcache->entries[tc_idx]; in tcache_get()3190 tcache->entries[tc_idx] = REVEAL_PTR (e->next); in tcache_get()3191 --(tcache->counts[tc_idx]); in tcache_get()3298 size_t tc_idx = csize2tidx (tbytes); in __libc_malloc() local3303 if (tc_idx < mp_.tcache_bins in __libc_malloc()[all …]
7379 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]7380 with 0, not tcache->entries[tc_idx].11118 * malloc/malloc.c (_int_free): Validate tc_idx before checking for