Lines Matching refs:aidx
56 struct mallinfo __mallinfo_arena_info(size_t aidx) { in __mallinfo_arena_info() argument
61 if (aidx < narenas_auto) { in __mallinfo_arena_info()
62 if (arenas[aidx] != NULL) { in __mallinfo_arena_info()
63 malloc_mutex_lock(TSDN_NULL, &arenas[aidx]->lock); in __mallinfo_arena_info()
64 mi.hblkhd = arenas[aidx]->stats.mapped; in __mallinfo_arena_info()
65 mi.ordblks = arenas[aidx]->stats.allocated_large; in __mallinfo_arena_info()
66 mi.uordblks = arenas[aidx]->stats.allocated_huge; in __mallinfo_arena_info()
67 malloc_mutex_unlock(TSDN_NULL, &arenas[aidx]->lock); in __mallinfo_arena_info()
70 arena_bin_t* bin = &arenas[aidx]->bins[j]; in __mallinfo_arena_info()
82 struct mallinfo __mallinfo_bin_info(size_t aidx, size_t bidx) { in __mallinfo_bin_info() argument
87 if (aidx < narenas_auto && bidx < NBINS) { in __mallinfo_bin_info()
88 if (arenas[aidx] != NULL) { in __mallinfo_bin_info()
89 arena_bin_t* bin = &arenas[aidx]->bins[bidx]; in __mallinfo_bin_info()