Searched refs:arena_stats (Results 1 – 1 of 1) sorted by relevance
/external/jemalloc_new/include/jemalloc/internal/ |
D | arena_stats.h | 98 arena_stats_init(UNUSED tsdn_t *tsdn, arena_stats_t *arena_stats) { in arena_stats_init() argument 101 assert(((char *)arena_stats)[i] == 0); in arena_stats_init() 105 if (malloc_mutex_init(&arena_stats->mtx, "arena_stats", in arena_stats_init() 115 arena_stats_lock(tsdn_t *tsdn, arena_stats_t *arena_stats) { in arena_stats_lock() argument 117 malloc_mutex_lock(tsdn, &arena_stats->mtx); in arena_stats_lock() 122 arena_stats_unlock(tsdn_t *tsdn, arena_stats_t *arena_stats) { in arena_stats_unlock() argument 124 malloc_mutex_unlock(tsdn, &arena_stats->mtx); in arena_stats_unlock() 129 arena_stats_read_u64(tsdn_t *tsdn, arena_stats_t *arena_stats, in arena_stats_read_u64() argument 134 malloc_mutex_assert_owner(tsdn, &arena_stats->mtx); in arena_stats_read_u64() 140 arena_stats_add_u64(tsdn_t *tsdn, arena_stats_t *arena_stats, in arena_stats_add_u64() argument [all …]
|