Searched refs:heap_idx (Results 1 – 2 of 2) sorted by relevance
231 int heap_idx; in rte_malloc_get_socket_stats() local233 heap_idx = malloc_socket_to_heap_id(socket); in rte_malloc_get_socket_stats()234 if (heap_idx < 0) in rte_malloc_get_socket_stats()237 return malloc_heap_get_stats(&mcfg->malloc_heaps[heap_idx], in rte_malloc_get_socket_stats()
118 int msl_idx, heap_idx; in malloc_add_seg() local123 heap_idx = malloc_socket_to_heap_id(msl->socket_id); in malloc_add_seg()124 if (heap_idx < 0) { in malloc_add_seg()128 heap = &mcfg->malloc_heaps[heap_idx]; in malloc_add_seg()