Lines Matching refs:count

566 	int	count;
568 for (count = 0; count < entries; count++) {
569 pe[count].net_pe_totbytes = 0;
570 pe[count].net_pe_totibytes = 0;
571 pe[count].net_pe_totobytes = 0;
572 pe[count].net_pe_tottime = 0;
582 int count;
584 for (count = 0; count < nentries; count++) {
585 if (strcmp(pe[count].net_pe_name, nns->net_stat_name) == 0)
588 if (count == nentries)
591 if (pe[count].net_pe_totbytes == 0)
592 pe[count].net_pe_lasttime = lasttime;
594 pe[count].net_pe_totbytes += nns->net_stat_ibytes +
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;
607 int count;
612 for (count = 0; count < entries; count++) {
613 bcopy(pe[count].net_pe_name, &usage.du_name,
615 bcopy(&pe[count].net_pe_lasttime, &usage.du_stime,
617 usage.du_rbytes = pe[count].net_pe_totibytes;
618 usage.du_obytes = pe[count].net_pe_totobytes;
619 tottime = pe[count].net_pe_tottime;
621 ((pe[count].net_pe_totbytes * 8) / tottime) : 0;
622 usage.du_last = (count == entries-1);
633 int count;
637 for (count = 0; count < net_table->net_entries; count++) {
650 int count;
654 for (count = 0; count < net_table->net_entries; count++) {
687 * maintains the running count. When we want to add a stat entry, if it
772 int count;
779 for (count = 0; count < nobjs; count++) {
807 int count;
827 count = 0;
828 while (count < net_table->net_time_entries - 1) {
849 count++;
863 int count;
884 for (count = 0; count < nobjs; count++) {
1195 int count;
1234 for (count = 0; count < nentries; count++) {
1236 pe[count].net_pe_name = nd->net_desc_name;
1319 int count;
1332 for (count = 0; count < net_table->net_entries; count++) {
1350 usage.du_last = (count == net_table->net_entries-1);