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 | 134 | drivers/net/3c501.c | struct enet_statistics stats; |
stats | 343 | drivers/net/3c501.c | lp->stats.tx_errors++; |
stats | 469 | drivers/net/3c501.c | lp->stats.tx_aborted_errors++; |
stats | 479 | drivers/net/3c501.c | lp->stats.collisions++; |
stats | 486 | drivers/net/3c501.c | lp->stats.tx_packets++; |
stats | 511 | drivers/net/3c501.c | lp->stats.rx_missed_errors++; |
stats | 513 | drivers/net/3c501.c | lp->stats.rx_length_errors++; |
stats | 560 | drivers/net/3c501.c | lp->stats.rx_over_errors++; |
stats | 577 | drivers/net/3c501.c | lp->stats.rx_dropped++; |
stats | 592 | drivers/net/3c501.c | lp->stats.rx_packets++; |
stats | 647 | 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 | 1260 | 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 | 460 | drivers/net/3c509.c | if (tx_status & 0x38) lp->stats.tx_aborted_errors++; |
stats | 540 | drivers/net/3c509.c | return &lp->stats; |
stats | 558 | drivers/net/3c509.c | lp->stats.tx_carrier_errors += inb(ioaddr + 0); |
stats | 559 | drivers/net/3c509.c | lp->stats.tx_heartbeat_errors += inb(ioaddr + 1); |
stats | 561 | drivers/net/3c509.c | lp->stats.collisions += inb(ioaddr + 3); |
stats | 562 | drivers/net/3c509.c | lp->stats.tx_window_errors += inb(ioaddr + 4); |
stats | 563 | drivers/net/3c509.c | lp->stats.rx_fifo_errors += inb(ioaddr + 5); |
stats | 564 | drivers/net/3c509.c | lp->stats.tx_packets += inb(ioaddr + 6); |
stats | 589 | drivers/net/3c509.c | lp->stats.rx_errors++; |
stats | 591 | drivers/net/3c509.c | case 0x0000: lp->stats.rx_over_errors++; break; |
stats | 592 | drivers/net/3c509.c | case 0x0800: lp->stats.rx_length_errors++; break; |
stats | 593 | drivers/net/3c509.c | case 0x1000: lp->stats.rx_frame_errors++; break; |
stats | 594 | drivers/net/3c509.c | case 0x1800: lp->stats.rx_length_errors++; break; |
stats | 595 | drivers/net/3c509.c | case 0x2000: lp->stats.rx_frame_errors++; break; |
stats | 596 | drivers/net/3c509.c | case 0x2800: lp->stats.rx_crc_errors++; break; |
stats | 617 | drivers/net/3c509.c | lp->stats.rx_packets++; |
stats | 623 | drivers/net/3c509.c | lp->stats.rx_dropped++; |
stats | 165 | drivers/net/apricot.c | struct enet_statistics stats; |
stats | 349 | drivers/net/apricot.c | lp->stats.rx_dropped++; |
stats | 358 | drivers/net/apricot.c | lp->stats.rx_packets++; |
stats | 364 | drivers/net/apricot.c | lp->stats.rx_errors++; |
stats | 365 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++; |
stats | 366 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++; |
stats | 367 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++; |
stats | 368 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 369 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++; |
stats | 370 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++; |
stats | 371 | drivers/net/apricot.c | if ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++; |
stats | 412 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 413 | drivers/net/apricot.c | lp->stats.tx_aborted_errors++; |
stats | 586 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 588 | drivers/net/apricot.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 600 | drivers/net/apricot.c | lp->last_restart = lp->stats.tx_packets; |
stats | 632 | drivers/net/apricot.c | lp->stats.tx_dropped++; |
stats | 654 | drivers/net/apricot.c | lp->stats.tx_packets++; |
stats | 818 | drivers/net/apricot.c | lp->stats.tx_errors++; |
stats | 819 | drivers/net/apricot.c | if ((ptr->status) & 0x0020) lp->stats.collisions++; |
stats | 820 | drivers/net/apricot.c | if (!((ptr->status) & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 821 | drivers/net/apricot.c | if ((ptr->status) & 0x0400) lp->stats.tx_carrier_errors++; |
stats | 822 | drivers/net/apricot.c | if ((ptr->status) & 0x0800) lp->stats.collisions++; |
stats | 823 | drivers/net/apricot.c | if ((ptr->status) & 0x1000) lp->stats.tx_aborted_errors++; |
stats | 954 | drivers/net/apricot.c | return &lp->stats; |
stats | 515 | drivers/net/arcnet.c | struct enet_statistics stats; |
stats | 1261 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1268 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1296 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1303 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1304 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 1312 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1331 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1343 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1344 | drivers/net/arcnet.c | lp->stats.tx_fifo_errors++; |
stats | 1356 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 1357 | drivers/net/arcnet.c | lp->stats.tx_fifo_errors++; |
stats | 1666 | drivers/net/arcnet.c | lp->stats.tx_dropped++; |
stats | 1854 | drivers/net/arcnet.c | lp->stats.tx_packets++; |
stats | 1956 | drivers/net/arcnet.c | lp->stats.tx_carrier_errors++; |
stats | 2061 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2062 | drivers/net/arcnet.c | lp->stats.tx_carrier_errors++; |
stats | 2176 | drivers/net/arcnet.c | lp->stats.rx_packets++; |
stats | 2186 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2227 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2228 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2304 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2305 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2315 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2348 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2361 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2362 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 2414 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2415 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2428 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2429 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2441 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2442 | drivers/net/arcnet.c | lp->stats.rx_length_errors++; |
stats | 2452 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2482 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2483 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2495 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2496 | drivers/net/arcnet.c | lp->stats.rx_frame_errors++; |
stats | 2506 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2507 | drivers/net/arcnet.c | lp->stats.rx_missed_errors++; |
stats | 2577 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2630 | drivers/net/arcnet.c | lp->stats.rx_dropped++; |
stats | 2683 | drivers/net/arcnet.c | return &lp->stats; |
stats | 2756 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2757 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2826 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2827 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2877 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2878 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2914 | drivers/net/arcnet.c | lp->stats.tx_errors++; |
stats | 2915 | drivers/net/arcnet.c | lp->stats.tx_aborted_errors++; |
stats | 2971 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 2972 | drivers/net/arcnet.c | lp->stats.rx_crc_errors++; |
stats | 3011 | drivers/net/arcnet.c | lp->stats.rx_errors++; |
stats | 3012 | 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 | 357 | drivers/net/de4x5.c | struct enet_statistics stats; /* Public stats */ |
stats | 1143 | drivers/net/de4x5.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1144 | drivers/net/de4x5.c | if (status & (RD_RF | RD_TL)) lp->stats.rx_frame_errors++; |
stats | 1145 | drivers/net/de4x5.c | if (status & RD_CE) lp->stats.rx_crc_errors++; |
stats | 1146 | drivers/net/de4x5.c | if (status & RD_OF) lp->stats.rx_fifo_errors++; |
stats | 1168 | drivers/net/de4x5.c | lp->stats.rx_packets++; |
stats | 1193 | drivers/net/de4x5.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1232 | drivers/net/de4x5.c | lp->stats.tx_errors++; |
stats | 1233 | drivers/net/de4x5.c | if (status & TD_NC) lp->stats.tx_carrier_errors++; |
stats | 1234 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.tx_window_errors++; |
stats | 1235 | drivers/net/de4x5.c | if (status & TD_UF) lp->stats.tx_fifo_errors++; |
stats | 1236 | drivers/net/de4x5.c | if (status & TD_LC) lp->stats.collisions++; |
stats | 1238 | drivers/net/de4x5.c | if (status & TD_DE) lp->stats.tx_aborted_errors++; |
stats | 1250 | drivers/net/de4x5.c | lp->stats.tx_packets++; |
stats | 1357 | drivers/net/de4x5.c | lp->stats.rx_missed_errors = (int) (inl(DE4X5_MFC) & (MFC_OVFL | MFC_CNTR)); |
stats | 1359 | drivers/net/de4x5.c | return &lp->stats; |
stats | 330 | drivers/net/depca.c | struct enet_statistics stats; |
stats | 932 | drivers/net/depca.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 933 | drivers/net/depca.c | if (status & R_FRAM) lp->stats.rx_frame_errors++; |
stats | 934 | drivers/net/depca.c | if (status & R_OFLO) lp->stats.rx_over_errors++; |
stats | 935 | drivers/net/depca.c | if (status & R_CRC) lp->stats.rx_crc_errors++; |
stats | 936 | drivers/net/depca.c | if (status & R_BUFF) lp->stats.rx_fifo_errors++; |
stats | 965 | drivers/net/depca.c | lp->stats.rx_packets++; |
stats | 989 | drivers/net/depca.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1028 | drivers/net/depca.c | lp->stats.tx_errors++; |
stats | 1029 | drivers/net/depca.c | if (status & TMD3_RTRY) lp->stats.tx_aborted_errors++; |
stats | 1030 | drivers/net/depca.c | if (status & TMD3_LCAR) lp->stats.tx_carrier_errors++; |
stats | 1031 | drivers/net/depca.c | if (status & TMD3_LCOL) lp->stats.tx_window_errors++; |
stats | 1032 | drivers/net/depca.c | if (status & TMD3_UFLO) lp->stats.tx_fifo_errors++; |
stats | 1039 | drivers/net/depca.c | lp->stats.collisions++; |
stats | 1041 | drivers/net/depca.c | lp->stats.tx_packets++; |
stats | 1149 | 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 | 1046 | drivers/net/eepro.c | lp->stats.rx_dropped++; |
stats | 1056 | drivers/net/eepro.c | lp->stats.rx_packets++; |
stats | 1060 | drivers/net/eepro.c | lp->stats.rx_errors++; |
stats | 1062 | drivers/net/eepro.c | lp->stats.rx_over_errors++; |
stats | 1064 | drivers/net/eepro.c | lp->stats.rx_frame_errors++; |
stats | 1066 | drivers/net/eepro.c | lp->stats.rx_crc_errors++; |
stats | 1071 | drivers/net/eepro.c | lp->stats.rx_length_errors++; |
stats | 1111 | drivers/net/eepro.c | lp->stats.tx_packets++; |
stats | 1113 | drivers/net/eepro.c | lp->stats.tx_errors++; |
stats | 1115 | drivers/net/eepro.c | lp->stats.tx_carrier_errors++; |
stats | 1120 | drivers/net/eepro.c | lp->stats.collisions += (xmt_status & 0x000f); |
stats | 1122 | drivers/net/eepro.c | lp->stats.tx_heartbeat_errors++; |
stats | 94 | drivers/net/eexpress.c | struct enet_statistics stats; |
stats | 465 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 467 | drivers/net/eexpress.c | if (lp->last_restart == lp->stats.tx_packets) { |
stats | 476 | drivers/net/eexpress.c | lp->last_restart = lp->stats.tx_packets; |
stats | 508 | drivers/net/eexpress.c | lp->stats.tx_aborted_errors++; |
stats | 551 | drivers/net/eexpress.c | lp->stats.tx_packets++; |
stats | 552 | drivers/net/eexpress.c | lp->stats.collisions += tx_status & 0xf; |
stats | 556 | drivers/net/eexpress.c | lp->stats.tx_errors++; |
stats | 557 | drivers/net/eexpress.c | if (tx_status & 0x0600) lp->stats.tx_carrier_errors++; |
stats | 558 | drivers/net/eexpress.c | if (tx_status & 0x0100) lp->stats.tx_fifo_errors++; |
stats | 559 | drivers/net/eexpress.c | if (!(tx_status & 0x0040)) lp->stats.tx_heartbeat_errors++; |
stats | 560 | drivers/net/eexpress.c | if (tx_status & 0x0020) lp->stats.tx_aborted_errors++; |
stats | 603 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 670 | drivers/net/eexpress.c | return &lp->stats; |
stats | 926 | drivers/net/eexpress.c | lp->stats.rx_errors++; |
stats | 927 | drivers/net/eexpress.c | if (frame_status & 0x0800) lp->stats.rx_crc_errors++; |
stats | 928 | drivers/net/eexpress.c | if (frame_status & 0x0400) lp->stats.rx_frame_errors++; |
stats | 929 | drivers/net/eexpress.c | if (frame_status & 0x0200) lp->stats.rx_fifo_errors++; |
stats | 930 | drivers/net/eexpress.c | if (frame_status & 0x0100) lp->stats.rx_over_errors++; |
stats | 931 | drivers/net/eexpress.c | if (frame_status & 0x0080) lp->stats.rx_length_errors++; |
stats | 940 | drivers/net/eexpress.c | lp->stats.rx_dropped++; |
stats | 952 | drivers/net/eexpress.c | lp->stats.rx_packets++; |
stats | 223 | drivers/net/eql.c | eql->stats = kmalloc (sizeof (struct enet_statistics), GFP_KERNEL); |
stats | 224 | drivers/net/eql.c | if (eql->stats == NULL) { |
stats | 229 | drivers/net/eql.c | memset (eql->stats, 0, sizeof (struct enet_statistics)); |
stats | 382 | drivers/net/eql.c | eql->stats->tx_packets++; |
stats | 390 | drivers/net/eql.c | eql->stats->tx_dropped++; |
stats | 403 | drivers/net/eql.c | return eql->stats; |
stats | 299 | drivers/net/eth16i.c | struct enet_statistics stats; |
stats | 889 | drivers/net/eth16i.c | lp->stats.tx_errors++; |
stats | 992 | drivers/net/eth16i.c | lp->stats.rx_errors++; |
stats | 993 | drivers/net/eth16i.c | if( status & PKT_SHORT ) lp->stats.rx_length_errors++; |
stats | 994 | drivers/net/eth16i.c | if( status & PKT_ALIGN_ERR ) lp->stats.rx_frame_errors++; |
stats | 995 | drivers/net/eth16i.c | if( status & PKT_CRC_ERR ) lp->stats.rx_crc_errors++; |
stats | 996 | drivers/net/eth16i.c | if( status & PKT_RX_BUF_OVERFLOW) lp->stats.rx_over_errors++; |
stats | 1008 | drivers/net/eth16i.c | lp->stats.rx_dropped++; |
stats | 1017 | drivers/net/eth16i.c | lp->stats.rx_dropped++; |
stats | 1049 | drivers/net/eth16i.c | lp->stats.rx_packets++; |
stats | 1113 | drivers/net/eth16i.c | lp->stats.tx_packets++; |
stats | 1161 | drivers/net/eth16i.c | return &lp->stats; |
stats | 261 | drivers/net/ewrk3.c | struct enet_statistics stats; /* Public stats */ |
stats | 1027 | drivers/net/ewrk3.c | lp->stats.rx_errors++; /* Update the error stats. */ |
stats | 1028 | drivers/net/ewrk3.c | if (rx_status & DBE) lp->stats.rx_frame_errors++; |
stats | 1029 | drivers/net/ewrk3.c | if (rx_status & CRC) lp->stats.rx_crc_errors++; |
stats | 1030 | drivers/net/ewrk3.c | if (rx_status & PLL) lp->stats.rx_fifo_errors++; |
stats | 1060 | drivers/net/ewrk3.c | lp->stats.rx_packets++; |
stats | 1085 | drivers/net/ewrk3.c | lp->stats.rx_dropped++; /* Really, deferred. */ |
stats | 1124 | drivers/net/ewrk3.c | lp->stats.tx_errors++; |
stats | 1125 | drivers/net/ewrk3.c | if (tx_status & MAC_NCL) lp->stats.tx_carrier_errors++; |
stats | 1126 | drivers/net/ewrk3.c | if (tx_status & MAC_LCL) lp->stats.tx_window_errors++; |
stats | 1135 | drivers/net/ewrk3.c | lp->stats.collisions++; |
stats | 1141 | drivers/net/ewrk3.c | lp->stats.tx_packets++; |
stats | 1199 | drivers/net/ewrk3.c | return &lp->stats; |
stats | 154 | drivers/net/hp100.c | struct enet_statistics stats; |
stats | 691 | drivers/net/hp100.c | lp -> stats.tx_packets++; |
stats | 763 | drivers/net/hp100.c | lp -> stats.rx_dropped++; |
stats | 782 | drivers/net/hp100.c | lp -> stats.rx_packets++; |
stats | 793 | drivers/net/hp100.c | lp -> stats.multicast++; break; |
stats | 812 | drivers/net/hp100.c | return &((struct hp100_private *)dev -> priv) -> stats; |
stats | 823 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 824 | drivers/net/hp100.c | lp -> stats.rx_over_errors += val; |
stats | 826 | drivers/net/hp100.c | lp -> stats.rx_errors += val; |
stats | 827 | drivers/net/hp100.c | lp -> stats.rx_crc_errors += val; |
stats | 829 | drivers/net/hp100.c | lp -> stats.tx_errors += val; |
stats | 830 | drivers/net/hp100.c | lp -> stats.tx_aborted_errors += val; |
stats | 203 | drivers/net/lance.c | struct enet_statistics stats; |
stats | 723 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 880 | drivers/net/lance.c | lp->stats.tx_errors++; |
stats | 881 | drivers/net/lance.c | if (err_status & 0x0400) lp->stats.tx_aborted_errors++; |
stats | 882 | drivers/net/lance.c | if (err_status & 0x0800) lp->stats.tx_carrier_errors++; |
stats | 883 | drivers/net/lance.c | if (err_status & 0x1000) lp->stats.tx_window_errors++; |
stats | 886 | drivers/net/lance.c | lp->stats.tx_fifo_errors++; |
stats | 895 | drivers/net/lance.c | lp->stats.collisions++; |
stats | 896 | drivers/net/lance.c | lp->stats.tx_packets++; |
stats | 928 | drivers/net/lance.c | if (csr0 & 0x4000) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 929 | drivers/net/lance.c | if (csr0 & 0x1000) lp->stats.rx_errors++; /* Missed a Rx frame. */ |
stats | 975 | drivers/net/lance.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 976 | drivers/net/lance.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 977 | drivers/net/lance.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 978 | drivers/net/lance.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 979 | drivers/net/lance.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 994 | drivers/net/lance.c | lp->stats.rx_dropped++; |
stats | 1008 | drivers/net/lance.c | lp->stats.rx_packets++; |
stats | 1035 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1070 | drivers/net/lance.c | lp->stats.rx_missed_errors = inw(ioaddr+LANCE_DATA); |
stats | 1075 | drivers/net/lance.c | return &lp->stats; |
stats | 53 | drivers/net/loopback.c | struct enet_statistics *stats = (struct enet_statistics *)dev->priv; |
stats | 65 | drivers/net/loopback.c | stats->tx_errors++; |
stats | 107 | drivers/net/loopback.c | stats->tx_packets++; |
stats | 108 | 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 | 421 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 423 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 475 | drivers/net/ni65.c | p->stats.tx_aborted_errors++; |
stats | 477 | drivers/net/ni65.c | p->stats.tx_carrier_errors++; |
stats | 478 | drivers/net/ni65.c | p->stats.tx_errors++; |
stats | 482 | drivers/net/ni65.c | p->stats.tx_packets++; |
stats | 511 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 512 | drivers/net/ni65.c | p->stats.rx_length_errors++; |
stats | 520 | drivers/net/ni65.c | p->stats.rx_errors++; |
stats | 521 | drivers/net/ni65.c | if(rmdstat & RCV_FRAM) p->stats.rx_frame_errors++; |
stats | 522 | drivers/net/ni65.c | if(rmdstat & RCV_OFLO) p->stats.rx_over_errors++; |
stats | 523 | drivers/net/ni65.c | if(rmdstat & RCV_CRC) p->stats.rx_crc_errors++; |
stats | 545 | drivers/net/ni65.c | p->stats.rx_packets++; |
stats | 553 | drivers/net/ni65.c | p->stats.rx_dropped++; |
stats | 636 | 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 | 528 | drivers/net/ppp.c | memset (&ppp->stats, '\0', sizeof (struct pppstat)); |
stats | 955 | drivers/net/ppp.c | ppp->stats.ppp_oerrors++; |
stats | 1191 | drivers/net/ppp.c | ppp->stats.ppp_ibytes += ppp->rbuf->count; |
stats | 1239 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1555 | drivers/net/ppp.c | p = store_long (p, ++ppp->stats.ppp_ilqrs); |
stats | 1556 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_ipackets); |
stats | 1557 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_discards); |
stats | 1558 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_ierrors); |
stats | 1559 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_ioctects + len); |
stats | 1585 | drivers/net/ppp.c | ++ppp->stats.ppp_ipackets; |
stats | 1601 | drivers/net/ppp.c | ppp->stats.ppp_ioctects += count; |
stats | 1603 | drivers/net/ppp.c | ++ppp->stats.ppp_discards; |
stats | 1626 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1643 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1655 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 1882 | drivers/net/ppp.c | ppp->stats.ppp_ierrors++; |
stats | 2038 | drivers/net/ppp.c | ppp->stats.ppp_obytes += buf->count; |
stats | 2091 | drivers/net/ppp.c | ++ppp->stats.ppp_opackets; |
stats | 2092 | drivers/net/ppp.c | ppp->stats.ppp_ooctects += new_count; |
stats | 2108 | drivers/net/ppp.c | ++ppp->stats.ppp_opackets; |
stats | 2109 | drivers/net/ppp.c | ppp->stats.ppp_ooctects += count; |
stats | 2134 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_opackets + 1); |
stats | 2135 | drivers/net/ppp.c | p = store_long (p, ppp->stats.ppp_ooctects + len); |
stats | 2791 | drivers/net/ppp.c | memcpy (&temp.p, &ppp->stats, sizeof (struct pppstat)); |
stats | 3202 | drivers/net/ppp.c | ppp_stats.rx_packets = ppp->stats.ppp_ipackets; |
stats | 3203 | drivers/net/ppp.c | ppp_stats.rx_errors = ppp->stats.ppp_ierrors; |
stats | 3204 | drivers/net/ppp.c | ppp_stats.rx_dropped = ppp->stats.ppp_ierrors; |
stats | 3210 | drivers/net/ppp.c | ppp_stats.tx_packets = ppp->stats.ppp_opackets; |
stats | 3211 | drivers/net/ppp.c | ppp_stats.tx_errors = ppp->stats.ppp_oerrors; |
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 | 461 | drivers/net/sk_g16.c | struct enet_statistics stats; /* Device driver statistics */ |
stats | 1354 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1424 | drivers/net/sk_g16.c | p->stats.tx_aborted_errors++; |
stats | 1426 | drivers/net/sk_g16.c | p->stats.tx_window_errors++; |
stats | 1428 | drivers/net/sk_g16.c | p->stats.tx_carrier_errors++; |
stats | 1431 | drivers/net/sk_g16.c | p->stats.tx_fifo_errors++; |
stats | 1441 | drivers/net/sk_g16.c | p->stats.tx_errors++; |
stats | 1459 | drivers/net/sk_g16.c | p->stats.collisions++; |
stats | 1463 | drivers/net/sk_g16.c | p->stats.tx_packets++; |
stats | 1542 | drivers/net/sk_g16.c | p->stats.rx_errors++; /* bad packet received */ |
stats | 1543 | drivers/net/sk_g16.c | p->stats.rx_length_errors++; /* packet to long */ |
stats | 1563 | drivers/net/sk_g16.c | p->stats.rx_errors++; |
stats | 1565 | drivers/net/sk_g16.c | if (rmdstat & RX_FRAM) p->stats.rx_frame_errors++; |
stats | 1566 | drivers/net/sk_g16.c | if (rmdstat & RX_CRC) p->stats.rx_crc_errors++; |
stats | 1590 | drivers/net/sk_g16.c | p->stats.rx_dropped++; |
stats | 1627 | drivers/net/sk_g16.c | p->stats.rx_packets++; |
stats | 1705 | drivers/net/sk_g16.c | return &p->stats; /* Return Device status */ |
stats | 85 | drivers/net/skeleton.c | struct enet_statistics stats; |
stats | 367 | drivers/net/skeleton.c | lp->stats.tx_aborted_errors++; |
stats | 397 | drivers/net/skeleton.c | lp->stats.tx_packets++; |
stats | 403 | drivers/net/skeleton.c | lp->stats.tx_window_errors++; |
stats | 427 | drivers/net/skeleton.c | lp->stats.rx_errors++; |
stats | 428 | drivers/net/skeleton.c | if (status & 0x20) lp->stats.rx_frame_errors++; |
stats | 429 | drivers/net/skeleton.c | if (status & 0x10) lp->stats.rx_over_errors++; |
stats | 430 | drivers/net/skeleton.c | if (status & 0x08) lp->stats.rx_crc_errors++; |
stats | 431 | drivers/net/skeleton.c | if (status & 0x04) lp->stats.rx_fifo_errors++; |
stats | 440 | drivers/net/skeleton.c | lp->stats.rx_dropped++; |
stats | 452 | drivers/net/skeleton.c | lp->stats.rx_packets++; |
stats | 504 | drivers/net/skeleton.c | lp->stats.rx_missed_errors = inw(ioaddr+1); |
stats | 507 | drivers/net/skeleton.c | return &lp->stats; |
stats | 797 | drivers/net/slip.c | static struct enet_statistics stats; |
stats | 803 | drivers/net/slip.c | memset(&stats, 0, sizeof(struct enet_statistics)); |
stats | 805 | drivers/net/slip.c | stats.rx_packets = sl->rx_packets; |
stats | 806 | drivers/net/slip.c | stats.tx_packets = sl->tx_packets; |
stats | 807 | drivers/net/slip.c | stats.rx_dropped = sl->rx_dropped; |
stats | 808 | drivers/net/slip.c | stats.tx_dropped = sl->tx_dropped; |
stats | 809 | drivers/net/slip.c | stats.tx_errors = sl->tx_errors; |
stats | 810 | drivers/net/slip.c | stats.rx_errors = sl->rx_errors; |
stats | 811 | drivers/net/slip.c | stats.rx_over_errors = sl->rx_over_errors; |
stats | 813 | drivers/net/slip.c | stats.rx_fifo_errors = sl->rx_compressed; |
stats | 814 | drivers/net/slip.c | stats.tx_fifo_errors = sl->tx_compressed; |
stats | 815 | drivers/net/slip.c | stats.collisions = sl->tx_misses; |
stats | 818 | drivers/net/slip.c | stats.rx_fifo_errors += comp->sls_i_compressed; |
stats | 819 | drivers/net/slip.c | stats.rx_dropped += comp->sls_i_tossed; |
stats | 820 | drivers/net/slip.c | stats.tx_fifo_errors += comp->sls_o_compressed; |
stats | 821 | drivers/net/slip.c | stats.collisions += comp->sls_o_misses; |
stats | 824 | drivers/net/slip.c | return (&stats); |
stats | 145 | drivers/net/tulip.c | struct enet_statistics stats; |
stats | 403 | drivers/net/tulip.c | tp->stats.tx_errors++; |
stats | 496 | drivers/net/tulip.c | lp->stats.tx_errors++; |
stats | 497 | drivers/net/tulip.c | if (status & 0x4104) lp->stats.tx_aborted_errors++; |
stats | 498 | drivers/net/tulip.c | if (status & 0x0C00) lp->stats.tx_carrier_errors++; |
stats | 499 | drivers/net/tulip.c | if (status & 0x0200) lp->stats.tx_window_errors++; |
stats | 500 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.tx_fifo_errors++; |
stats | 501 | drivers/net/tulip.c | if (status & 0x0080) lp->stats.tx_heartbeat_errors++; |
stats | 503 | drivers/net/tulip.c | if (status & 0x0100) lp->stats.collisions16++; |
stats | 507 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.tx_deferred++; |
stats | 509 | drivers/net/tulip.c | lp->stats.collisions += (status >> 3) & 15; |
stats | 510 | drivers/net/tulip.c | lp->stats.tx_packets++; |
stats | 539 | drivers/net/tulip.c | if (csr5 & 0x0008) lp->stats.tx_errors++; /* Tx babble. */ |
stats | 541 | drivers/net/tulip.c | lp->stats.rx_errors++; |
stats | 542 | drivers/net/tulip.c | lp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 597 | drivers/net/tulip.c | lp->stats.rx_errors++; /* end of a packet.*/ |
stats | 598 | drivers/net/tulip.c | if (status & 0x0890) lp->stats.rx_length_errors++; |
stats | 599 | drivers/net/tulip.c | if (status & 0x0004) lp->stats.rx_frame_errors++; |
stats | 600 | drivers/net/tulip.c | if (status & 0x0002) lp->stats.rx_crc_errors++; |
stats | 601 | drivers/net/tulip.c | if (status & 0x0001) lp->stats.rx_fifo_errors++; |
stats | 617 | drivers/net/tulip.c | lp->stats.rx_dropped++; |
stats | 628 | drivers/net/tulip.c | lp->stats.rx_packets++; |
stats | 656 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 671 | drivers/net/tulip.c | tp->stats.rx_missed_errors += inl(ioaddr + CSR8) & 0xffff; |
stats | 673 | drivers/net/tulip.c | return &tp->stats; |
stats | 124 | drivers/net/tunnel.c | struct enet_statistics *stats; |
stats | 140 | drivers/net/tunnel.c | stats = (struct enet_statistics *)dev->priv; |
stats | 145 | drivers/net/tunnel.c | stats->tx_errors++; |
stats | 214 | drivers/net/tunnel.c | stats->tx_dropped++; |
stats | 258 | drivers/net/tunnel.c | stats->tx_packets++; |
stats | 51 | drivers/net/wavelan.c | en_stats stats; |
stats | 1524 | drivers/net/wavelan.c | lp->stats.rx_errors++; |
stats | 1531 | drivers/net/wavelan.c | lp->stats.rx_length_errors++; |
stats | 1537 | drivers/net/wavelan.c | lp->stats.rx_over_errors++; |
stats | 1543 | drivers/net/wavelan.c | lp->stats.rx_fifo_errors++; |
stats | 1549 | drivers/net/wavelan.c | lp->stats.rx_frame_errors++; |
stats | 1555 | drivers/net/wavelan.c | lp->stats.rx_crc_errors++; |
stats | 1641 | drivers/net/wavelan.c | lp->stats.rx_dropped++; |
stats | 1679 | drivers/net/wavelan.c | lp->stats.rx_packets++; |
stats | 1748 | drivers/net/wavelan.c | lp->stats.tx_packets++; |
stats | 1750 | drivers/net/wavelan.c | lp->stats.collisions += ncollisions; |
stats | 1758 | drivers/net/wavelan.c | lp->stats.tx_errors++; |
stats | 1761 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1767 | drivers/net/wavelan.c | lp->stats.tx_carrier_errors++; |
stats | 1772 | drivers/net/wavelan.c | lp->stats.tx_fifo_errors++; |
stats | 1777 | drivers/net/wavelan.c | lp->stats.tx_heartbeat_errors++; |
stats | 1783 | drivers/net/wavelan.c | lp->stats.tx_aborted_errors++; |
stats | 2013 | 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 | 1053 | drivers/scsi/aic7xxx.c | } stats[2][16][8]; /* channel, target, lun */ |
stats | 3020 | drivers/scsi/aic7xxx.c | sp = &p->stats[cmd->channel & 0x01][cmd->target & 0x0F][cmd->lun & 0x07]; |
stats | 211 | 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 | 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 | 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 | 880 | net/core/dev.c | struct enet_statistics *stats = (dev->get_stats ? dev->get_stats(dev): NULL); |
stats | 883 | net/core/dev.c | if (stats) |
stats | 886 | net/core/dev.c | stats->rx_packets, stats->rx_errors, |
stats | 887 | net/core/dev.c | stats->rx_dropped + stats->rx_missed_errors, |
stats | 888 | net/core/dev.c | stats->rx_fifo_errors, |
stats | 889 | net/core/dev.c | stats->rx_length_errors + stats->rx_over_errors |
stats | 890 | net/core/dev.c | + stats->rx_crc_errors + stats->rx_frame_errors, |
stats | 891 | net/core/dev.c | stats->tx_packets, stats->tx_errors, stats->tx_dropped, |
stats | 892 | net/core/dev.c | stats->tx_fifo_errors, stats->collisions, |
stats | 893 | net/core/dev.c | stats->tx_carrier_errors + stats->tx_aborted_errors |
stats | 894 | 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++; |