Lines Matching defs:heap
201 uint64_t page_sz, int n_segs, int socket_id, bool heap)
213 msl->heap = heap;
224 int n_segs, int socket_id, int type_msl_idx, bool heap)
232 msl, name, page_sz, n_segs, socket_id, heap);
1124 /* Telemetry callback handler to return heap stats for requested heap id. */
1131 struct malloc_heap *heap;
1139 /* Get the heap stats of user provided heap id */
1140 heap = &mcfg->malloc_heaps[heap_id];
1141 malloc_heap_get_stats(heap, &sock_stats);
1145 rte_tel_data_add_dict_string(d, "Name", heap->name);
1160 /* Telemetry callback handler to list the heap ids setup. */
1173 struct malloc_heap *heap = &mcfg->malloc_heaps[heap_id];
1175 malloc_heap_get_stats(heap, &sock_stats);
1452 struct malloc_heap *heap;
1492 heap = &mcfg->malloc_heaps[heap_id];
1493 rte_spinlock_lock(&heap->lock);
1495 elem = heap->first;
1507 rte_spinlock_unlock(&heap->lock);
1522 struct malloc_heap *heap;
1571 heap = &mcfg->malloc_heaps[heap_id];
1572 rte_spinlock_lock(&heap->lock);
1574 elem = heap->first;
1627 rte_spinlock_unlock(&heap->lock);
1644 "List of heap index setup. Takes no parameters");
1647 "Returns malloc heap stats. Parameters: int heap_id");
1661 "Returns array of heap element IDs. Parameters: int heap_id, int memseg_list_id, int memseg_id");