tag | line | file | source code |
stats | 75 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 242 | drivers/net/3c501.c | el_status.stats.tx_errors++; |
stats | 336 | drivers/net/3c501.c | el_status.stats.tx_aborted_errors++; |
stats | 343 | drivers/net/3c501.c | el_status.stats.collisions++; |
stats | 347 | drivers/net/3c501.c | el_status.stats.tx_packets++; |
stats | 362 | drivers/net/3c501.c | el_status.stats.rx_missed_errors++; |
stats | 364 | drivers/net/3c501.c | el_status.stats.rx_length_errors++; |
stats | 403 | drivers/net/3c501.c | el_status.stats.rx_over_errors++; |
stats | 412 | drivers/net/3c501.c | el_status.stats.rx_dropped++; |
stats | 421 | drivers/net/3c501.c | el_status.stats.rx_packets++; |
stats | 472 | drivers/net/3c501.c | return &el_status.stats; |
stats | 109 | drivers/net/3c507.c | struct enet_statistics stats; |
stats | 444 | drivers/net/3c507.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 453 | drivers/net/3c507.c | lp->last_restart = lp->stats.tx_packets; |
stats | 530 | drivers/net/3c507.c | lp->stats.tx_packets++; |
stats | 531 | drivers/net/3c507.c | lp->stats.collisions += tx_status & 0xf; |
stats | 535 | drivers/net/3c507.c | lp->stats.tx_errors++; |
stats | 536 | drivers/net/3c507.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 537 | drivers/net/3c507.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 538 | drivers/net/3c507.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 539 | drivers/net/3c507.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 628 | drivers/net/3c507.c | return &lp->stats; |
stats | 809 | drivers/net/3c507.c | lp->stats.rx_errors++; |
stats | 810 | drivers/net/3c507.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 811 | drivers/net/3c507.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 812 | drivers/net/3c507.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 813 | drivers/net/3c507.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 814 | drivers/net/3c507.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 823 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 833 | drivers/net/3c507.c | lp->stats.rx_packets++; |
stats | 66 | drivers/net/3c509.c | struct enet_statistics stats; |
stats | 392 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 470 | drivers/net/3c509.c | return &lp->stats; |
stats | 488 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 489 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 491 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 492 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 493 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 494 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 495 | drivers/net/3c509.c | lp->stats.rx_packets += inb(ioaddr + 7); |
stats | 519 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 521 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 522 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 523 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 524 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 525 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 526 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 574 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 66 | drivers/net/at1700.c | struct enet_statistics stats; |
stats | 361 | drivers/net/at1700.c | lp->stats.tx_errors++; |
stats | 444 | drivers/net/at1700.c | lp->stats.tx_packets++; |
stats | 486 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 487 | drivers/net/at1700.c | if (status & 0x08) lp->stats.rx_length_errors++; |
stats | 488 | drivers/net/at1700.c | if (status & 0x04) lp->stats.rx_frame_errors++; |
stats | 489 | drivers/net/at1700.c | if (status & 0x02) lp->stats.rx_crc_errors++; |
stats | 490 | drivers/net/at1700.c | if (status & 0x01) lp->stats.rx_over_errors++; |
stats | 500 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 508 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 525 | drivers/net/at1700.c | lp->stats.rx_packets++; |
stats | 582 | drivers/net/at1700.c | return &lp->stats; |
stats | 425 | drivers/net/atp.c | lp->stats.tx_errors++; |
stats | 521 | drivers/net/atp.c | lp->stats.rx_over_errors++; |
stats | 541 | drivers/net/atp.c | lp->stats.collisions++; |
stats | 543 | drivers/net/atp.c | lp->stats.tx_aborted_errors++; |
stats | 552 | drivers/net/atp.c | lp->stats.tx_packets++; |
stats | 571 | drivers/net/atp.c | lp->stats.rx_missed_errors++; |
stats | 620 | drivers/net/atp.c | lp->stats.rx_errors++; |
stats | 635 | drivers/net/atp.c | lp->stats.rx_dropped++; |
stats | 653 | drivers/net/atp.c | lp->stats.rx_packets++; |
stats | 711 | drivers/net/atp.c | return &lp->stats; |
stats | 7 | drivers/net/atp.h | struct enet_statistics stats; |
stats | 256 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 1023 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1024 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 1025 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 1026 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 1027 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 1035 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1048 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 1096 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1097 | drivers/net/depca.c | if (err_status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1098 | drivers/net/depca.c | if (err_status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1099 | drivers/net/depca.c | if (err_status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1100 | drivers/net/depca.c | if (err_status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1103 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1105 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1194 | drivers/net/depca.c | return &lp->stats; |
stats | 93 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 457 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 459 | drivers/net/eexpress.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 468 | drivers/net/eexpress.c | lp->last_restart = lp->stats.tx_packets; |
stats | 501 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 545 | drivers/net/eexpress.c | lp->stats.tx_packets++; |
stats | 546 | drivers/net/eexpress.c | lp->stats.collisions += tx_status & 0xf; |
stats | 550 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 551 | drivers/net/eexpress.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 552 | drivers/net/eexpress.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 553 | drivers/net/eexpress.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 554 | drivers/net/eexpress.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 597 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 663 | drivers/net/eexpress.c | return &lp->stats; |
stats | 916 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 917 | drivers/net/eexpress.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 918 | drivers/net/eexpress.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 919 | drivers/net/eexpress.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 920 | drivers/net/eexpress.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 921 | drivers/net/eexpress.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 930 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 941 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 197 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 475 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 620 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 621 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 622 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 623 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 624 | drivers/net/lance.c | if (err_status & 0x4000) lp->stats.tx_fifo_errors++; |
stats | 628 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 629 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 666 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; |
stats | 667 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; |
stats | 699 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 700 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 701 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 702 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 703 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 712 | drivers/net/lance.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 721 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 744 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 776 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 780 | drivers/net/lance.c | return &lp->stats; |
stats | 44 | drivers/net/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 53 | drivers/net/loopback.c | stats->tx_errors++; |
stats | 65 | drivers/net/loopback.c | stats->tx_packets++; |
stats | 85 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 300 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 331 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 337 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 360 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 361 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 362 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 363 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 364 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 372 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 385 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 435 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 438 | drivers/net/skeleton.c | return &lp->stats; |
stats | 803 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 812 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 814 | drivers/net/slip.c | stats.rx_packets = sl->rpacket; |
stats | 815 | drivers/net/slip.c | stats.rx_over_errors = sl->roverrun; |
stats | 816 | drivers/net/slip.c | stats.tx_packets = sl->spacket; |
stats | 817 | drivers/net/slip.c | stats.tx_dropped = sl->sbusy; |
stats | 818 | drivers/net/slip.c | stats.rx_errors = sl->errors; |
stats | 822 | drivers/net/slip.c | stats.rx_fifo_errors = comp->sls_i_compressed; |
stats | 823 | drivers/net/slip.c | stats.rx_dropped = comp->sls_i_tossed; |
stats | 824 | drivers/net/slip.c | stats.tx_fifo_errors = comp->sls_o_compressed; |
stats | 825 | drivers/net/slip.c | stats.collisions = comp->sls_o_misses; |
stats | 828 | drivers/net/slip.c | return (&stats); |
stats | 878 | net/inet/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 881 | net/inet/dev.c | if (stats) |
stats | 884 | net/inet/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 885 | net/inet/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 886 | net/inet/dev.c | stats->rx_fifo_errors, |
stats | 887 | net/inet/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 888 | net/inet/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 889 | net/inet/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 890 | net/inet/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 891 | net/inet/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 892 | net/inet/dev.c | + stats->tx_window_errors + stats->tx_heartbeat_errors); |