Lines Matching refs:sz
37 size_t sz; member
105 size_t sz = sizeof(struct rte_graph_cluster_stats); in stats_mem_init() local
121 stats = realloc(NULL, sz); in stats_mem_init()
123 memset(stats, 0, sz); in stats_mem_init()
129 stats->sz = sz; in stats_mem_init()
165 stats = realloc(stats, stats->sz + stats->cluster_node_size); in stats_mem_populate()
171 cluster = RTE_PTR_ADD(stats, stats->sz), in stats_mem_populate()
182 stats->sz += stats->cluster_node_size; in stats_mem_populate()
209 size_t sz; in cluster_add() local
219 sz = sizeof(struct graph *) * cluster->size; in cluster_add()
220 cluster->graphs = realloc(cluster->graphs, sz); in cluster_add()
309 rc = rte_malloc_socket(NULL, stats->sz, 0, stats->socket_id); in rte_graph_cluster_stats_create()
311 rte_memcpy(rc, stats, stats->sz); in rte_graph_cluster_stats_create()