Lines Matching refs:socket_stats
1098 struct rte_malloc_socket_stats *socket_stats) in malloc_heap_get_stats() argument
1106 socket_stats->free_count = 0; in malloc_heap_get_stats()
1107 socket_stats->heap_freesz_bytes = 0; in malloc_heap_get_stats()
1108 socket_stats->greatest_free_size = 0; in malloc_heap_get_stats()
1115 socket_stats->free_count++; in malloc_heap_get_stats()
1116 socket_stats->heap_freesz_bytes += elem->size; in malloc_heap_get_stats()
1117 if (elem->size > socket_stats->greatest_free_size) in malloc_heap_get_stats()
1118 socket_stats->greatest_free_size = elem->size; in malloc_heap_get_stats()
1122 socket_stats->heap_totalsz_bytes = heap->total_size; in malloc_heap_get_stats()
1123 socket_stats->heap_allocsz_bytes = (socket_stats->heap_totalsz_bytes - in malloc_heap_get_stats()
1124 socket_stats->heap_freesz_bytes); in malloc_heap_get_stats()
1125 socket_stats->alloc_count = heap->alloc_count; in malloc_heap_get_stats()