tag | line | file | source code |
stats | 129 | drivers/cdrom/cm206.c | #define stats(i) ++cd->stats[st_ ## i]; \ |
stats | 170 | drivers/cdrom/cm206.c | int stats[NR_STATS]; |
stats | 242 | drivers/cdrom/cm206.c | stats(data_ready); |
stats | 256 | drivers/cdrom/cm206.c | stats(fifo_overflow); |
stats | 260 | drivers/cdrom/cm206.c | stats(data_error); |
stats | 264 | drivers/cdrom/cm206.c | stats(crc_error); |
stats | 268 | drivers/cdrom/cm206.c | stats(sync_error); |
stats | 276 | drivers/cdrom/cm206.c | stats(lost_intr); |
stats | 281 | drivers/cdrom/cm206.c | stats(interrupt); |
stats | 323 | drivers/cdrom/cm206.c | stats(write_timeout); |
stats | 335 | drivers/cdrom/cm206.c | stats(receive_timeout); |
stats | 352 | drivers/cdrom/cm206.c | stats(dsb_timeout); |
stats | 363 | drivers/cdrom/cm206.c | stats(echo); |
stats | 417 | drivers/cdrom/cm206.c | stats(echo); |
stats | 428 | drivers/cdrom/cm206.c | stats(stop_0xff); |
stats | 461 | drivers/cdrom/cm206.c | stats(read_timeout); |
stats | 466 | drivers/cdrom/cm206.c | if (read_background(start+READ_AHEAD,1)) stats(read_background); |
stats | 468 | drivers/cdrom/cm206.c | stats(read_restarted); |
stats | 487 | drivers/cdrom/cm206.c | stats(bh); |
stats | 504 | drivers/cdrom/cm206.c | stats(echo); |
stats | 511 | drivers/cdrom/cm206.c | stats(stop_0xff); |
stats | 565 | drivers/cdrom/cm206.c | stats(open); |
stats | 595 | drivers/cdrom/cm206.c | stats(sector_transferred); |
stats | 619 | drivers/cdrom/cm206.c | stats(back_read_timeout); |
stats | 892 | drivers/cdrom/cm206.c | else return cd->stats[arg]; |
stats | 900 | drivers/cdrom/cm206.c | stats(ioctl_multisession); |
stats | 70 | drivers/char/lp.c | struct lp_stats *stats; |
stats | 84 | drivers/char/lp.c | stats = &LP_STAT(minor); |
stats | 85 | drivers/char/lp.c | stats->chars++; |
stats | 95 | drivers/char/lp.c | if (count > stats->maxwait) { |
stats | 99 | drivers/char/lp.c | stats->maxwait = count; |
stats | 102 | drivers/char/lp.c | wait = (count > stats->meanwait)? count - stats->meanwait : |
stats | 103 | drivers/char/lp.c | stats->meanwait - count; |
stats | 104 | drivers/char/lp.c | stats->meanwait = (255*stats->meanwait + count + 128) / 256; |
stats | 105 | drivers/char/lp.c | stats->mdev = ((127 * stats->mdev) + wait + 64) / 128; |
stats | 115 | drivers/char/lp.c | struct lp_stats *stats; |
stats | 122 | drivers/char/lp.c | stats = &LP_STAT(minor); |
stats | 123 | drivers/char/lp.c | stats->chars++; |
stats | 135 | drivers/char/lp.c | if (count > stats->maxwait) |
stats | 136 | drivers/char/lp.c | stats->maxwait = count; |
stats | 138 | drivers/char/lp.c | wait = (count > stats->meanwait)? count - stats->meanwait : |
stats | 139 | drivers/char/lp.c | stats->meanwait - count; |
stats | 140 | drivers/char/lp.c | stats->meanwait = (255*stats->meanwait + count + 128) / 256; |
stats | 141 | drivers/char/lp.c | stats->mdev = ((127 * stats->mdev) + wait + 64) / 128; |
stats | 204 | drivers/isdn/isdn_net.c | lp->stats.tx_packets++; |
stats | 735 | drivers/isdn/isdn_net.c | lp->stats.tx_errors++; |
stats | 866 | drivers/isdn/isdn_net.c | return &lp->stats; |
stats | 934 | drivers/isdn/isdn_net.c | lp->stats.rx_packets++; |
stats | 943 | drivers/isdn/isdn_net.c | lp->stats.rx_packets++; |
stats | 748 | drivers/isdn/isdn_ppp.c | net_dev->local.stats.rx_dropped++; |
stats | 763 | drivers/isdn/isdn_ppp.c | lp->stats.rx_dropped++; |
stats | 779 | drivers/isdn/isdn_ppp.c | net_dev->local.stats.rx_packets++; |
stats | 142 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 396 | drivers/net/3c501.c | lp->stats.tx_errors++; |
stats | 576 | drivers/net/3c501.c | lp->stats.tx_aborted_errors++; |
stats | 593 | drivers/net/3c501.c | lp->stats.collisions++; |
stats | 602 | drivers/net/3c501.c | lp->stats.tx_packets++; |
stats | 627 | drivers/net/3c501.c | lp->stats.rx_missed_errors++; |
stats | 630 | drivers/net/3c501.c | lp->stats.rx_length_errors++; |
stats | 689 | drivers/net/3c501.c | lp->stats.rx_over_errors++; |
stats | 708 | drivers/net/3c501.c | lp->stats.rx_dropped++; |
stats | 723 | drivers/net/3c501.c | lp->stats.rx_packets++; |
stats | 778 | drivers/net/3c501.c | return &lp->stats; |
stats | 192 | drivers/net/3c505.c | struct enet_statistics stats; |
stats | 596 | drivers/net/3c505.c | adapter->stats.rx_dropped++; |
stats | 761 | drivers/net/3c505.c | adapter->stats.rx_packets += adapter->irx_pcb.data.netstat.tot_recv; |
stats | 762 | drivers/net/3c505.c | adapter->stats.tx_packets += adapter->irx_pcb.data.netstat.tot_xmit; |
stats | 763 | drivers/net/3c505.c | adapter->stats.rx_crc_errors += adapter->irx_pcb.data.netstat.err_CRC; |
stats | 764 | drivers/net/3c505.c | adapter->stats.rx_frame_errors += adapter->irx_pcb.data.netstat.err_align; |
stats | 765 | 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 | 1266 | drivers/net/3c505.c | memset(&(adapter->stats), 0, sizeof(struct enet_statistics)); |
stats | 118 | drivers/net/3c507.c | struct enet_statistics stats; |
stats | 468 | drivers/net/3c507.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 477 | drivers/net/3c507.c | lp->last_restart = lp->stats.tx_packets; |
stats | 552 | drivers/net/3c507.c | lp->stats.tx_packets++; |
stats | 553 | drivers/net/3c507.c | lp->stats.collisions += tx_status & 0xf; |
stats | 557 | drivers/net/3c507.c | lp->stats.tx_errors++; |
stats | 558 | drivers/net/3c507.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 559 | drivers/net/3c507.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 560 | drivers/net/3c507.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 561 | drivers/net/3c507.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 652 | drivers/net/3c507.c | return &lp->stats; |
stats | 833 | drivers/net/3c507.c | lp->stats.rx_errors++; |
stats | 834 | drivers/net/3c507.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 835 | drivers/net/3c507.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 836 | drivers/net/3c507.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 837 | drivers/net/3c507.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 838 | drivers/net/3c507.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 847 | drivers/net/3c507.c | lp->stats.rx_dropped++; |
stats | 859 | drivers/net/3c507.c | lp->stats.rx_packets++; |
stats | 98 | drivers/net/3c509.c | struct enet_statistics stats; |
stats | 456 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 536 | drivers/net/3c509.c | return &lp->stats; |
stats | 554 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 555 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 557 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 558 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 559 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 560 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 585 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 587 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 588 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 589 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 590 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 591 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 592 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 613 | drivers/net/3c509.c | lp->stats.rx_packets++; |
stats | 619 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 219 | drivers/net/3c59x.c | struct enet_statistics stats; |
stats | 648 | drivers/net/3c59x.c | vp->stats.tx_errors++; |
stats | 720 | drivers/net/3c59x.c | if (tx_status & 0x04) vp->stats.tx_fifo_errors++; |
stats | 721 | drivers/net/3c59x.c | if (tx_status & 0x38) vp->stats.tx_aborted_errors++; |
stats | 882 | drivers/net/3c59x.c | vp->stats.rx_errors++; |
stats | 883 | drivers/net/3c59x.c | if (rx_error & 0x01) vp->stats.rx_over_errors++; |
stats | 884 | drivers/net/3c59x.c | if (rx_error & 0x02) vp->stats.rx_length_errors++; |
stats | 885 | drivers/net/3c59x.c | if (rx_error & 0x04) vp->stats.rx_frame_errors++; |
stats | 886 | drivers/net/3c59x.c | if (rx_error & 0x08) vp->stats.rx_crc_errors++; |
stats | 887 | drivers/net/3c59x.c | if (rx_error & 0x10) vp->stats.rx_length_errors++; |
stats | 910 | drivers/net/3c59x.c | vp->stats.rx_packets++; |
stats | 916 | drivers/net/3c59x.c | vp->stats.rx_dropped++; |
stats | 981 | drivers/net/3c59x.c | return &vp->stats; |
stats | 998 | drivers/net/3c59x.c | vp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 999 | drivers/net/3c59x.c | vp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 1001 | drivers/net/3c59x.c | vp->stats.collisions += inb(ioaddr + 3); |
stats | 1002 | drivers/net/3c59x.c | vp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 1003 | drivers/net/3c59x.c | vp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 1004 | drivers/net/3c59x.c | vp->stats.tx_packets += inb(ioaddr + 6); |
stats | 1005 | drivers/net/3c59x.c | vp->stats.tx_packets += (inb(ioaddr + 9)&0x30) << 4; |
stats | 165 | drivers/net/apricot.c | struct enet_statistics stats; |
stats | 347 | drivers/net/apricot.c | lp->stats.rx_dropped++; |
stats | 356 | drivers/net/apricot.c | lp->stats.rx_packets++; |
stats | 362 | drivers/net/apricot.c | lp->stats.rx_errors++; |
stats | 363 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
stats | 364 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
stats | 365 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
stats | 366 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 367 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
stats | 368 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
stats | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
stats | 410 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 411 | drivers/net/apricot.c | lp->stats.tx_aborted_errors++; |
stats | 584 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 586 | drivers/net/apricot.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 598 | drivers/net/apricot.c | lp->last_restart = lp->stats.tx_packets; |
stats | 630 | drivers/net/apricot.c | lp->stats.tx_dropped++; |
stats | 652 | drivers/net/apricot.c | lp->stats.tx_packets++; |
stats | 814 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 815 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
stats | 816 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 817 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
stats | 818 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
stats | 819 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
stats | 950 | drivers/net/apricot.c | return &lp->stats; |
stats | 547 | drivers/net/arcnet.c | struct enet_statistics stats; |
stats | 1469 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1476 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1504 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1510 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1511 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 1519 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1536 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1549 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1550 | drivers/net/arcnet.c | lp->stats.tx_fifo_errors++; |
stats | 1562 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1563 | drivers/net/arcnet.c | lp->stats.tx_fifo_errors++; |
stats | 1859 | drivers/net/arcnet.c | lp->stats.tx_packets++; |
stats | 1995 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1996 | drivers/net/arcnet.c | lp->stats.tx_carrier_errors++; |
stats | 2073 | drivers/net/arcnet.c | lp->stats.tx_carrier_errors++; |
stats | 2174 | drivers/net/arcnet.c | lp->stats.rx_packets++; |
stats | 2184 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2231 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2232 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2295 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2296 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2305 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2338 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2351 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2352 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2393 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2394 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2407 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2408 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2420 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2421 | drivers/net/arcnet.c | lp->stats.rx_length_errors++; |
stats | 2430 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2460 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2461 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2473 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2474 | drivers/net/arcnet.c | lp->stats.rx_frame_errors++; |
stats | 2484 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2485 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2546 | drivers/net/arcnet.c | return &lp->stats; |
stats | 2611 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2612 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2665 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2666 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2724 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2725 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2882 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2980 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 3019 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 3070 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 3071 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 3119 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 3120 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 3169 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 3170 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 70 | drivers/net/at1700.c | struct enet_statistics stats; |
stats | 382 | drivers/net/at1700.c | lp->stats.tx_errors++; |
stats | 468 | drivers/net/at1700.c | lp->stats.tx_packets++; |
stats | 513 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 514 | drivers/net/at1700.c | if (status & 0x08) lp->stats.rx_length_errors++; |
stats | 515 | drivers/net/at1700.c | if (status & 0x04) lp->stats.rx_frame_errors++; |
stats | 516 | drivers/net/at1700.c | if (status & 0x02) lp->stats.rx_crc_errors++; |
stats | 517 | drivers/net/at1700.c | if (status & 0x01) lp->stats.rx_over_errors++; |
stats | 528 | drivers/net/at1700.c | lp->stats.rx_errors++; |
stats | 538 | drivers/net/at1700.c | lp->stats.rx_dropped++; |
stats | 547 | drivers/net/at1700.c | lp->stats.rx_packets++; |
stats | 604 | 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 | 205 | drivers/net/bsd_comp.c | static void bsd_comp_stats (void *state, struct compstat *stats); |
stats | 317 | drivers/net/bsd_comp.c | static void bsd_comp_stats (void *state, struct compstat *stats) |
stats | 321 | drivers/net/bsd_comp.c | stats->unc_bytes = db->uncomp_bytes; |
stats | 322 | drivers/net/bsd_comp.c | stats->unc_packets = db->uncomp_count; |
stats | 323 | drivers/net/bsd_comp.c | stats->comp_bytes = db->comp_bytes; |
stats | 324 | drivers/net/bsd_comp.c | stats->comp_packets = db->comp_count; |
stats | 325 | drivers/net/bsd_comp.c | stats->inc_bytes = db->incomp_bytes; |
stats | 326 | drivers/net/bsd_comp.c | stats->inc_packets = db->incomp_count; |
stats | 327 | drivers/net/bsd_comp.c | stats->in_count = db->in_count; |
stats | 328 | drivers/net/bsd_comp.c | stats->bytes_out = db->bytes_out; |
stats | 453 | drivers/net/de4x5.c | struct enet_statistics stats; /* Public stats */ |
stats | 1187 | drivers/net/de4x5.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1188 | drivers/net/de4x5.c | if (status & (RD_RF | RD_TL)) lp->stats.rx_frame_errors++; |
stats | 1189 | drivers/net/de4x5.c | if (status & RD_CE) lp->stats.rx_crc_errors++; |
stats | 1190 | drivers/net/de4x5.c | if (status & RD_OF) lp->stats.rx_fifo_errors++; |
stats | 1191 | drivers/net/de4x5.c | if (status & RD_TL) lp->stats.rx_length_errors++; |
stats | 1203 | drivers/net/de4x5.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1222 | drivers/net/de4x5.c | lp->stats.rx_packets++; |
stats | 1281 | drivers/net/de4x5.c | lp->stats.tx_errors++; |
stats | 1282 | drivers/net/de4x5.c | if (status & TD_NC) lp->stats.tx_carrier_errors++; |
stats | 1283 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.tx_window_errors++; |
stats | 1284 | drivers/net/de4x5.c | if (status & TD_UF) lp->stats.tx_fifo_errors++; |
stats | 1285 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.collisions++; |
stats | 1287 | drivers/net/de4x5.c | if (status & TD_DE) lp->stats.tx_aborted_errors++; |
stats | 1296 | drivers/net/de4x5.c | lp->stats.tx_packets++; |
stats | 1384 | drivers/net/de4x5.c | lp->stats.rx_missed_errors = (int)(inl(DE4X5_MFC) & (MFC_OVFL | MFC_CNTR)); |
stats | 1386 | drivers/net/de4x5.c | return &lp->stats; |
stats | 352 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 905 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 906 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 907 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 908 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 909 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 938 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 965 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1004 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1005 | drivers/net/depca.c | if (status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1006 | drivers/net/depca.c | if (status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1007 | drivers/net/depca.c | if (status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1008 | drivers/net/depca.c | if (status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1015 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1017 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1125 | drivers/net/depca.c | return &lp->stats; |
stats | 108 | drivers/net/dummy.c | struct enet_statistics *stats; |
stats | 117 | drivers/net/dummy.c | stats = (struct enet_statistics *)dev->priv; |
stats | 118 | drivers/net/dummy.c | stats->tx_packets++; |
stats | 128 | drivers/net/dummy.c | struct enet_statistics *stats = (struct enet_statistics*) dev->priv; |
stats | 129 | drivers/net/dummy.c | return stats; |
stats | 117 | drivers/net/eepro.c | struct enet_statistics stats; |
stats | 612 | drivers/net/eepro.c | lp->stats.tx_errors++; |
stats | 768 | drivers/net/eepro.c | return &lp->stats; |
stats | 1052 | drivers/net/eepro.c | lp->stats.rx_dropped++; |
stats | 1062 | drivers/net/eepro.c | lp->stats.rx_packets++; |
stats | 1066 | drivers/net/eepro.c | lp->stats.rx_errors++; |
stats | 1068 | drivers/net/eepro.c | lp->stats.rx_over_errors++; |
stats | 1070 | drivers/net/eepro.c | lp->stats.rx_frame_errors++; |
stats | 1072 | drivers/net/eepro.c | lp->stats.rx_crc_errors++; |
stats | 1077 | drivers/net/eepro.c | lp->stats.rx_length_errors++; |
stats | 1117 | drivers/net/eepro.c | lp->stats.tx_packets++; |
stats | 1119 | drivers/net/eepro.c | lp->stats.tx_errors++; |
stats | 1121 | drivers/net/eepro.c | lp->stats.tx_carrier_errors++; |
stats | 1126 | drivers/net/eepro.c | lp->stats.collisions += (xmt_status & 0x000f); |
stats | 1128 | drivers/net/eepro.c | lp->stats.tx_heartbeat_errors++; |
stats | 158 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 345 | drivers/net/eexpress.c | return &lp->stats; |
stats | 447 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 458 | drivers/net/eexpress.c | lp->stats.tx_dropped++; |
stats | 533 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 597 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 599 | drivers/net/eexpress.c | lp->stats.rx_crc_errors++; |
stats | 601 | drivers/net/eexpress.c | lp->stats.rx_frame_errors++; |
stats | 603 | drivers/net/eexpress.c | lp->stats.rx_fifo_errors++; |
stats | 605 | drivers/net/eexpress.c | lp->stats.rx_over_errors++; |
stats | 607 | drivers/net/eexpress.c | lp->stats.rx_length_errors++; |
stats | 617 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 626 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 865 | drivers/net/eexpress.c | lp->stats.collisions += Stat_NoColl(status); |
stats | 869 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 871 | drivers/net/eexpress.c | lp->stats.tx_carrier_errors++; |
stats | 873 | drivers/net/eexpress.c | lp->stats.tx_fifo_errors++; |
stats | 876 | drivers/net/eexpress.c | lp->stats.tx_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 | 234 | drivers/net/eql.c | memset (eql->stats, 0, sizeof (struct enet_statistics)); |
stats | 384 | drivers/net/eql.c | eql->stats->tx_packets++; |
stats | 394 | drivers/net/eql.c | eql->stats->tx_dropped++; |
stats | 404 | drivers/net/eql.c | return eql->stats; |
stats | 303 | drivers/net/eth16i.c | struct enet_statistics stats; |
stats | 893 | drivers/net/eth16i.c | lp->stats.tx_errors++; |
stats | 996 | drivers/net/eth16i.c | lp->stats.rx_errors++; |
stats | 997 | drivers/net/eth16i.c | if( status & PKT_SHORT ) lp->stats.rx_length_errors++; |
stats | 998 | drivers/net/eth16i.c | if( status & PKT_ALIGN_ERR ) lp->stats.rx_frame_errors++; |
stats | 999 | drivers/net/eth16i.c | if( status & PKT_CRC_ERR ) lp->stats.rx_crc_errors++; |
stats | 1000 | drivers/net/eth16i.c | if( status & PKT_RX_BUF_OVERFLOW) lp->stats.rx_over_errors++; |
stats | 1012 | drivers/net/eth16i.c | lp->stats.rx_dropped++; |
stats | 1021 | drivers/net/eth16i.c | lp->stats.rx_dropped++; |
stats | 1053 | drivers/net/eth16i.c | lp->stats.rx_packets++; |
stats | 1117 | drivers/net/eth16i.c | lp->stats.tx_packets++; |
stats | 1167 | drivers/net/eth16i.c | return &lp->stats; |
stats | 259 | drivers/net/ewrk3.c | struct enet_statistics stats; /* Public stats */ |
stats | 995 | drivers/net/ewrk3.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 996 | drivers/net/ewrk3.c | if (rx_status & R_DBE) lp->stats.rx_frame_errors++; |
stats | 997 | drivers/net/ewrk3.c | if (rx_status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 998 | drivers/net/ewrk3.c | if (rx_status & R_PLL) lp->stats.rx_fifo_errors++; |
stats | 1027 | drivers/net/ewrk3.c | lp->stats.rx_packets++; |
stats | 1052 | drivers/net/ewrk3.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1091 | drivers/net/ewrk3.c | lp->stats.tx_errors++; |
stats | 1092 | drivers/net/ewrk3.c | if (tx_status & T_NCL) lp->stats.tx_carrier_errors++; |
stats | 1093 | drivers/net/ewrk3.c | if (tx_status & T_LCL) lp->stats.tx_window_errors++; |
stats | 1102 | drivers/net/ewrk3.c | lp->stats.collisions++; |
stats | 1108 | drivers/net/ewrk3.c | lp->stats.tx_packets++; |
stats | 1166 | drivers/net/ewrk3.c | return &lp->stats; |
stats | 154 | drivers/net/hp100.c | struct enet_statistics stats; |
stats | 687 | drivers/net/hp100.c | lp -> stats.tx_packets++; |
stats | 759 | drivers/net/hp100.c | lp -> stats.rx_dropped++; |
stats | 778 | drivers/net/hp100.c | lp -> stats.rx_packets++; |
stats | 789 | drivers/net/hp100.c | lp -> stats.multicast++; break; |
stats | 808 | drivers/net/hp100.c | return &((struct hp100_private *)dev -> priv) -> stats; |
stats | 819 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 820 | drivers/net/hp100.c | lp -> stats.rx_over_errors += val; |
stats | 822 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 823 | drivers/net/hp100.c | lp -> stats.rx_crc_errors += val; |
stats | 825 | drivers/net/hp100.c | lp -> stats.tx_errors += val; |
stats | 826 | drivers/net/hp100.c | lp -> stats.tx_aborted_errors += val; |
stats | 203 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 721 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 878 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 879 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 880 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 881 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 884 | drivers/net/lance.c | lp->stats.tx_fifo_errors++; |
stats | 893 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 894 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 926 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 927 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
stats | 973 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 974 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 975 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 976 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 977 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 989 | drivers/net/lance.c | lp->stats.rx_errors++; |
stats | 1003 | drivers/net/lance.c | lp->stats.rx_dropped++; |
stats | 1017 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 1044 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1079 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1084 | drivers/net/lance.c | return &lp->stats; |
stats | 58 | drivers/net/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 97 | drivers/net/loopback.c | stats->rx_packets++; |
stats | 98 | drivers/net/loopback.c | stats->tx_packets++; |
stats | 128 | drivers/net/new_tunnel.c | struct enet_statistics *stats; /* This device's statistics */ |
stats | 149 | drivers/net/new_tunnel.c | stats = (struct enet_statistics *)dev->priv; |
stats | 154 | drivers/net/new_tunnel.c | stats->tx_errors++; |
stats | 173 | drivers/net/new_tunnel.c | stats->tx_errors++; |
stats | 185 | drivers/net/new_tunnel.c | stats->tx_errors++; |
stats | 198 | drivers/net/new_tunnel.c | stats->tx_errors++; |
stats | 209 | drivers/net/new_tunnel.c | stats->tx_errors++; |
stats | 238 | drivers/net/new_tunnel.c | stats->tx_dropped++; |
stats | 305 | drivers/net/new_tunnel.c | stats->tx_packets++; |
stats | 213 | drivers/net/ni52.c | struct enet_statistics stats; |
stats | 921 | drivers/net/ni52.c | p->stats.rx_packets++; |
stats | 924 | drivers/net/ni52.c | p->stats.rx_dropped++; |
stats | 945 | drivers/net/ni52.c | p->stats.rx_dropped++; |
stats | 951 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 1018 | drivers/net/ni52.c | p->stats.rx_errors++; |
stats | 1051 | drivers/net/ni52.c | p->stats.tx_packets++; |
stats | 1052 | drivers/net/ni52.c | p->stats.collisions += (status & TCMD_MAXCOLLMASK); |
stats | 1056 | drivers/net/ni52.c | p->stats.tx_errors++; |
stats | 1059 | drivers/net/ni52.c | p->stats.collisions++; |
stats | 1062 | drivers/net/ni52.c | p->stats.tx_carrier_errors++; |
stats | 1068 | drivers/net/ni52.c | p->stats.tx_fifo_errors++; |
stats | 1073 | drivers/net/ni52.c | p->stats.collisions += 16; |
stats | 1278 | drivers/net/ni52.c | p->stats.rx_crc_errors += crc; |
stats | 1279 | drivers/net/ni52.c | p->stats.rx_fifo_errors += ovrn; |
stats | 1280 | drivers/net/ni52.c | p->stats.rx_frame_errors += aln; |
stats | 1281 | drivers/net/ni52.c | p->stats.rx_dropped += rsc; |
stats | 1283 | drivers/net/ni52.c | return &p->stats; |
stats | 146 | drivers/net/ni65.c | struct enet_statistics stats; |
stats | 480 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 482 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 557 | drivers/net/ni65.c | p->stats.tx_aborted_errors++; |
stats | 559 | drivers/net/ni65.c | p->stats.tx_carrier_errors++; |
stats | 561 | drivers/net/ni65.c | p->stats.tx_fifo_errors++; |
stats | 569 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 573 | drivers/net/ni65.c | p->stats.tx_packets++; |
stats | 601 | drivers/net/ni65.c | p->stats.rx_length_errors++; |
stats | 609 | drivers/net/ni65.c | p->stats.rx_frame_errors++; |
stats | 611 | drivers/net/ni65.c | p->stats.rx_over_errors++; |
stats | 618 | drivers/net/ni65.c | if(rmdstat & RCV_CRC) p->stats.rx_crc_errors++; |
stats | 621 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 652 | drivers/net/ni65.c | p->stats.rx_packets++; |
stats | 660 | drivers/net/ni65.c | p->stats.rx_dropped++; |
stats | 666 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 751 | drivers/net/ni65.c | return &((struct priv *) dev->priv)->stats; |
stats | 213 | drivers/net/pi2.c | lp->stats.tx_packets++; |
stats | 531 | drivers/net/pi2.c | lp->stats.rx_crc_errors++; |
stats | 534 | drivers/net/pi2.c | lp->stats.rx_errors++; |
stats | 535 | drivers/net/pi2.c | lp->stats.rx_over_errors++; |
stats | 557 | drivers/net/pi2.c | lp->stats.rx_dropped++; |
stats | 573 | drivers/net/pi2.c | lp->stats.rx_packets++; |
stats | 607 | drivers/net/pi2.c | lp->stats.rx_errors++; |
stats | 608 | drivers/net/pi2.c | lp->stats.rx_over_errors++; |
stats | 632 | drivers/net/pi2.c | lp->stats.rx_crc_errors++; |
stats | 646 | drivers/net/pi2.c | lp->stats.rx_dropped++; |
stats | 661 | drivers/net/pi2.c | lp->stats.rx_packets++; |
stats | 744 | drivers/net/pi2.c | lp->stats.tx_errors++; |
stats | 745 | drivers/net/pi2.c | lp->stats.tx_fifo_errors++; |
stats | 795 | drivers/net/pi2.c | lp->stats.tx_errors++; |
stats | 796 | drivers/net/pi2.c | lp->stats.tx_fifo_errors++; |
stats | 1681 | drivers/net/pi2.c | return &lp->stats; |
stats | 88 | drivers/net/pi2.h | struct netstats stats; /* %%%dp*/ |
stats | 449 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct pppstat)); |
stats | 891 | drivers/net/ppp.c | ppp->stats.ppp_oerrors++; |
stats | 1127 | drivers/net/ppp.c | ppp->stats.ppp_ibytes += ppp->rbuf->count; |
stats | 1175 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1487 | drivers/net/ppp.c | ++ppp->stats.ppp_ipackets; |
stats | 1503 | drivers/net/ppp.c | ppp->stats.ppp_ioctects += count; |
stats | 1505 | drivers/net/ppp.c | ++ppp->stats.ppp_discards; |
stats | 1528 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1545 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1557 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1784 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1938 | drivers/net/ppp.c | ppp->stats.ppp_obytes += buf->count; |
stats | 1991 | drivers/net/ppp.c | ++ppp->stats.ppp_opackets; |
stats | 1992 | drivers/net/ppp.c | ppp->stats.ppp_ooctects += new_count; |
stats | 2008 | drivers/net/ppp.c | ++ppp->stats.ppp_opackets; |
stats | 2009 | drivers/net/ppp.c | ppp->stats.ppp_ooctects += count; |
stats | 2034 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_opackets + 1); |
stats | 2035 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_ooctects + len); |
stats | 2751 | drivers/net/ppp.c | memcpy (&temp.p, &ppp->stats, sizeof (struct pppstat)); |
stats | 3120 | drivers/net/ppp.c | ppp_stats.rx_packets = ppp->stats.ppp_ipackets; |
stats | 3121 | drivers/net/ppp.c | ppp_stats.rx_errors = ppp->stats.ppp_ierrors; |
stats | 3122 | drivers/net/ppp.c | ppp_stats.rx_dropped = ppp->stats.ppp_ierrors; |
stats | 3128 | drivers/net/ppp.c | ppp_stats.tx_packets = ppp->stats.ppp_opackets; |
stats | 3129 | drivers/net/ppp.c | ppp_stats.tx_errors = ppp->stats.ppp_oerrors; |
stats | 221 | drivers/net/pt.c | lp->stats.tx_packets++; |
stats | 1115 | drivers/net/pt.c | return &lp->stats; |
stats | 1234 | drivers/net/pt.c | lp->stats.tx_errors++; |
stats | 1235 | drivers/net/pt.c | lp->stats.tx_fifo_errors++; |
stats | 1301 | drivers/net/pt.c | lp->stats.rx_errors++; |
stats | 1302 | drivers/net/pt.c | lp->stats.rx_fifo_errors++; |
stats | 1353 | drivers/net/pt.c | lp->stats.rx_crc_errors++; |
stats | 1359 | drivers/net/pt.c | lp->stats.rx_errors++; |
stats | 1360 | drivers/net/pt.c | lp->stats.rx_over_errors++; |
stats | 1396 | drivers/net/pt.c | lp->stats.rx_dropped++; |
stats | 1414 | drivers/net/pt.c | lp->stats.rx_packets++; |
stats | 1598 | drivers/net/pt.c | lp->stats.tx_errors++; |
stats | 1599 | drivers/net/pt.c | lp->stats.tx_fifo_errors++; |
stats | 128 | drivers/net/pt.h | struct netstats stats; /* %%%dp*/ |
stats | 67 | drivers/net/seeq8005.c | struct enet_statistics stats; |
stats | 453 | drivers/net/seeq8005.c | lp->stats.tx_packets++; |
stats | 523 | drivers/net/seeq8005.c | lp->stats.rx_errors++; |
stats | 524 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_SHORT) lp->stats.rx_frame_errors++; |
stats | 525 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_DRIB) lp->stats.rx_frame_errors++; |
stats | 526 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_OVERSIZE) lp->stats.rx_over_errors++; |
stats | 527 | drivers/net/seeq8005.c | if (pkt_hdr & SEEQPKTS_CRC_ERR) lp->stats.rx_crc_errors++; |
stats | 539 | drivers/net/seeq8005.c | lp->stats.rx_dropped++; |
stats | 559 | drivers/net/seeq8005.c | lp->stats.rx_packets++; |
stats | 601 | drivers/net/seeq8005.c | return &lp->stats; |
stats | 460 | drivers/net/sk_g16.c | struct enet_statistics stats; /* Device driver statistics */ |
stats | 1348 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1418 | drivers/net/sk_g16.c | p->stats.tx_aborted_errors++; |
stats | 1420 | drivers/net/sk_g16.c | p->stats.tx_window_errors++; |
stats | 1422 | drivers/net/sk_g16.c | p->stats.tx_carrier_errors++; |
stats | 1425 | drivers/net/sk_g16.c | p->stats.tx_fifo_errors++; |
stats | 1435 | drivers/net/sk_g16.c | p->stats.tx_errors++; |
stats | 1453 | drivers/net/sk_g16.c | p->stats.collisions++; |
stats | 1457 | drivers/net/sk_g16.c | p->stats.tx_packets++; |
stats | 1536 | drivers/net/sk_g16.c | p->stats.rx_errors++; /* bad packet received */ |
stats | 1537 | drivers/net/sk_g16.c | p->stats.rx_length_errors++; /* packet to long */ |
stats | 1557 | drivers/net/sk_g16.c | p->stats.rx_errors++; |
stats | 1559 | drivers/net/sk_g16.c | if (rmdstat & RX_FRAM) p->stats.rx_frame_errors++; |
stats | 1560 | drivers/net/sk_g16.c | if (rmdstat & RX_CRC) p->stats.rx_crc_errors++; |
stats | 1584 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1621 | drivers/net/sk_g16.c | p->stats.rx_packets++; |
stats | 1699 | drivers/net/sk_g16.c | return &p->stats; /* Return Device status */ |
stats | 87 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 390 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 422 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 428 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 452 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 453 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 454 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 455 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 456 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 465 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 477 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 533 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 536 | drivers/net/skeleton.c | return &lp->stats; |
stats | 821 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 827 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 829 | drivers/net/slip.c | stats.rx_packets = sl->rx_packets; |
stats | 830 | drivers/net/slip.c | stats.tx_packets = sl->tx_packets; |
stats | 831 | drivers/net/slip.c | stats.rx_dropped = sl->rx_dropped; |
stats | 832 | drivers/net/slip.c | stats.tx_dropped = sl->tx_dropped; |
stats | 833 | drivers/net/slip.c | stats.tx_errors = sl->tx_errors; |
stats | 834 | drivers/net/slip.c | stats.rx_errors = sl->rx_errors; |
stats | 835 | drivers/net/slip.c | stats.rx_over_errors = sl->rx_over_errors; |
stats | 837 | drivers/net/slip.c | stats.rx_fifo_errors = sl->rx_compressed; |
stats | 838 | drivers/net/slip.c | stats.tx_fifo_errors = sl->tx_compressed; |
stats | 839 | drivers/net/slip.c | stats.collisions = sl->tx_misses; |
stats | 842 | drivers/net/slip.c | stats.rx_fifo_errors += comp->sls_i_compressed; |
stats | 843 | drivers/net/slip.c | stats.rx_dropped += comp->sls_i_tossed; |
stats | 844 | drivers/net/slip.c | stats.tx_fifo_errors += comp->sls_o_compressed; |
stats | 845 | drivers/net/slip.c | stats.collisions += comp->sls_o_misses; |
stats | 848 | drivers/net/slip.c | return (&stats); |
stats | 178 | drivers/net/smc9194.c | struct enet_statistics stats; |
stats | 557 | drivers/net/smc9194.c | lp->stats.tx_aborted_errors++; |
stats | 1352 | drivers/net/smc9194.c | lp->stats.collisions += card_stats & 0xF; |
stats | 1355 | drivers/net/smc9194.c | lp->stats.collisions += card_stats & 0xF; |
stats | 1369 | drivers/net/smc9194.c | lp->stats.tx_packets += lp->packets_waiting; |
stats | 1388 | drivers/net/smc9194.c | lp->stats.rx_errors++; |
stats | 1389 | drivers/net/smc9194.c | lp->stats.rx_fifo_errors++; |
stats | 1472 | drivers/net/smc9194.c | lp->stats.multicast++; |
stats | 1483 | drivers/net/smc9194.c | lp->stats.rx_dropped++; |
stats | 1532 | drivers/net/smc9194.c | lp->stats.rx_packets++; |
stats | 1535 | drivers/net/smc9194.c | lp->stats.rx_errors++; |
stats | 1537 | drivers/net/smc9194.c | if ( status & RS_ALGNERR ) lp->stats.rx_frame_errors++; |
stats | 1539 | drivers/net/smc9194.c | lp->stats.rx_length_errors++; |
stats | 1540 | drivers/net/smc9194.c | if ( status & RS_BADCRC) lp->stats.rx_crc_errors++; |
stats | 1589 | drivers/net/smc9194.c | lp->stats.tx_errors++; |
stats | 1590 | drivers/net/smc9194.c | if ( tx_status & TS_LOSTCAR ) lp->stats.tx_carrier_errors++; |
stats | 1594 | drivers/net/smc9194.c | lp->stats.tx_window_errors++; |
stats | 1649 | drivers/net/smc9194.c | return &lp->stats; |
stats | 167 | drivers/net/sunlance.c | struct enet_statistics stats; |
stats | 344 | drivers/net/sunlance.c | lp->stats.rx_over_errors++; |
stats | 345 | drivers/net/sunlance.c | lp->stats.rx_errors++; |
stats | 349 | drivers/net/sunlance.c | if (bits & LE_R1_BUF) lp->stats.rx_fifo_errors++; |
stats | 350 | drivers/net/sunlance.c | if (bits & LE_R1_CRC) lp->stats.rx_crc_errors++; |
stats | 351 | drivers/net/sunlance.c | if (bits & LE_R1_OFL) lp->stats.rx_over_errors++; |
stats | 352 | drivers/net/sunlance.c | if (bits & LE_R1_FRA) lp->stats.rx_frame_errors++; |
stats | 353 | drivers/net/sunlance.c | if (bits & LE_R1_EOP) lp->stats.rx_errors++; |
stats | 359 | drivers/net/sunlance.c | lp->stats.rx_dropped++; |
stats | 371 | drivers/net/sunlance.c | lp->stats.rx_packets++; |
stats | 401 | drivers/net/sunlance.c | if (status & LE_T3_RTY) lp->stats.tx_aborted_errors++; |
stats | 402 | drivers/net/sunlance.c | if (status & LE_T3_CLOS) lp->stats.tx_carrier_errors++; |
stats | 403 | drivers/net/sunlance.c | if (status & LE_T3_LCOL) lp->stats.tx_window_errors++; |
stats | 408 | drivers/net/sunlance.c | lp->stats.tx_fifo_errors++; |
stats | 420 | drivers/net/sunlance.c | lp->stats.tx_packets++; |
stats | 670 | drivers/net/sunlance.c | return &lp->stats; |
stats | 145 | drivers/net/tulip.c | struct enet_statistics stats; |
stats | 399 | drivers/net/tulip.c | tp->stats.tx_errors++; |
stats | 492 | drivers/net/tulip.c | lp->stats.tx_errors++; |
stats | 493 | drivers/net/tulip.c | if (status & 0x4104) lp->stats.tx_aborted_errors++; |
stats | 494 | drivers/net/tulip.c | if (status & 0x0C00) lp->stats.tx_carrier_errors++; |
stats | 495 | drivers/net/tulip.c | if (status & 0x0200) lp->stats.tx_window_errors++; |
stats | 496 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.tx_fifo_errors++; |
stats | 497 | drivers/net/tulip.c | if (status & 0x0080) lp->stats.tx_heartbeat_errors++; |
stats | 499 | drivers/net/tulip.c | if (status & 0x0100) lp->stats.collisions16++; |
stats | 503 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.tx_deferred++; |
stats | 505 | drivers/net/tulip.c | lp->stats.collisions += (status >> 3) & 15; |
stats | 506 | drivers/net/tulip.c | lp->stats.tx_packets++; |
stats | 535 | drivers/net/tulip.c | if (csr5 & 0x0008) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 537 | drivers/net/tulip.c | lp->stats.rx_errors++; |
stats | 538 | drivers/net/tulip.c | lp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 593 | drivers/net/tulip.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 594 | drivers/net/tulip.c | if (status & 0x0890) lp->stats.rx_length_errors++; |
stats | 595 | drivers/net/tulip.c | if (status & 0x0004) lp->stats.rx_frame_errors++; |
stats | 596 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.rx_crc_errors++; |
stats | 597 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.rx_fifo_errors++; |
stats | 613 | drivers/net/tulip.c | lp->stats.rx_dropped++; |
stats | 624 | drivers/net/tulip.c | lp->stats.rx_packets++; |
stats | 652 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 667 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 669 | drivers/net/tulip.c | return &tp->stats; |
stats | 51 | drivers/net/wavelan.c | en_stats stats; |
stats | 1526 | drivers/net/wavelan.c | lp->stats.rx_errors++; |
stats | 1533 | drivers/net/wavelan.c | lp->stats.rx_length_errors++; |
stats | 1539 | drivers/net/wavelan.c | lp->stats.rx_over_errors++; |
stats | 1545 | drivers/net/wavelan.c | lp->stats.rx_fifo_errors++; |
stats | 1551 | drivers/net/wavelan.c | lp->stats.rx_frame_errors++; |
stats | 1557 | drivers/net/wavelan.c | lp->stats.rx_crc_errors++; |
stats | 1643 | drivers/net/wavelan.c | lp->stats.rx_dropped++; |
stats | 1681 | drivers/net/wavelan.c | lp->stats.rx_packets++; |
stats | 1750 | drivers/net/wavelan.c | lp->stats.tx_packets++; |
stats | 1752 | drivers/net/wavelan.c | lp->stats.collisions += ncollisions; |
stats | 1760 | drivers/net/wavelan.c | lp->stats.tx_errors++; |
stats | 1763 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1769 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1774 | drivers/net/wavelan.c | lp->stats.tx_fifo_errors++; |
stats | 1779 | drivers/net/wavelan.c | lp->stats.tx_heartbeat_errors++; |
stats | 1785 | drivers/net/wavelan.c | lp->stats.tx_aborted_errors++; |
stats | 2015 | 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 | 609 | drivers/scsi/aic7xxx.c | } stats[2][16][8]; /* channel, target, lun */ |
stats | 2524 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
stats | 207 | drivers/scsi/aic7xxx_proc.c | sp = &p->stats[channel][target][lun]; |
stats | 59 | include/linux/if_eql.h | struct enet_statistics *stats; |
stats | 108 | include/linux/if_ppp.h | struct ppp_stats stats; /* statistic information */ |
stats | 113 | include/linux/if_ppp.h | struct ppp_comp_stats stats; |
stats | 145 | include/linux/if_pppvar.h | struct pppstat stats; /* statistic information */ |
stats | 256 | include/linux/isdn.h | struct enet_statistics stats; /* Ethernet Statistics */ |
stats | 90 | include/linux/lp.h | #define LP_STAT(minor) lp_table[(minor)].stats /* statistics area */ |
stats | 115 | include/linux/lp.h | struct lp_stats stats; |
stats | 84 | include/linux/ppp-comp.h | void (*comp_stat) (void *state, struct compstat *stats); |
stats | 108 | include/linux/ppp-comp.h | void (*decomp_stat) (void *state, struct compstat *stats); |
stats | 848 | net/core/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 851 | net/core/dev.c | if (stats) |
stats | 854 | net/core/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 855 | net/core/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 856 | net/core/dev.c | stats->rx_fifo_errors, |
stats | 857 | net/core/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 858 | net/core/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 859 | net/core/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 860 | net/core/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 861 | net/core/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 862 | net/core/dev.c | + stats->tx_window_errors + stats->tx_heartbeat_errors); |
stats | 56 | 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 | 167 | net/netrom/nr_dev.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 181 | net/netrom/nr_dev.c | stats->tx_errors++; |
stats | 191 | net/netrom/nr_dev.c | stats->tx_errors++; |