Lines Matching refs:socket_stats
1029 struct rte_malloc_socket_stats *socket_stats) in malloc_heap_get_stats() argument
1037 socket_stats->free_count = 0; in malloc_heap_get_stats()
1038 socket_stats->heap_freesz_bytes = 0; in malloc_heap_get_stats()
1039 socket_stats->greatest_free_size = 0; in malloc_heap_get_stats()
1046 socket_stats->free_count++; in malloc_heap_get_stats()
1047 socket_stats->heap_freesz_bytes += elem->size; in malloc_heap_get_stats()
1048 if (elem->size > socket_stats->greatest_free_size) in malloc_heap_get_stats()
1049 socket_stats->greatest_free_size = elem->size; in malloc_heap_get_stats()
1053 socket_stats->heap_totalsz_bytes = heap->total_size; in malloc_heap_get_stats()
1054 socket_stats->heap_allocsz_bytes = (socket_stats->heap_totalsz_bytes - in malloc_heap_get_stats()
1055 socket_stats->heap_freesz_bytes); in malloc_heap_get_stats()
1056 socket_stats->alloc_count = heap->alloc_count; in malloc_heap_get_stats()