Lines Matching defs:nns
579 update_pe(net_plot_entry_t *pe, net_stat_t *nns, int nentries,
585 if (strcmp(pe[count].net_pe_name, nns->net_stat_name) == 0)
594 pe[count].net_pe_totbytes += nns->net_stat_ibytes +
595 nns->net_stat_obytes;
596 pe[count].net_pe_tottime += nns->net_stat_tdiff;
597 pe[count].net_pe_totibytes += nns->net_stat_ibytes;
598 pe[count].net_pe_totobytes += nns->net_stat_obytes;
1046 net_stat_t *nns;
1073 nns = start->my_time_stat;
1076 if (strcmp(resource, nns->net_stat_name) != 0) {
1087 nns = start->my_time_stat;
1092 if (etime != NULL && compare_time(&nns->net_stat_time, &et)
1114 if (nns->net_stat_isref) {
1116 bcopy(&nns->net_stat_name, &usage.du_name,
1118 bcopy(&nns->net_stat_ctime, &usage.du_stime,
1128 last_time = nns->net_stat_ctime;
1133 ns = nns;
1190 net_stat_t *ns = NULL, *nns;
1249 nns = start->my_time_stat;
1254 if (compare_time(&nns->net_stat_time, t1) ==
1258 compare_time(&nns->net_stat_time, &et) ==
1269 t1 = &nns->net_stat_time;
1289 if (nns->net_stat_isref) {
1296 update_pe(pe, nns, nentries, &pentries, last_time);
1298 ns = nns;
1369 net_stat_t *nns;
1388 nns = start->my_time_stat;
1392 if (strcmp(resource, nns->net_stat_name) != 0) {
1404 nns = start->my_time_stat;
1409 compare_date(&nns->net_stat_time, lasttime) ==
1412 (void) strlcpy(usage.du_name, nns->net_stat_name,
1414 bcopy(&nns->net_stat_ctime, &usage.du_stime,
1417 lasttime = &nns->net_stat_time;