tag | line | file | source code |
stats | 83 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 276 | drivers/net/3c501.c | el_status.stats.tx_errors++; |
stats | 378 | drivers/net/3c501.c | el_status.stats.tx_aborted_errors++; |
stats | 385 | drivers/net/3c501.c | el_status.stats.collisions++; |
stats | 389 | drivers/net/3c501.c | el_status.stats.tx_packets++; |
stats | 404 | drivers/net/3c501.c | el_status.stats.rx_missed_errors++; |
stats | 406 | drivers/net/3c501.c | el_status.stats.rx_length_errors++; |
stats | 445 | drivers/net/3c501.c | el_status.stats.rx_over_errors++; |
stats | 455 | drivers/net/3c501.c | el_status.stats.rx_dropped++; |
stats | 471 | drivers/net/3c501.c | lp->stats.rx_dropped++; |
stats | 475 | drivers/net/3c501.c | el_status.stats.rx_packets++; |
stats | 526 | drivers/net/3c501.c | return &el_status.stats; |
stats | 116 | drivers/net/3c507.c | struct enet_statistics stats; |
stats | 476 | drivers/net/3c507.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 485 | drivers/net/3c507.c | lp->last_restart = lp->stats.tx_packets; |
stats | 571 | drivers/net/3c507.c | lp->stats.tx_packets++; |
stats | 572 | drivers/net/3c507.c | lp->stats.collisions += tx_status & 0xf; |
stats | 576 | drivers/net/3c507.c | lp->stats.tx_errors++; |
stats | 577 | drivers/net/3c507.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 578 | drivers/net/3c507.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 579 | drivers/net/3c507.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 580 | drivers/net/3c507.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 669 | drivers/net/3c507.c | return &lp->stats; |
stats | 850 | drivers/net/3c507.c | lp->stats.rx_errors++; |
stats | 851 | drivers/net/3c507.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 852 | drivers/net/3c507.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 853 | drivers/net/3c507.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 854 | drivers/net/3c507.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 855 | drivers/net/3c507.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 866 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 883 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 887 | drivers/net/3c507.c | lp->stats.rx_packets++; |
stats | 70 | drivers/net/3c509.c | struct enet_statistics stats; |
stats | 428 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 506 | drivers/net/3c509.c | return &lp->stats; |
stats | 524 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 525 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 527 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 528 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 529 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 530 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 531 | drivers/net/3c509.c | lp->stats.rx_packets += inb(ioaddr + 7); |
stats | 555 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 557 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 558 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 559 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 560 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 561 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 562 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 613 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 72 | drivers/net/at1700.c | struct enet_statistics stats; |
stats | 395 | drivers/net/at1700.c | lp->stats.tx_errors++; |
stats | 487 | drivers/net/at1700.c | lp->stats.tx_packets++; |
stats | 529 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 530 | drivers/net/at1700.c | if (status & 0x08) lp->stats.rx_length_errors++; |
stats | 531 | drivers/net/at1700.c | if (status & 0x04) lp->stats.rx_frame_errors++; |
stats | 532 | drivers/net/at1700.c | if (status & 0x02) lp->stats.rx_crc_errors++; |
stats | 533 | drivers/net/at1700.c | if (status & 0x01) lp->stats.rx_over_errors++; |
stats | 544 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 552 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 576 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 580 | drivers/net/at1700.c | lp->stats.rx_packets++; |
stats | 637 | drivers/net/at1700.c | return &lp->stats; |
stats | 463 | drivers/net/atp.c | lp->stats.tx_errors++; |
stats | 568 | drivers/net/atp.c | lp->stats.rx_over_errors++; |
stats | 588 | drivers/net/atp.c | lp->stats.collisions++; |
stats | 590 | drivers/net/atp.c | lp->stats.tx_aborted_errors++; |
stats | 599 | drivers/net/atp.c | lp->stats.tx_packets++; |
stats | 618 | drivers/net/atp.c | lp->stats.rx_missed_errors++; |
stats | 667 | drivers/net/atp.c | lp->stats.rx_errors++; |
stats | 683 | drivers/net/atp.c | lp->stats.rx_dropped++; |
stats | 708 | drivers/net/atp.c | lp->stats.rx_dropped++; |
stats | 712 | drivers/net/atp.c | lp->stats.rx_packets++; |
stats | 770 | drivers/net/atp.c | return &lp->stats; |
stats | 7 | drivers/net/atp.h | struct enet_statistics stats; |
stats | 243 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 981 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 982 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 983 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 984 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 985 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 994 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1014 | drivers/net/depca.c | lp->stats.rx_dropped++; |
stats | 1018 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 1062 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1063 | drivers/net/depca.c | if (err_status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1064 | drivers/net/depca.c | if (err_status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1065 | drivers/net/depca.c | if (err_status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1066 | drivers/net/depca.c | if (err_status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1069 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1071 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1160 | drivers/net/depca.c | return &lp->stats; |
stats | 98 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 489 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 491 | drivers/net/eexpress.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 500 | drivers/net/eexpress.c | lp->last_restart = lp->stats.tx_packets; |
stats | 542 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 586 | drivers/net/eexpress.c | lp->stats.tx_packets++; |
stats | 587 | drivers/net/eexpress.c | lp->stats.collisions += tx_status & 0xf; |
stats | 591 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 592 | drivers/net/eexpress.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 593 | drivers/net/eexpress.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 594 | drivers/net/eexpress.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 595 | drivers/net/eexpress.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 638 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 704 | drivers/net/eexpress.c | return &lp->stats; |
stats | 959 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 960 | drivers/net/eexpress.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 961 | drivers/net/eexpress.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 962 | drivers/net/eexpress.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 963 | drivers/net/eexpress.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 964 | drivers/net/eexpress.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 975 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 993 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 997 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 203 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 483 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 636 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 637 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 638 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 639 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 640 | drivers/net/lance.c | if (err_status & 0x4000) lp->stats.tx_fifo_errors++; |
stats | 644 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 645 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 682 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; |
stats | 683 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; |
stats | 715 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 716 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 717 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 718 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 719 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 729 | drivers/net/lance.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 745 | drivers/net/lance.c | lp->stats.rx_dropped++; |
stats | 749 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 772 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 804 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 808 | drivers/net/lance.c | return &lp->stats; |
stats | 91 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 342 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 373 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 379 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 402 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 403 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 404 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 405 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 406 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 415 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 435 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 439 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 489 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 492 | drivers/net/skeleton.c | return &lp->stats; |
stats | 856 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 865 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 867 | drivers/net/slip.c | stats.rx_packets = sl->rpacket; |
stats | 868 | drivers/net/slip.c | stats.rx_over_errors = sl->roverrun; |
stats | 869 | drivers/net/slip.c | stats.tx_packets = sl->spacket; |
stats | 870 | drivers/net/slip.c | stats.tx_dropped = sl->sbusy; |
stats | 871 | drivers/net/slip.c | stats.rx_errors = sl->errors; |
stats | 875 | drivers/net/slip.c | stats.rx_fifo_errors = comp->sls_i_compressed; |
stats | 876 | drivers/net/slip.c | stats.rx_dropped = comp->sls_i_tossed; |
stats | 877 | drivers/net/slip.c | stats.tx_fifo_errors = comp->sls_o_compressed; |
stats | 878 | drivers/net/slip.c | stats.collisions = comp->sls_o_misses; |
stats | 881 | drivers/net/slip.c | return (&stats); |
stats | 776 | net/inet/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 778 | net/inet/dev.c | if (stats) |
stats | 781 | net/inet/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 782 | net/inet/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 783 | net/inet/dev.c | stats->rx_fifo_errors, |
stats | 784 | net/inet/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 785 | net/inet/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 786 | net/inet/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 787 | net/inet/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 788 | net/inet/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 789 | net/inet/dev.c | + stats->tx_window_errors + stats->tx_heartbeat_errors); |
stats | 49 | net/inet/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 58 | net/inet/loopback.c | stats->tx_errors++; |
stats | 70 | net/inet/loopback.c | stats->tx_packets++; |