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