Searched refs:occupied_bin (Results 1 – 2 of 2) sorted by relevance
100 static malloc_stats_t add_up_chunks(occupied_bin_t *occupied_bin) in add_up_chunks() argument103 for (struct chunk *c = occupied_bin->head; c != NULL; c = c->next_occupied) { in add_up_chunks()116 static malloc_stats_t add_up_chunks_by_threads(occupied_bin_t *occupied_bin, int tid) in add_up_chunks_by_threads() argument119 for (struct chunk *c = occupied_bin->head; c != NULL; c = c->next_occupied) { in add_up_chunks_by_threads()139 occupied_bin_t *occupied_bin = __get_occupied_bin_by_idx(i); in print_threads() local144 for (struct chunk *c = occupied_bin->head; c != NULL; c = c->next_occupied) { in print_threads()151 malloc_stats_t stats = add_up_chunks_by_threads(occupied_bin, min_id); in print_threads()
70 static void occupied_bin_destructor(void *occupied_bin) in occupied_bin_destructor() argument72 internal_free(occupied_bin); in occupied_bin_destructor()130 occupied_bin_t *occupied_bin = __get_current_occupied_bin(); in __push_chunk() local131 lock(occupied_bin->lock); in __push_chunk()133 if (occupied_bin->head != NULL) { in __push_chunk()134 occupied_bin->head->prev_occupied = c; in __push_chunk()135 c->next_occupied = occupied_bin->head; in __push_chunk()137 occupied_bin->tail = c; in __push_chunk()139 occupied_bin->head = c; in __push_chunk()142 unlock(occupied_bin->lock); in __push_chunk()[all …]