Home
last modified time | relevance | path

Searched refs:curr_stat (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/flowstat/
H A Dflowstat.c411 flow_stat_t *curr_stat; in query_flow_stats() local
426 curr_stat = dladm_flow_stat_query(flowname); in query_flow_stats()
427 if (curr_stat == NULL) in query_flow_stats()
431 diff_stat = dladm_flow_stat_diff(curr_stat, prev_stat); in query_flow_stats()
437 flow_node->fc_stat = curr_stat; in query_flow_stats()
473 name_value_stat_t *curr_stat; in print_all_stats() local
477 for (curr_stat = stat_entry->nve_stats; curr_stat != NULL; in print_all_stats()
478 curr_stat = curr_stat->nv_nextstat) { in print_all_stats()
479 printf("\t%15s", curr_stat->nv_statname); in print_all_stats()
480 printf("\t%15llu\n", curr_stat->nv_statval); in print_all_stats()
/titanic_41/usr/src/cmd/dlstat/
H A Ddlstat.c1441 dladm_stat_chain_t *curr_stat; in query_link_stats() local
1454 curr_stat = dladm_link_stat_query(dh, linkid, stattype); in query_link_stats()
1455 if (curr_stat == NULL) in query_link_stats()
1459 diff_stat = dladm_link_stat_diffchain(curr_stat, prev_stat, stattype); in query_link_stats()
1465 link_node->lc_statchain[stattype] = curr_stat; in query_link_stats()
1545 name_value_stat_t *curr_stat; in print_all_stats() local
1566 for (curr_stat = stat_entry->nve_stats; curr_stat != NULL; in print_all_stats()
1567 curr_stat = curr_stat->nv_nextstat) { in print_all_stats()
1568 printf("\t%15s", curr_stat->nv_statname); in print_all_stats()
1569 printf("\t\t%15llu\n", curr_stat->nv_statval); in print_all_stats()
/titanic_41/usr/src/lib/libdladm/common/
H A Dlibdlstat.c2853 name_value_stat_t *curr_stat; in i_dlstat_convert_stats() local
2859 curr_stat = calloc(1, sizeof (name_value_stat_t)); in i_dlstat_convert_stats()
2860 if (curr_stat == NULL) in i_dlstat_convert_stats()
2863 (void) strlcpy(curr_stat->nv_statname, stats_list[i].si_name, in i_dlstat_convert_stats()
2864 sizeof (curr_stat->nv_statname)); in i_dlstat_convert_stats()
2865 curr_stat->nv_statval = *val; in i_dlstat_convert_stats()
2866 curr_stat->nv_nextstat = NULL; in i_dlstat_convert_stats()
2869 head_stat = curr_stat; in i_dlstat_convert_stats()
2871 prev_stat->nv_nextstat = curr_stat; in i_dlstat_convert_stats()
2873 prev_stat = curr_stat; in i_dlstat_convert_stats()