Lines Matching refs:total_head
1497 dladm_stat_chain_t *total_head = NULL; in dlstat_rx_lane_total_stats() local
1521 total_head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_rx_lane_total_stats()
1522 if (total_head == NULL) { in dlstat_rx_lane_total_stats()
1527 total_head->dc_statentry = total_stats; in dlstat_rx_lane_total_stats()
1528 (void) strlcpy(total_head->dc_statheader, "mac_rx_lane_total", in dlstat_rx_lane_total_stats()
1529 sizeof (total_head->dc_statheader)); in dlstat_rx_lane_total_stats()
1530 total_head->dc_next = NULL; in dlstat_rx_lane_total_stats()
1534 return (total_head); in dlstat_rx_lane_total_stats()
1541 dladm_stat_chain_t *total_head = NULL; in dlstat_tx_lane_total_stats() local
1565 total_head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_tx_lane_total_stats()
1566 if (total_head == NULL) { in dlstat_tx_lane_total_stats()
1571 total_head->dc_statentry = total_stats; in dlstat_tx_lane_total_stats()
1572 (void) strlcpy(total_head->dc_statheader, "mac_tx_lane_total", in dlstat_tx_lane_total_stats()
1573 sizeof (total_head->dc_statheader)); in dlstat_tx_lane_total_stats()
1574 total_head->dc_next = NULL; in dlstat_tx_lane_total_stats()
1578 return (total_head); in dlstat_tx_lane_total_stats()
1935 dladm_stat_chain_t *total_head = NULL; in dlstat_rx_ring_total_stats() local
1958 total_head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_rx_ring_total_stats()
1959 if (total_head == NULL) { in dlstat_rx_ring_total_stats()
1964 total_head->dc_statentry = total_stats; in dlstat_rx_ring_total_stats()
1965 (void) strlcpy(total_head->dc_statheader, "mac_rx_ring_total", in dlstat_rx_ring_total_stats()
1966 sizeof (total_head->dc_statheader)); in dlstat_rx_ring_total_stats()
1967 total_head->dc_next = NULL; in dlstat_rx_ring_total_stats()
1971 return (total_head); in dlstat_rx_ring_total_stats()
1978 dladm_stat_chain_t *total_head = NULL; in dlstat_tx_ring_total_stats() local
2001 total_head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_tx_ring_total_stats()
2002 if (total_head == NULL) { in dlstat_tx_ring_total_stats()
2007 total_head->dc_statentry = total_stats; in dlstat_tx_ring_total_stats()
2008 (void) strlcpy(total_head->dc_statheader, "mac_tx_ring_total", in dlstat_tx_ring_total_stats()
2009 sizeof (total_head->dc_statheader)); in dlstat_tx_ring_total_stats()
2010 total_head->dc_next = NULL; in dlstat_tx_ring_total_stats()
2014 return (total_head); in dlstat_tx_ring_total_stats()
2106 dladm_stat_chain_t *total_head; in dlstat_aggr_total_stats() local
2125 total_head = malloc(sizeof (dladm_stat_chain_t)); in dlstat_aggr_total_stats()
2126 if (total_head == NULL) { in dlstat_aggr_total_stats()
2131 total_head->dc_statentry = total_stats; in dlstat_aggr_total_stats()
2132 total_head->dc_next = NULL; in dlstat_aggr_total_stats()
2135 return (total_head); in dlstat_aggr_total_stats()