Searched refs:heaps_array (Results 1 – 1 of 1) sorted by relevance
128 heap_t *heaps_array = NULL; in heap_caps_init() local132 heaps_array = multi_heap_malloc(temp_heaps[i].heap, sizeof(heap_t) * num_heaps); in heap_caps_init()133 if (heaps_array != NULL) { in heap_caps_init()138 assert(heaps_array != NULL); /* if NULL, there's not enough free startup heap space */ in heap_caps_init()140 memcpy(heaps_array, temp_heaps, sizeof(heap_t)*num_heaps); in heap_caps_init()144 if (heaps_array[i].heap != NULL) { in heap_caps_init()145 multi_heap_set_lock(heaps_array[i].heap, &heaps_array[i].heap_mux); in heap_caps_init()148 SLIST_INSERT_HEAD(®istered_heaps, &heaps_array[0], next); in heap_caps_init()150 SLIST_INSERT_AFTER(&heaps_array[i-1], &heaps_array[i], next); in heap_caps_init()