Lines Matching refs:total_stats
1499 rx_lane_stat_entry_t *total_stats;
1506 total_stats = calloc(1, sizeof (rx_lane_stat_entry_t));
1507 if (total_stats == NULL)
1510 total_stats->rle_index = DLSTAT_INVALID_ENTRY;
1511 total_stats->rle_id = DLSTAT_INVALID_ENTRY;
1516 i_dlstat_sum_stats(&total_stats->rle_stats,
1517 &curr_lane_stats->rle_stats, &total_stats->rle_stats,
1523 free(total_stats);
1527 total_head->dc_statentry = total_stats;
1543 tx_lane_stat_entry_t *total_stats;
1550 total_stats = calloc(1, sizeof (tx_lane_stat_entry_t));
1551 if (total_stats == NULL)
1554 total_stats->tle_index = DLSTAT_INVALID_ENTRY;
1555 total_stats->tle_id = DLSTAT_INVALID_ENTRY;
1560 i_dlstat_sum_stats(&total_stats->tle_stats,
1561 &curr_lane_stats->tle_stats, &total_stats->tle_stats,
1567 free(total_stats);
1571 total_head->dc_statentry = total_stats;
1937 ring_stat_entry_t *total_stats;
1944 total_stats = calloc(1, sizeof (ring_stat_entry_t));
1945 if (total_stats == NULL)
1948 total_stats->re_index = DLSTAT_INVALID_ENTRY;
1953 i_dlstat_sum_stats(&total_stats->re_stats,
1954 &curr_ring_stats->re_stats, &total_stats->re_stats,
1960 free(total_stats);
1964 total_head->dc_statentry = total_stats;
1980 ring_stat_entry_t *total_stats;
1987 total_stats = calloc(1, sizeof (ring_stat_entry_t));
1988 if (total_stats == NULL)
1991 total_stats->re_index = DLSTAT_INVALID_ENTRY;
1996 i_dlstat_sum_stats(&total_stats->re_stats,
1997 &curr_ring_stats->re_stats, &total_stats->re_stats,
2003 free(total_stats);
2007 total_head->dc_statentry = total_stats;
2107 aggr_port_stat_entry_t *total_stats;
2109 total_stats = calloc(1, sizeof (aggr_port_stat_entry_t));
2110 if (total_stats == NULL)
2113 total_stats->ape_portlinkid = DATALINK_INVALID_LINKID;
2120 i_dlstat_sum_stats(&total_stats->ape_stats,
2121 &curr_aggr_port_stats->ape_stats, &total_stats->ape_stats,
2127 free(total_stats);
2131 total_head->dc_statentry = total_stats;
2216 dladm_stat_chain_t *total_stats;
2258 total_stats = dlstat_aggr_total_stats(head);
2259 if (total_stats != NULL) {
2260 total_stats->dc_next = head;
2261 head = total_stats;