tag | line | file | source code |
stats | 138 | drivers/block/cm206.c | #define stats(i) ++cd->stats[st_ ## i]; \ |
stats | 179 | drivers/block/cm206.c | int stats[NR_STATS]; |
stats | 251 | drivers/block/cm206.c | stats(data_ready); |
stats | 265 | drivers/block/cm206.c | stats(fifo_overflow); |
stats | 269 | drivers/block/cm206.c | stats(data_error); |
stats | 273 | drivers/block/cm206.c | stats(crc_error); |
stats | 277 | drivers/block/cm206.c | stats(sync_error); |
stats | 285 | drivers/block/cm206.c | stats(lost_intr); |
stats | 290 | drivers/block/cm206.c | stats(interrupt); |
stats | 332 | drivers/block/cm206.c | stats(write_timeout); |
stats | 344 | drivers/block/cm206.c | stats(receive_timeout); |
stats | 361 | drivers/block/cm206.c | stats(dsb_timeout); |
stats | 372 | drivers/block/cm206.c | stats(echo); |
stats | 426 | drivers/block/cm206.c | stats(echo); |
stats | 437 | drivers/block/cm206.c | stats(stop_0xff); |
stats | 470 | drivers/block/cm206.c | stats(read_timeout); |
stats | 475 | drivers/block/cm206.c | if (read_background(start+READ_AHEAD,1)) stats(read_background); |
stats | 477 | drivers/block/cm206.c | stats(read_restarted); |
stats | 496 | drivers/block/cm206.c | stats(bh); |
stats | 513 | drivers/block/cm206.c | stats(echo); |
stats | 520 | drivers/block/cm206.c | stats(stop_0xff); |
stats | 574 | drivers/block/cm206.c | stats(open); |
stats | 604 | drivers/block/cm206.c | stats(sector_transferred); |
stats | 628 | drivers/block/cm206.c | stats(back_read_timeout); |
stats | 901 | drivers/block/cm206.c | else return cd->stats[arg]; |
stats | 909 | drivers/block/cm206.c | stats(ioctl_multisession); |
stats | 76 | drivers/char/lp.c | struct lp_stats *stats; |
stats | 90 | drivers/char/lp.c | stats = &LP_STAT(minor); |
stats | 91 | drivers/char/lp.c | stats->chars++; |
stats | 101 | drivers/char/lp.c | if (count > stats->maxwait) { |
stats | 105 | drivers/char/lp.c | stats->maxwait = count; |
stats | 108 | drivers/char/lp.c | wait = (count > stats->meanwait)? count - stats->meanwait : |
stats | 109 | drivers/char/lp.c | stats->meanwait - count; |
stats | 110 | drivers/char/lp.c | stats->meanwait = (255*stats->meanwait + count + 128) / 256; |
stats | 111 | drivers/char/lp.c | stats->mdev = ((127 * stats->mdev) + wait + 64) / 128; |
stats | 121 | drivers/char/lp.c | struct lp_stats *stats; |
stats | 128 | drivers/char/lp.c | stats = &LP_STAT(minor); |
stats | 129 | drivers/char/lp.c | stats->chars++; |
stats | 141 | drivers/char/lp.c | if (count > stats->maxwait) |
stats | 142 | drivers/char/lp.c | stats->maxwait = count; |
stats | 144 | drivers/char/lp.c | wait = (count > stats->meanwait)? count - stats->meanwait : |
stats | 145 | drivers/char/lp.c | stats->meanwait - count; |
stats | 146 | drivers/char/lp.c | stats->meanwait = (255*stats->meanwait + count + 128) / 256; |
stats | 147 | drivers/char/lp.c | stats->mdev = ((127 * stats->mdev) + wait + 64) / 128; |
stats | 140 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 349 | drivers/net/3c501.c | lp->stats.tx_errors++; |
stats | 475 | drivers/net/3c501.c | lp->stats.tx_aborted_errors++; |
stats | 485 | drivers/net/3c501.c | lp->stats.collisions++; |
stats | 492 | drivers/net/3c501.c | lp->stats.tx_packets++; |
stats | 517 | drivers/net/3c501.c | lp->stats.rx_missed_errors++; |
stats | 519 | drivers/net/3c501.c | lp->stats.rx_length_errors++; |
stats | 566 | drivers/net/3c501.c | lp->stats.rx_over_errors++; |
stats | 583 | drivers/net/3c501.c | lp->stats.rx_dropped++; |
stats | 598 | drivers/net/3c501.c | lp->stats.rx_packets++; |
stats | 653 | drivers/net/3c501.c | return &lp->stats; |
stats | 195 | drivers/net/3c505.c | struct enet_statistics stats; |
stats | 594 | drivers/net/3c505.c | adapter->stats.rx_dropped++; |
stats | 759 | drivers/net/3c505.c | adapter->stats.rx_packets += adapter->irx_pcb.data.netstat.tot_recv; |
stats | 760 | drivers/net/3c505.c | adapter->stats.tx_packets += adapter->irx_pcb.data.netstat.tot_xmit; |
stats | 761 | drivers/net/3c505.c | adapter->stats.rx_crc_errors += adapter->irx_pcb.data.netstat.err_CRC; |
stats | 762 | drivers/net/3c505.c | adapter->stats.rx_frame_errors += adapter->irx_pcb.data.netstat.err_align; |
stats | 763 | drivers/net/3c505.c | adapter->stats.rx_fifo_errors += adapter->irx_pcb.data.netstat.err_ovrrun; |
stats | 1089 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1103 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1108 | drivers/net/3c505.c | return &adapter->stats; |
stats | 1262 | drivers/net/3c505.c | memset(&(adapter->stats), 0, sizeof(struct enet_statistics)); |
stats | 123 | drivers/net/3c507.c | struct enet_statistics stats; |
stats | 473 | drivers/net/3c507.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 482 | drivers/net/3c507.c | lp->last_restart = lp->stats.tx_packets; |
stats | 557 | drivers/net/3c507.c | lp->stats.tx_packets++; |
stats | 558 | drivers/net/3c507.c | lp->stats.collisions += tx_status & 0xf; |
stats | 562 | drivers/net/3c507.c | lp->stats.tx_errors++; |
stats | 563 | drivers/net/3c507.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 564 | drivers/net/3c507.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 565 | drivers/net/3c507.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 566 | drivers/net/3c507.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 659 | drivers/net/3c507.c | return &lp->stats; |
stats | 840 | drivers/net/3c507.c | lp->stats.rx_errors++; |
stats | 841 | drivers/net/3c507.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 842 | drivers/net/3c507.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 843 | drivers/net/3c507.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 844 | drivers/net/3c507.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 845 | drivers/net/3c507.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 854 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 866 | drivers/net/3c507.c | lp->stats.rx_packets++; |
stats | 100 | drivers/net/3c509.c | struct enet_statistics stats; |
stats | 464 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 544 | drivers/net/3c509.c | return &lp->stats; |
stats | 562 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 563 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 565 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 566 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 567 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 568 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 593 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 595 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 596 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 597 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 598 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 599 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 600 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 621 | drivers/net/3c509.c | lp->stats.rx_packets++; |
stats | 627 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 168 | drivers/net/apricot.c | struct enet_statistics stats; |
stats | 352 | drivers/net/apricot.c | lp->stats.rx_dropped++; |
stats | 361 | drivers/net/apricot.c | lp->stats.rx_packets++; |
stats | 367 | drivers/net/apricot.c | lp->stats.rx_errors++; |
stats | 368 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
stats | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
stats | 370 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
stats | 371 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 372 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
stats | 373 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
stats | 374 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
stats | 415 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 416 | drivers/net/apricot.c | lp->stats.tx_aborted_errors++; |
stats | 591 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 593 | drivers/net/apricot.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 605 | drivers/net/apricot.c | lp->last_restart = lp->stats.tx_packets; |
stats | 637 | drivers/net/apricot.c | lp->stats.tx_dropped++; |
stats | 659 | drivers/net/apricot.c | lp->stats.tx_packets++; |
stats | 823 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 824 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
stats | 825 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 826 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
stats | 827 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
stats | 828 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
stats | 962 | drivers/net/apricot.c | return &lp->stats; |
stats | 391 | drivers/net/arcnet.c | struct enet_statistics stats; |
stats | 1086 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1099 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1136 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1253 | drivers/net/arcnet.c | lp->stats.tx_packets++; |
stats | 1655 | drivers/net/arcnet.c | lp->stats.tx_carrier_errors++; |
stats | 1698 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1817 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 1930 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1931 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 1940 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 1986 | drivers/net/arcnet.c | lp->stats.rx_frame_errors++; |
stats | 2006 | drivers/net/arcnet.c | lp->stats.rx_packets++; |
stats | 2039 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 2040 | drivers/net/arcnet.c | lp->stats.rx_fifo_errors++; |
stats | 2053 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 2054 | drivers/net/arcnet.c | lp->stats.rx_over_errors++; |
stats | 2066 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2076 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2106 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2127 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 2128 | drivers/net/arcnet.c | lp->stats.rx_fifo_errors++; |
stats | 2173 | drivers/net/arcnet.c | lp->stats.rx_packets++; |
stats | 2195 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2223 | drivers/net/arcnet.c | lp->stats.rx_packets++; |
stats | 2243 | drivers/net/arcnet.c | return &lp->stats; |
stats | 2424 | drivers/net/arcnet.c | lp->stats.rx_frame_errors++; |
stats | 75 | drivers/net/at1700.c | struct enet_statistics stats; |
stats | 389 | drivers/net/at1700.c | lp->stats.tx_errors++; |
stats | 475 | drivers/net/at1700.c | lp->stats.tx_packets++; |
stats | 520 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 521 | drivers/net/at1700.c | if (status & 0x08) lp->stats.rx_length_errors++; |
stats | 522 | drivers/net/at1700.c | if (status & 0x04) lp->stats.rx_frame_errors++; |
stats | 523 | drivers/net/at1700.c | if (status & 0x02) lp->stats.rx_crc_errors++; |
stats | 524 | drivers/net/at1700.c | if (status & 0x01) lp->stats.rx_over_errors++; |
stats | 535 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 545 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 554 | drivers/net/at1700.c | lp->stats.rx_packets++; |
stats | 613 | drivers/net/at1700.c | return &lp->stats; |
stats | 430 | drivers/net/atp.c | lp->stats.tx_errors++; |
stats | 524 | drivers/net/atp.c | lp->stats.rx_over_errors++; |
stats | 544 | drivers/net/atp.c | lp->stats.collisions++; |
stats | 546 | drivers/net/atp.c | lp->stats.tx_aborted_errors++; |
stats | 555 | drivers/net/atp.c | lp->stats.tx_packets++; |
stats | 574 | drivers/net/atp.c | lp->stats.rx_missed_errors++; |
stats | 627 | drivers/net/atp.c | lp->stats.tx_errors++; |
stats | 629 | drivers/net/atp.c | lp->stats.tx_dropped++; |
stats | 631 | drivers/net/atp.c | lp->stats.collisions++; |
stats | 633 | drivers/net/atp.c | lp->stats.rx_errors++; |
stats | 663 | drivers/net/atp.c | lp->stats.rx_errors++; |
stats | 678 | drivers/net/atp.c | lp->stats.rx_dropped++; |
stats | 696 | drivers/net/atp.c | lp->stats.rx_packets++; |
stats | 754 | drivers/net/atp.c | return &lp->stats; |
stats | 7 | drivers/net/atp.h | struct enet_statistics stats; |
stats | 364 | drivers/net/de4x5.c | struct enet_statistics stats; /* Public stats */ |
stats | 1150 | drivers/net/de4x5.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1151 | drivers/net/de4x5.c | if (status & (RD_RF | RD_TL)) lp->stats.rx_frame_errors++; |
stats | 1152 | drivers/net/de4x5.c | if (status & RD_CE) lp->stats.rx_crc_errors++; |
stats | 1153 | drivers/net/de4x5.c | if (status & RD_OF) lp->stats.rx_fifo_errors++; |
stats | 1175 | drivers/net/de4x5.c | lp->stats.rx_packets++; |
stats | 1200 | drivers/net/de4x5.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1239 | drivers/net/de4x5.c | lp->stats.tx_errors++; |
stats | 1240 | drivers/net/de4x5.c | if (status & TD_NC) lp->stats.tx_carrier_errors++; |
stats | 1241 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.tx_window_errors++; |
stats | 1242 | drivers/net/de4x5.c | if (status & TD_UF) lp->stats.tx_fifo_errors++; |
stats | 1243 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.collisions++; |
stats | 1245 | drivers/net/de4x5.c | if (status & TD_DE) lp->stats.tx_aborted_errors++; |
stats | 1257 | drivers/net/de4x5.c | lp->stats.tx_packets++; |
stats | 1364 | drivers/net/de4x5.c | lp->stats.rx_missed_errors = (int) (inl(DE4X5_MFC) & (MFC_OVFL | MFC_CNTR)); |
stats | 1366 | drivers/net/de4x5.c | return &lp->stats; |
stats | 337 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 939 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 940 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 941 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 942 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 943 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 972 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 996 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1035 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1036 | drivers/net/depca.c | if (status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1037 | drivers/net/depca.c | if (status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1038 | drivers/net/depca.c | if (status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1039 | drivers/net/depca.c | if (status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1046 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1048 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1156 | drivers/net/depca.c | return &lp->stats; |
stats | 112 | drivers/net/dummy.c | struct enet_statistics *stats; |
stats | 121 | drivers/net/dummy.c | stats = (struct enet_statistics *)dev->priv; |
stats | 122 | drivers/net/dummy.c | stats->tx_packets++; |
stats | 132 | drivers/net/dummy.c | struct enet_statistics *stats = (struct enet_statistics*) dev->priv; |
stats | 133 | drivers/net/dummy.c | return stats; |
stats | 124 | drivers/net/eepro.c | struct enet_statistics stats; |
stats | 621 | drivers/net/eepro.c | lp->stats.tx_errors++; |
stats | 779 | drivers/net/eepro.c | return &lp->stats; |
stats | 1049 | drivers/net/eepro.c | lp->stats.rx_dropped++; |
stats | 1059 | drivers/net/eepro.c | lp->stats.rx_packets++; |
stats | 1063 | drivers/net/eepro.c | lp->stats.rx_errors++; |
stats | 1065 | drivers/net/eepro.c | lp->stats.rx_over_errors++; |
stats | 1067 | drivers/net/eepro.c | lp->stats.rx_frame_errors++; |
stats | 1069 | drivers/net/eepro.c | lp->stats.rx_crc_errors++; |
stats | 1074 | drivers/net/eepro.c | lp->stats.rx_length_errors++; |
stats | 1114 | drivers/net/eepro.c | lp->stats.tx_packets++; |
stats | 1116 | drivers/net/eepro.c | lp->stats.tx_errors++; |
stats | 1118 | drivers/net/eepro.c | lp->stats.tx_carrier_errors++; |
stats | 1123 | drivers/net/eepro.c | lp->stats.collisions += (xmt_status & 0x000f); |
stats | 1125 | drivers/net/eepro.c | lp->stats.tx_heartbeat_errors++; |
stats | 99 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 470 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 472 | drivers/net/eexpress.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 481 | drivers/net/eexpress.c | lp->last_restart = lp->stats.tx_packets; |
stats | 513 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 556 | drivers/net/eexpress.c | lp->stats.tx_packets++; |
stats | 557 | drivers/net/eexpress.c | lp->stats.collisions += tx_status & 0xf; |
stats | 561 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 562 | drivers/net/eexpress.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 563 | drivers/net/eexpress.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 564 | drivers/net/eexpress.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 565 | drivers/net/eexpress.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 608 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 677 | drivers/net/eexpress.c | return &lp->stats; |
stats | 933 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 934 | drivers/net/eexpress.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 935 | drivers/net/eexpress.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 936 | drivers/net/eexpress.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 937 | drivers/net/eexpress.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 938 | drivers/net/eexpress.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 947 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 959 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 227 | drivers/net/eql.c | eql->stats = kmalloc (sizeof (struct enet_statistics), GFP_KERNEL); |
stats | 228 | drivers/net/eql.c | if (eql->stats == NULL) { |
stats | 233 | drivers/net/eql.c | memset (eql->stats, 0, sizeof (struct enet_statistics)); |
stats | 390 | drivers/net/eql.c | eql->stats->tx_packets++; |
stats | 398 | drivers/net/eql.c | eql->stats->tx_dropped++; |
stats | 411 | drivers/net/eql.c | return eql->stats; |
stats | 264 | drivers/net/ewrk3.c | struct enet_statistics stats; /* Public stats */ |
stats | 1033 | drivers/net/ewrk3.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1034 | drivers/net/ewrk3.c | if (rx_status & DBE) lp->stats.rx_frame_errors++; |
stats | 1035 | drivers/net/ewrk3.c | if (rx_status & CRC) lp->stats.rx_crc_errors++; |
stats | 1036 | drivers/net/ewrk3.c | if (rx_status & PLL) lp->stats.rx_fifo_errors++; |
stats | 1066 | drivers/net/ewrk3.c | lp->stats.rx_packets++; |
stats | 1091 | drivers/net/ewrk3.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1130 | drivers/net/ewrk3.c | lp->stats.tx_errors++; |
stats | 1131 | drivers/net/ewrk3.c | if (tx_status & MAC_NCL) lp->stats.tx_carrier_errors++; |
stats | 1132 | drivers/net/ewrk3.c | if (tx_status & MAC_LCL) lp->stats.tx_window_errors++; |
stats | 1141 | drivers/net/ewrk3.c | lp->stats.collisions++; |
stats | 1147 | drivers/net/ewrk3.c | lp->stats.tx_packets++; |
stats | 1207 | drivers/net/ewrk3.c | return &lp->stats; |
stats | 156 | drivers/net/hp100.c | struct enet_statistics stats; |
stats | 697 | drivers/net/hp100.c | lp -> stats.tx_packets++; |
stats | 769 | drivers/net/hp100.c | lp -> stats.rx_dropped++; |
stats | 788 | drivers/net/hp100.c | lp -> stats.rx_packets++; |
stats | 799 | drivers/net/hp100.c | lp -> stats.multicast++; break; |
stats | 818 | drivers/net/hp100.c | return &((struct hp100_private *)dev -> priv) -> stats; |
stats | 829 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 830 | drivers/net/hp100.c | lp -> stats.rx_over_errors += val; |
stats | 832 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 833 | drivers/net/hp100.c | lp -> stats.rx_crc_errors += val; |
stats | 835 | drivers/net/hp100.c | lp -> stats.tx_errors += val; |
stats | 836 | drivers/net/hp100.c | lp -> stats.tx_aborted_errors += val; |
stats | 204 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 729 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 886 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 887 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 888 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 889 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 892 | drivers/net/lance.c | lp->stats.tx_fifo_errors++; |
stats | 901 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 902 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 934 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 935 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
stats | 981 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 982 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 983 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 984 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 985 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 1000 | drivers/net/lance.c | lp->stats.rx_dropped++; |
stats | 1014 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 1041 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1076 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1081 | drivers/net/lance.c | return &lp->stats; |
stats | 50 | drivers/net/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 62 | drivers/net/loopback.c | stats->tx_errors++; |
stats | 104 | drivers/net/loopback.c | stats->tx_packets++; |
stats | 105 | drivers/net/loopback.c | stats->rx_packets++; |
stats | 180 | drivers/net/ni52.c | struct enet_statistics stats; |
stats | 813 | drivers/net/ni52.c | p->stats.rx_packets++; |
stats | 816 | drivers/net/ni52.c | p->stats.rx_dropped++; |
stats | 821 | drivers/net/ni52.c | p->stats.rx_dropped++; |
stats | 827 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 845 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 874 | drivers/net/ni52.c | p->stats.tx_packets++; |
stats | 875 | drivers/net/ni52.c | p->stats.collisions += (status & TCMD_MAXCOLLMASK); |
stats | 879 | drivers/net/ni52.c | p->stats.tx_errors++; |
stats | 882 | drivers/net/ni52.c | p->stats.collisions++; |
stats | 885 | drivers/net/ni52.c | p->stats.tx_carrier_errors++; |
stats | 891 | drivers/net/ni52.c | p->stats.tx_fifo_errors++; |
stats | 896 | drivers/net/ni52.c | p->stats.collisions += 16; |
stats | 1068 | drivers/net/ni52.c | p->stats.rx_crc_errors += crc; |
stats | 1069 | drivers/net/ni52.c | p->stats.rx_fifo_errors += ovrn; |
stats | 1070 | drivers/net/ni52.c | p->stats.rx_frame_errors += aln; |
stats | 1071 | drivers/net/ni52.c | p->stats.rx_dropped += rsc; |
stats | 1073 | drivers/net/ni52.c | return &p->stats; |
stats | 137 | drivers/net/ni65.c | struct enet_statistics stats; |
stats | 420 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 422 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 474 | drivers/net/ni65.c | p->stats.tx_aborted_errors++; |
stats | 476 | drivers/net/ni65.c | p->stats.tx_carrier_errors++; |
stats | 477 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 481 | drivers/net/ni65.c | p->stats.tx_packets++; |
stats | 510 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 511 | drivers/net/ni65.c | p->stats.rx_length_errors++; |
stats | 519 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 520 | drivers/net/ni65.c | if(rmdstat & RCV_FRAM) p->stats.rx_frame_errors++; |
stats | 521 | drivers/net/ni65.c | if(rmdstat & RCV_OFLO) p->stats.rx_over_errors++; |
stats | 522 | drivers/net/ni65.c | if(rmdstat & RCV_CRC) p->stats.rx_crc_errors++; |
stats | 544 | drivers/net/ni65.c | p->stats.rx_packets++; |
stats | 552 | drivers/net/ni65.c | p->stats.rx_dropped++; |
stats | 635 | drivers/net/ni65.c | return &((struct priv *) dev->priv)->stats; |
stats | 215 | drivers/net/pi2.c | lp->stats.tx_packets++; |
stats | 533 | drivers/net/pi2.c | lp->stats.rx_crc_errors++; |
stats | 536 | drivers/net/pi2.c | lp->stats.rx_errors++; |
stats | 537 | drivers/net/pi2.c | lp->stats.rx_over_errors++; |
stats | 559 | drivers/net/pi2.c | lp->stats.rx_dropped++; |
stats | 575 | drivers/net/pi2.c | lp->stats.rx_packets++; |
stats | 609 | drivers/net/pi2.c | lp->stats.rx_errors++; |
stats | 610 | drivers/net/pi2.c | lp->stats.rx_over_errors++; |
stats | 634 | drivers/net/pi2.c | lp->stats.rx_crc_errors++; |
stats | 648 | drivers/net/pi2.c | lp->stats.rx_dropped++; |
stats | 662 | drivers/net/pi2.c | lp->stats.rx_packets++; |
stats | 745 | drivers/net/pi2.c | lp->stats.tx_errors++; |
stats | 746 | drivers/net/pi2.c | lp->stats.tx_fifo_errors++; |
stats | 796 | drivers/net/pi2.c | lp->stats.tx_errors++; |
stats | 797 | drivers/net/pi2.c | lp->stats.tx_fifo_errors++; |
stats | 1686 | drivers/net/pi2.c | return &lp->stats; |
stats | 88 | drivers/net/pi2.h | struct netstats stats; /* %%%dp*/ |
stats | 269 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
stats | 350 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct ppp_stats)); |
stats | 634 | drivers/net/ppp.c | sizeof (struct stats)); |
stats | 637 | drivers/net/ppp.c | result = (struct stats *) ifr->ifr_ifru.ifru_data; |
stats | 639 | drivers/net/ppp.c | memcpy_tofs (&result->ppp_stats, &ppp->stats, sizeof (struct ppp_stats)); |
stats | 684 | drivers/net/ppp.c | ppp->stats.sbytes += count; |
stats | 696 | drivers/net/ppp.c | ppp->stats.serrors++; |
stats | 711 | drivers/net/ppp.c | ppp->stats.sbytes += actual; |
stats | 746 | drivers/net/ppp.c | ppp->stats.sbytes += actual; |
stats | 781 | drivers/net/ppp.c | ppp->stats.roverrun++; |
stats | 854 | drivers/net/ppp.c | ppp->stats.rbytes += n; |
stats | 942 | drivers/net/ppp.c | ppp->stats.rbytes += count; |
stats | 1008 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1022 | drivers/net/ppp.c | ppp->stats.runts++; |
stats | 1030 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1065 | drivers/net/ppp.c | ppp->stats.rothers++; |
stats | 1073 | drivers/net/ppp.c | ppp->stats.tossed++; |
stats | 1096 | drivers/net/ppp.c | ppp->stats.runcomp++; |
stats | 1115 | drivers/net/ppp.c | ppp->stats.roverrun++; |
stats | 1122 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1127 | drivers/net/ppp.c | ppp->stats.rcomp++; |
stats | 1133 | drivers/net/ppp.c | ppp->stats.rerrors++; |
stats | 1138 | drivers/net/ppp.c | ppp->stats.runcomp++; |
stats | 1295 | drivers/net/ppp.c | ppp->stats.rgiants++; |
stats | 1310 | drivers/net/ppp.c | ppp->stats.rothers++; |
stats | 1432 | drivers/net/ppp.c | ++ppp->stats.sothers; |
stats | 1560 | drivers/net/ppp.c | memcpy_tofs ((void *) l, &ppp->stats, sizeof (struct ppp_stats)); |
stats | 1789 | drivers/net/ppp.c | ppp->stats.sbusy++; |
stats | 1811 | drivers/net/ppp.c | ++ppp->stats.scomp; |
stats | 1813 | drivers/net/ppp.c | ++ppp->stats.suncomp; |
stats | 1909 | drivers/net/ppp.c | ppp_stats.rx_packets = ppp->stats.rcomp + ppp->stats.runcomp; |
stats | 1910 | drivers/net/ppp.c | ppp_stats.rx_errors = ppp->stats.rerrors; |
stats | 1911 | drivers/net/ppp.c | ppp_stats.rx_dropped = ppp->stats.tossed; |
stats | 1913 | drivers/net/ppp.c | ppp_stats.rx_length_errors = ppp->stats.runts; |
stats | 1914 | drivers/net/ppp.c | ppp_stats.rx_over_errors = ppp->stats.roverrun; |
stats | 1917 | drivers/net/ppp.c | ppp_stats.tx_packets = ppp->stats.scomp + ppp->stats.suncomp; |
stats | 1918 | drivers/net/ppp.c | ppp_stats.tx_errors = ppp->stats.serrors; |
stats | 1921 | drivers/net/ppp.c | ppp_stats.collisions = ppp->stats.sbusy; |
stats | 73 | drivers/net/seeq8005.c | struct enet_statistics stats; |
stats | 457 | drivers/net/seeq8005.c | lp->stats.tx_packets++; |
stats | 527 | drivers/net/seeq8005.c | lp->stats.rx_errors++; |
stats | 528 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_SHORT) lp->stats.rx_frame_errors++; |
stats | 529 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_DRIB) lp->stats.rx_frame_errors++; |
stats | 530 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_OVERSIZE) lp->stats.rx_over_errors++; |
stats | 531 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_CRC_ERR) lp->stats.rx_crc_errors++; |
stats | 543 | drivers/net/seeq8005.c | lp->stats.rx_dropped++; |
stats | 563 | drivers/net/seeq8005.c | lp->stats.rx_packets++; |
stats | 605 | drivers/net/seeq8005.c | return &lp->stats; |
stats | 461 | drivers/net/sk_g16.c | struct enet_statistics stats; /* Device driver statistics */ |
stats | 1352 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1422 | drivers/net/sk_g16.c | p->stats.tx_aborted_errors++; |
stats | 1424 | drivers/net/sk_g16.c | p->stats.tx_window_errors++; |
stats | 1426 | drivers/net/sk_g16.c | p->stats.tx_carrier_errors++; |
stats | 1429 | drivers/net/sk_g16.c | p->stats.tx_fifo_errors++; |
stats | 1439 | drivers/net/sk_g16.c | p->stats.tx_errors++; |
stats | 1457 | drivers/net/sk_g16.c | p->stats.collisions++; |
stats | 1461 | drivers/net/sk_g16.c | p->stats.tx_packets++; |
stats | 1540 | drivers/net/sk_g16.c | p->stats.rx_errors++; /* bad packet received */ |
stats | 1541 | drivers/net/sk_g16.c | p->stats.rx_length_errors++; /* packet to long */ |
stats | 1561 | drivers/net/sk_g16.c | p->stats.rx_errors++; |
stats | 1563 | drivers/net/sk_g16.c | if (rmdstat & RX_FRAM) p->stats.rx_frame_errors++; |
stats | 1564 | drivers/net/sk_g16.c | if (rmdstat & RX_CRC) p->stats.rx_crc_errors++; |
stats | 1588 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1625 | drivers/net/sk_g16.c | p->stats.rx_packets++; |
stats | 1703 | drivers/net/sk_g16.c | return &p->stats; /* Return Device status */ |
stats | 95 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 377 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 407 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 413 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 437 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 438 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 439 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 440 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 441 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 450 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 462 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 514 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 517 | drivers/net/skeleton.c | return &lp->stats; |
stats | 804 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 810 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 812 | drivers/net/slip.c | stats.rx_packets = sl->rx_packets; |
stats | 813 | drivers/net/slip.c | stats.tx_packets = sl->tx_packets; |
stats | 814 | drivers/net/slip.c | stats.rx_dropped = sl->rx_dropped; |
stats | 815 | drivers/net/slip.c | stats.tx_dropped = sl->tx_dropped; |
stats | 816 | drivers/net/slip.c | stats.tx_errors = sl->tx_errors; |
stats | 817 | drivers/net/slip.c | stats.rx_errors = sl->rx_errors; |
stats | 818 | drivers/net/slip.c | stats.rx_over_errors = sl->rx_over_errors; |
stats | 820 | drivers/net/slip.c | stats.rx_fifo_errors = sl->rx_compressed; |
stats | 821 | drivers/net/slip.c | stats.tx_fifo_errors = sl->tx_compressed; |
stats | 822 | drivers/net/slip.c | stats.collisions = sl->tx_misses; |
stats | 825 | drivers/net/slip.c | stats.rx_fifo_errors += comp->sls_i_compressed; |
stats | 826 | drivers/net/slip.c | stats.rx_dropped += comp->sls_i_tossed; |
stats | 827 | drivers/net/slip.c | stats.tx_fifo_errors += comp->sls_o_compressed; |
stats | 828 | drivers/net/slip.c | stats.collisions += comp->sls_o_misses; |
stats | 831 | drivers/net/slip.c | return (&stats); |
stats | 149 | drivers/net/tulip.c | struct enet_statistics stats; |
stats | 412 | drivers/net/tulip.c | tp->stats.tx_errors++; |
stats | 505 | drivers/net/tulip.c | lp->stats.tx_errors++; |
stats | 506 | drivers/net/tulip.c | if (status & 0x4104) lp->stats.tx_aborted_errors++; |
stats | 507 | drivers/net/tulip.c | if (status & 0x0C00) lp->stats.tx_carrier_errors++; |
stats | 508 | drivers/net/tulip.c | if (status & 0x0200) lp->stats.tx_window_errors++; |
stats | 509 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.tx_fifo_errors++; |
stats | 510 | drivers/net/tulip.c | if (status & 0x0080) lp->stats.tx_heartbeat_errors++; |
stats | 512 | drivers/net/tulip.c | if (status & 0x0100) lp->stats.collisions16++; |
stats | 516 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.tx_deferred++; |
stats | 518 | drivers/net/tulip.c | lp->stats.collisions += (status >> 3) & 15; |
stats | 519 | drivers/net/tulip.c | lp->stats.tx_packets++; |
stats | 548 | drivers/net/tulip.c | if (csr5 & 0x0008) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 550 | drivers/net/tulip.c | lp->stats.rx_errors++; |
stats | 551 | drivers/net/tulip.c | lp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 606 | drivers/net/tulip.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 607 | drivers/net/tulip.c | if (status & 0x0890) lp->stats.rx_length_errors++; |
stats | 608 | drivers/net/tulip.c | if (status & 0x0004) lp->stats.rx_frame_errors++; |
stats | 609 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.rx_crc_errors++; |
stats | 610 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.rx_fifo_errors++; |
stats | 626 | drivers/net/tulip.c | lp->stats.rx_dropped++; |
stats | 637 | drivers/net/tulip.c | lp->stats.rx_packets++; |
stats | 665 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 682 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 684 | drivers/net/tulip.c | return &tp->stats; |
stats | 129 | drivers/net/tunnel.c | struct enet_statistics *stats; |
stats | 145 | drivers/net/tunnel.c | stats = (struct enet_statistics *)dev->priv; |
stats | 150 | drivers/net/tunnel.c | stats->tx_errors++; |
stats | 219 | drivers/net/tunnel.c | stats->tx_dropped++; |
stats | 263 | drivers/net/tunnel.c | stats->tx_packets++; |
stats | 56 | drivers/net/wavelan.c | en_stats stats; |
stats | 1531 | drivers/net/wavelan.c | lp->stats.rx_errors++; |
stats | 1538 | drivers/net/wavelan.c | lp->stats.rx_length_errors++; |
stats | 1544 | drivers/net/wavelan.c | lp->stats.rx_over_errors++; |
stats | 1550 | drivers/net/wavelan.c | lp->stats.rx_fifo_errors++; |
stats | 1556 | drivers/net/wavelan.c | lp->stats.rx_frame_errors++; |
stats | 1562 | drivers/net/wavelan.c | lp->stats.rx_crc_errors++; |
stats | 1648 | drivers/net/wavelan.c | lp->stats.rx_dropped++; |
stats | 1686 | drivers/net/wavelan.c | lp->stats.rx_packets++; |
stats | 1755 | drivers/net/wavelan.c | lp->stats.tx_packets++; |
stats | 1757 | drivers/net/wavelan.c | lp->stats.collisions += ncollisions; |
stats | 1765 | drivers/net/wavelan.c | lp->stats.tx_errors++; |
stats | 1768 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1774 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1779 | drivers/net/wavelan.c | lp->stats.tx_fifo_errors++; |
stats | 1784 | drivers/net/wavelan.c | lp->stats.tx_heartbeat_errors++; |
stats | 1790 | drivers/net/wavelan.c | lp->stats.tx_aborted_errors++; |
stats | 2022 | drivers/net/wavelan.c | return &lp->stats; |
stats | 124 | drivers/net/znet.c | struct enet_statistics stats; |
stats | 443 | drivers/net/znet.c | lp->stats.tx_packets++; |
stats | 444 | drivers/net/znet.c | lp->stats.collisions += tx_status & 0xf; |
stats | 446 | drivers/net/znet.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 447 | drivers/net/znet.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 448 | drivers/net/znet.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 449 | drivers/net/znet.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 452 | drivers/net/znet.c | lp->stats.tx_errors++; |
stats | 539 | drivers/net/znet.c | lp->stats.rx_errors++; |
stats | 540 | drivers/net/znet.c | if (status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 541 | drivers/net/znet.c | if (status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 542 | drivers/net/znet.c | if (status & 0x0200) lp->stats.rx_over_errors++; /* Wrong. */ |
stats | 543 | drivers/net/znet.c | if (status & 0x0100) lp->stats.rx_fifo_errors++; |
stats | 544 | drivers/net/znet.c | if (status & 0x0080) lp->stats.rx_length_errors++; |
stats | 546 | drivers/net/znet.c | lp->stats.rx_length_errors++; |
stats | 555 | drivers/net/znet.c | lp->stats.rx_dropped++; |
stats | 575 | drivers/net/znet.c | lp->stats.rx_packets++; |
stats | 623 | drivers/net/znet.c | return &lp->stats; |
stats | 57 | include/linux/if_eql.h | struct enet_statistics *stats; |
stats | 228 | include/linux/if_ppp.h | struct ppp_stats stats; /* statistic information */ |
stats | 89 | include/linux/lp.h | #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */ |
stats | 114 | include/linux/lp.h | struct lp_stats stats; |
stats | 889 | net/core/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 892 | net/core/dev.c | if (stats) |
stats | 895 | net/core/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 896 | net/core/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 897 | net/core/dev.c | stats->rx_fifo_errors, |
stats | 898 | net/core/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 899 | net/core/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 900 | net/core/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 901 | net/core/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 902 | net/core/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 903 | net/core/dev.c | + stats->tx_window_errors + stats->tx_heartbeat_errors); |
stats | 55 | net/netrom/nr_dev.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 59 | net/netrom/nr_dev.c | stats->rx_errors++; |
stats | 63 | net/netrom/nr_dev.c | stats->rx_packets++; |
stats | 110 | net/netrom/nr_dev.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 133 | net/netrom/nr_dev.c | stats->tx_errors++; |
stats | 136 | net/netrom/nr_dev.c | stats->tx_packets++; |
stats | 166 | net/netrom/nr_dev.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 180 | net/netrom/nr_dev.c | stats->tx_errors++; |
stats | 190 | net/netrom/nr_dev.c | stats->tx_errors++; |