Lines Matching defs:stat_head
2395 dladm_stat_chain_t *stat_head = NULL;
2445 stat_head = calloc(1, sizeof (dladm_stat_chain_t));
2446 if (stat_head == NULL)
2449 stat_head->dc_statentry = ring_stats;
2450 stat_head->dc_next = NULL;
2455 (void) strlcpy(stat_head->dc_statheader, statheader,
2456 sizeof (stat_head->dc_statheader));
2461 if (stat_head == NULL)
2463 return (stat_head);
3166 i_walk_dlstat_chain(dladm_stat_chain_t *stat_head, dladm_stat_type_t stattype)
3176 for (curr = stat_head; curr != NULL; curr = curr->dc_next) {
3206 dladm_stat_chain_t *stat_head;
3210 stat_head = dladm_link_stat_query(dh, linkid, stattype);
3211 if (stat_head == NULL)
3218 nvstat_head = i_walk_dlstat_chain(stat_head, stattype);
3220 /* Free stat_head */
3221 dladm_link_stat_free(stat_head);