taglinefilesource code
stat42arch/i386/boot/compressed/xtract.cstruct stat sb;
stat99arch/i386/boot/tools/build.cstruct stat sb;
stat106arch/i386/boot/tools/build.cif (stat("/", &sb)) {
stat113arch/i386/boot/tools/build.cif (stat(argv[4], &sb)) {
stat129drivers/block/hd.cstatic void dump_status (const char *msg, unsigned int stat)
stat137drivers/block/hd.cprintk("hd%c: %s: status=0x%02x { ", devc, msg, stat & 0xff);
stat138drivers/block/hd.cif (stat & BUSY_STAT)  printk("Busy ");
stat139drivers/block/hd.cif (stat & READY_STAT)  printk("DriveReady ");
stat140drivers/block/hd.cif (stat & WRERR_STAT)  printk("WriteFault ");
stat141drivers/block/hd.cif (stat & SEEK_STAT)  printk("SeekComplete ");
stat142drivers/block/hd.cif (stat & DRQ_STAT)  printk("DataRequest ");
stat143drivers/block/hd.cif (stat & ECC_STAT)  printk("CorrectedError ");
stat144drivers/block/hd.cif (stat & INDEX_STAT)  printk("Index ");
stat145drivers/block/hd.cif (stat & ERR_STAT)  printk("Error ");
stat147drivers/block/hd.cif ((stat & ERR_STAT) == 0) {
stat284drivers/block/hd.cunsigned short stat = inb_p(HD_STATUS);
stat289drivers/block/hd.cif (stat & (BUSY_STAT|ERR_STAT)) {
stat336drivers/block/hd.cunsigned int dev = DEVICE_NR(CURRENT->dev), stat = inb_p(HD_STATUS);
stat340drivers/block/hd.cif (stat & (BUSY_STAT|ERR_STAT)) {
stat342drivers/block/hd.cdump_status("set multmode failed", stat);
stat431drivers/block/hd.cunsigned int stat = inb_p(HD_STATUS);
stat433drivers/block/hd.cif (stat & (BUSY_STAT|DRQ_STAT|ECC_STAT|ERR_STAT)) {
stat434drivers/block/hd.cdump_status ("unexpected interrupt", stat);
stat463drivers/block/hd.cint retries = 100000, stat;
stat466drivers/block/hd.cif ((stat = inb_p(HD_STATUS)) & DRQ_STAT)
stat468drivers/block/hd.cdump_status("wait_DRQ", stat);
stat585drivers/block/ide-cd.cint stat, err, sense_key, cmd;
stat588drivers/block/ide-cd.cstat = GET_STAT();
stat589drivers/block/ide-cd.c*stat_ret = stat;
stat591drivers/block/ide-cd.cif (OK_STAT (stat, good_stat, BAD_R_STAT))
stat611drivers/block/ide-cd.cpc->stat = 1;
stat613drivers/block/ide-cd.cif (ide_error (drive, "request sense failure", stat))
stat648drivers/block/ide-cd.cide_dump_status (drive, "packet command error", stat);
stat659drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat665drivers/block/ide-cd.cpc->stat = 1;
stat668drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat702drivers/block/ide-cd.cide_dump_status (drive, "command error", stat);
stat709drivers/block/ide-cd.cif (ide_error (drive, "cdrom_decode_status", stat))
stat721drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat904drivers/block/ide-cd.cint stat;
stat910drivers/block/ide-cd.cif (cdrom_decode_status (drive, 0, &stat)) return;
stat917drivers/block/ide-cd.cif ((stat & DRQ_STAT) == 0)
stat1190drivers/block/ide-cd.cint ireason, len, stat, thislen;
stat1195drivers/block/ide-cd.cif (cdrom_decode_status (drive, 0, &stat)) return;
stat1203drivers/block/ide-cd.cif ((stat & DRQ_STAT) == 0)
stat1220drivers/block/ide-cd.cpc->stat = 1;
stat1240drivers/block/ide-cd.cpc->stat = 1;
stat1269drivers/block/ide-cd.cpc->stat = 1;
stat1294drivers/block/ide-cd.cpc->stat = 1;
stat1324drivers/block/ide-cd.cpc->stat = 0;
stat1399drivers/block/ide-cd.cif (pc->stat != 0)
stat1424drivers/block/ide-cd.c} while (pc->stat != 0 && retries >= 0);
stat1428drivers/block/ide-cd.cif (pc->stat != 0)
stat1559drivers/block/ide-cd.cint stat;
stat1567drivers/block/ide-cd.cstat = 0;
stat1575drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat1578drivers/block/ide-cd.cif (stat == 0)
stat1588drivers/block/ide-cd.cstat = 0;
stat1592drivers/block/ide-cd.creturn stat;
stat1653drivers/block/ide-cd.cint stat;
stat1663drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat1664drivers/block/ide-cd.cif (stat == 0)
stat1670drivers/block/ide-cd.creturn stat;
stat1702drivers/block/ide-cd.cint stat, ntracks, i;
stat1734drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
stat1738drivers/block/ide-cd.cif (stat) return stat;
stat1745drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
stat1749drivers/block/ide-cd.cif (stat) return stat;
stat1763drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 1,
stat1766drivers/block/ide-cd.cif (stat) return stat;
stat1780drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
stat1781drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
stat1922drivers/block/ide-cd.cint stat;
stat1928drivers/block/ide-cd.cstat = cdrom_play_lba_range_play12 (drive, lba_start, lba_end, reqbuf);
stat1929drivers/block/ide-cd.cif (stat == 0) return 0;
stat1944drivers/block/ide-cd.creturn stat;
stat1954drivers/block/ide-cd.cint stat, ntracks;
stat1958drivers/block/ide-cd.cstat = cdrom_read_toc (drive, reqbuf);
stat1959drivers/block/ide-cd.cif (stat) return stat;
stat1984drivers/block/ide-cd.cint stat;
stat2006drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat2010drivers/block/ide-cd.cif (stat && reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x20 &&
stat2019drivers/block/ide-cd.creturn stat;
stat2030drivers/block/ide-cd.cint stat;
stat2035drivers/block/ide-cd.cstat = cdrom_lockdoor (drive, 0, NULL);
stat2036drivers/block/ide-cd.cif (stat) return stat;
stat2058drivers/block/ide-cd.cint stat;
stat2060drivers/block/ide-cd.cstat = cdrom_startstop (drive, 0, NULL);
stat2061drivers/block/ide-cd.cif (stat) return stat;
stat2069drivers/block/ide-cd.cint stat, lba_start, lba_end;
stat2071drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (msf));
stat2072drivers/block/ide-cd.cif (stat) return stat;
stat2090drivers/block/ide-cd.cint stat, lba_start, lba_end;
stat2094drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti));
stat2095drivers/block/ide-cd.cif (stat) return stat;
stat2099drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk0, &first_toc, NULL);
stat2100drivers/block/ide-cd.cif (stat) return stat;
stat2101drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk1, &last_toc, NULL);
stat2102drivers/block/ide-cd.cif (stat) return stat;
stat2115drivers/block/ide-cd.cint stat;
stat2119drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tochdr));
stat2120drivers/block/ide-cd.cif (stat) return stat;
stat2123drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2124drivers/block/ide-cd.cif (stat) return stat;
stat2132drivers/block/ide-cd.creturn stat;
stat2137drivers/block/ide-cd.cint stat;
stat2141drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry));
stat2142drivers/block/ide-cd.cif (stat) return stat;
stat2143drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry));
stat2144drivers/block/ide-cd.cif (stat) return stat;
stat2148drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, tocentry.cdte_track, &toce, NULL);
stat2149drivers/block/ide-cd.cif (stat) return stat;
stat2167drivers/block/ide-cd.creturn stat;
stat2173drivers/block/ide-cd.cint stat, abs_lba, rel_lba;
stat2176drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (subchnl));
stat2177drivers/block/ide-cd.cif (stat) return stat;
stat2178drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (subchnl));
stat2179drivers/block/ide-cd.cif (stat) return stat;
stat2183drivers/block/ide-cd.cstat = cdrom_read_subchannel (drive, buffer, sizeof (buffer), NULL);
stat2184drivers/block/ide-cd.cif (stat) return stat;
stat2215drivers/block/ide-cd.creturn stat;
stat2222drivers/block/ide-cd.cint stat;
stat2224drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (volctrl));
stat2225drivers/block/ide-cd.cif (stat) return stat;
stat2228drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer),NULL);
stat2229drivers/block/ide-cd.cif (stat) return stat;
stat2230drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 1, mask  , sizeof (buffer),NULL);
stat2231drivers/block/ide-cd.cif (stat) return stat;
stat2247drivers/block/ide-cd.cint stat;
stat2249drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (volctrl));
stat2250drivers/block/ide-cd.cif (stat) return stat;
stat2252drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer), NULL);
stat2253drivers/block/ide-cd.cif (stat) return stat;
stat2269drivers/block/ide-cd.cint stat;
stat2271drivers/block/ide-cd.cstat = verify_area (VERIFY_READ,  (void *)arg, sizeof (ms_info));
stat2272drivers/block/ide-cd.cif (stat) return stat;
stat2273drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *)arg, sizeof (ms_info));
stat2274drivers/block/ide-cd.cif (stat) return stat;
stat2279drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2280drivers/block/ide-cd.cif (stat) return stat;
stat2306drivers/block/ide-cd.cint stat, lba;
stat2312drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2313drivers/block/ide-cd.cif (stat) return stat;
stat2317drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (char *)arg, sizeof (ra));
stat2318drivers/block/ide-cd.cif (stat) return stat;
stat2327drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (char *)ra.buf,
stat2329drivers/block/ide-cd.cif (stat) return stat;
stat2346drivers/block/ide-cd.cstat = cdrom_read_block (drive, 1, lba, buf,
stat2348drivers/block/ide-cd.cif (stat) return stat;
stat2362drivers/block/ide-cd.cint blocksize, format, stat, lba;
stat2377drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (char *)arg, sizeof (msf));
stat2378drivers/block/ide-cd.cif (stat) return stat;
stat2379drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (char *)arg, blocksize);
stat2380drivers/block/ide-cd.cif (stat) return stat;
stat2387drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2388drivers/block/ide-cd.cif (stat) return stat;
stat2395drivers/block/ide-cd.cstat = cdrom_read_block (drive, format, lba, buf, blocksize, NULL);
stat2396drivers/block/ide-cd.cif (stat) return stat;
stat2417drivers/block/ide-cd.cint stat;
stat2423drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c));
stat2424drivers/block/ide-cd.cif (stat) return stat;
stat2428drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (len));
stat2429drivers/block/ide-cd.cif (stat) return stat;
stat2434drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, len);
stat2435drivers/block/ide-cd.cif (stat) return stat;
stat2448drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat2454drivers/block/ide-cd.creturn stat;
stat2495drivers/block/ide-cd.cint stat;
stat2500drivers/block/ide-cd.cstat = cdrom_check_status (drive, &my_reqbuf);
stat2503drivers/block/ide-cd.cif (stat && my_reqbuf.sense_key == NOT_READY)
stat2506drivers/block/ide-cd.cstat = cdrom_check_status (drive, &my_reqbuf);
stat2510drivers/block/ide-cd.cif (stat && my_reqbuf.sense_key != UNIT_ATTENTION)
stat588drivers/block/ide.cbyte stat;
stat593drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(), 0, BUSY_STAT)) {
stat598drivers/block/ide.cprintk("%s: ATAPI reset timed-out, status=0x%02x\n", drive->name, stat);
stat749drivers/block/ide.cstatic void end_drive_cmd (ide_drive_t *drive, byte stat, byte err)
stat755drivers/block/ide.crq->errors = !OK_STAT(stat,READY_STAT,BAD_STAT);
stat757drivers/block/ide.cargs[0] = stat;
stat771drivers/block/ide.cbyte ide_dump_status (ide_drive_t *drive, const char *msg, byte stat)
stat778drivers/block/ide.cprintk("%s: %s: status=0x%02x", drive->name, msg, stat);
stat782drivers/block/ide.cif (stat & BUSY_STAT)
stat785drivers/block/ide.cif (stat & READY_STAT)  printk("DriveReady ");
stat786drivers/block/ide.cif (stat & WRERR_STAT)  printk("DeviceFault ");
stat787drivers/block/ide.cif (stat & SEEK_STAT)  printk("SeekComplete ");
stat788drivers/block/ide.cif (stat & DRQ_STAT)  printk("DataRequest ");
stat789drivers/block/ide.cif (stat & ECC_STAT)  printk("CorrectedError ");
stat790drivers/block/ide.cif (stat & INDEX_STAT)  printk("Index ");
stat791drivers/block/ide.cif (stat & ERR_STAT)  printk("Error ");
stat797drivers/block/ide.cif ((stat & (BUSY_STAT|ERR_STAT)) == ERR_STAT) {
stat862drivers/block/ide.cint ide_error (ide_drive_t *drive, const char *msg, byte stat)
stat867drivers/block/ide.cerr = ide_dump_status(drive, msg, stat);
stat871drivers/block/ide.cend_drive_cmd(drive, stat, err);
stat874drivers/block/ide.cif (stat & BUSY_STAT) {    /* other bits are useless when BUSY */
stat877drivers/block/ide.cif (drive->media == disk && (stat & ERR_STAT)) {
stat884drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd != WRITE)
stat916drivers/block/ide.cbyte stat;
stat921drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(),DATA_READY,BAD_R_STAT)) {
stat923drivers/block/ide.cif (!ide_error(drive, "read_intr", stat))
stat962drivers/block/ide.cbyte stat;
stat966drivers/block/ide.cif (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
stat972drivers/block/ide.cif ((rq->nr_sectors == 1) ^ ((stat & DRQ_STAT) != 0)) {
stat990drivers/block/ide.cif (!ide_error(drive, "write_intr", stat))
stat1036drivers/block/ide.cbyte stat;
stat1040drivers/block/ide.cif (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
stat1041drivers/block/ide.cif (stat & DRQ_STAT) {
stat1060drivers/block/ide.cif (!ide_error(drive, "multwrite_intr", stat))
stat1081drivers/block/ide.cbyte stat = GET_STAT();
stat1084drivers/block/ide.cif (OK_STAT(stat,READY_STAT,BAD_STAT)) {
stat1089drivers/block/ide.c(void) ide_dump_status(drive, "set_multmode", stat);
stat1099drivers/block/ide.cbyte stat = GET_STAT();
stat1102drivers/block/ide.cif (!OK_STAT(stat,READY_STAT,BAD_STAT))
stat1103drivers/block/ide.cif (ide_error(drive, "set_geometry_intr", stat))
stat1113drivers/block/ide.cbyte stat = GET_STAT();
stat1116drivers/block/ide.cif (!OK_STAT(stat,READY_STAT,BAD_STAT))
stat1117drivers/block/ide.cif (ide_error(drive, "recal_intr", stat))
stat1127drivers/block/ide.cbyte stat = GET_STAT();
stat1130drivers/block/ide.cif (OK_STAT(stat,READY_STAT,BAD_STAT))
stat1131drivers/block/ide.cend_drive_cmd (drive, stat, GET_ERR());
stat1132drivers/block/ide.celse if (ide_error(drive, "drive_cmd", stat)) /* calls end_drive_cmd */
stat1189drivers/block/ide.cbyte stat;
stat1193drivers/block/ide.cif (OK_STAT((stat = GET_STAT()), good, bad))
stat1195drivers/block/ide.cif (!(stat & BUSY_STAT)) {
stat1196drivers/block/ide.c(void) ide_error(drive, "status error", stat);
stat1204drivers/block/ide.cif (!((stat = GET_STAT()) & BUSY_STAT)) {
stat1518drivers/block/ide.cbyte stat;
stat1544drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(), drive->ready_stat, BAD_STAT))
stat1545drivers/block/ide.c(void) ide_dump_status(drive, "unexpected_intr", stat);
stat1546drivers/block/ide.cif ((stat & DRQ_STAT))
stat117drivers/block/ide.h#define OK_STAT(stat,good,bad)  (((stat)&((good)|(bad)))==(good))
stat166drivers/block/ide.hint stat;
stat385drivers/block/ide.hbyte ide_dump_status (ide_drive_t *drive, const char *msg, byte stat);
stat394drivers/block/ide.hint ide_error (ide_drive_t *drive, const char *msg, byte stat);
stat1077drivers/block/sjcd.cunsigned char stat;
stat1079drivers/block/sjcd.csjcd_s_data: stat = inb( SJCDPORT( 1 ) ) & 0x0B;
stat1081drivers/block/sjcd.cprintk( "SJCD_S_DATA: status = 0x%02x\n", stat );
stat1083drivers/block/sjcd.cif( stat == 0x09 ){
stat1107drivers/block/sjcd.c} else if( stat == 0x0A ){
stat1179drivers/block/sjcd.cunsigned char stat;
stat1181drivers/block/sjcd.cstat = inb( SJCDPORT( 1 ) ) & 0x0B;
stat1183drivers/block/sjcd.cprintk( "SJCD_S_STOP: status = 0x%02x\n", stat );
stat1185drivers/block/sjcd.cif( stat == 0x0A ){
stat1195drivers/block/sjcd.c} else if( stat == 0x09 ){
stat112drivers/block/triton.cbyte stat, dma_stat;
stat119drivers/block/triton.cstat = GET_STAT();      /* get drive status */
stat120drivers/block/triton.cif (OK_STAT(stat,DRIVE_READY,drive->bad_wstat|DRQ_STAT)) {
stat133drivers/block/triton.cif (!ide_error(drive, "dma_intr", stat))
stat637drivers/char/scc.cscc->stat.tx_state = TXS_NEWFRAME;
stat640drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat652drivers/char/scc.cscc->stat.txints++;
stat661drivers/char/scc.cif (--scc->stat.tx_queued < 0)
stat662drivers/char/scc.cscc->stat.tx_queued = 0;
stat670drivers/char/scc.cif (scc->stat.tx_state == TXS_NEWFRAME)
stat679drivers/char/scc.cscc->stat.tx_state = TXS_ACTIVE;/* next byte... */
stat717drivers/char/scc.cscc->stat.rxerrs++;  /* then count it as an error */
stat731drivers/char/scc.cscc->stat.exints++;
stat770drivers/char/scc.cif ((scc->stat.tx_state == TXS_ACTIVE) && (status & TxEOM))
stat772drivers/char/scc.cscc->stat.tx_under++;    /* oops, an underrun! count 'em */
stat778drivers/char/scc.cif (--scc->stat.tx_queued < 0) scc->stat.tx_queued = 0;
stat784drivers/char/scc.cscc->stat.tx_under = 9999;  /* errr... yes. */
stat788drivers/char/scc.cif (--scc->stat.tx_queued < 0) scc->stat.tx_queued = 0;
stat804drivers/char/scc.cscc->stat.rxints++;
stat832drivers/char/scc.cscc->stat.nospace++;    /* and count this error */
stat870drivers/char/scc.cscc->stat.spints++;
stat878drivers/char/scc.cscc->stat.rx_over++;                /* count them */
stat896drivers/char/scc.cscc->stat.rxframes++;
stat897drivers/char/scc.cscc->stat.rx_queued++;
stat901drivers/char/scc.cscc->stat.rxerrs++;
stat1164drivers/char/scc.cif (scc->stat.tx_state != TXS_BUSY)
stat1186drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1190drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1198drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1217drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1232drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1240drivers/char/scc.cif (scc->stat.rx_queued > QUEUE_THRES)
stat1245drivers/char/scc.c" (%d) but queue is empty\n", scc->stat.rx_queued);
stat1247drivers/char/scc.cscc->stat.rx_queued = 0;  /* correct it */
stat1248drivers/char/scc.cscc->stat.nospace = 12345;  /* draw attention to it */
stat1254drivers/char/scc.cwhile (bp && (scc->stat.rx_queued > QUEUE_HYST))
stat1257drivers/char/scc.cscc->stat.rx_queued--;
stat1258drivers/char/scc.cscc->stat.nospace++;
stat1326drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1458drivers/char/scc.cscc->stat.txframes++;
stat1459drivers/char/scc.cscc->stat.tx_queued++;
stat1464drivers/char/scc.cif(scc->stat.tx_state == TXS_IDLE)
stat1467drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1493drivers/char/scc.cswitch (scc->stat.tx_kiss_state) 
stat1501drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1502drivers/char/scc.c} else scc->stat.txerrs++;
stat1507drivers/char/scc.cscc->stat.tx_kiss_state = KISS_ESCAPE;
stat1511drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat1520drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1525drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1531drivers/char/scc.cscc->stat.txerrs++;
stat1532drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat1554drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE;
stat1566drivers/char/scc.cif (scc->stat.rx_kiss_state == KISS_IDLE)
stat1573drivers/char/scc.cscc->stat.rx_kiss_state = KISS_RXFRAME;
stat1607drivers/char/scc.cif (--scc->stat.rx_queued < 0)
stat1608drivers/char/scc.cscc->stat.rx_queued = 0;
stat1610drivers/char/scc.cif (scc->stat.rx_kiss_state == KISS_RXFRAME)  /* new packet? */
stat1613drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE; /* generate FEND for new frame */
stat1747drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;  /* don't change this... */
stat1748drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE;  /* ...or this */
stat1806drivers/char/scc.cif (scc->stat.tx_state == 0)  /* only switch baudrate on rx... ;-) */
stat1963drivers/char/scc.cif(scc->stat.tx_state == TXS_IDLE && !Running(t_idle))
stat2001drivers/char/scc.cscc->stat.used_buf = scc_count_used_buffers(&scc->stat.rx_alloc, 
stat2002drivers/char/scc.c&scc->stat.tx_alloc);
stat2004drivers/char/scc.cmemcpy_tofs((void *) arg, &scc->stat, sizeof(struct scc_stat));
stat2111drivers/char/scc.cif (scc->stat.tx_queued > QUEUE_THRES)
stat2116drivers/char/scc.c" (%d) but queue is empty\n", scc->stat.tx_queued);
stat2118drivers/char/scc.cscc->stat.tx_queued = 0;  /* correct it */
stat2119drivers/char/scc.cscc->stat.nospace = 54321;  /* draw attention to it */
stat2125drivers/char/scc.cwhile (bp && (scc->stat.tx_queued > QUEUE_HYST))
stat2128drivers/char/scc.cscc->stat.tx_queued--;
stat2129drivers/char/scc.cscc->stat.nospace++;
stat2175drivers/char/scc.cscc->stat.nospace++;
stat2217drivers/char/scc.cif (scc->stat.tx_alloc >= QUEUE_THRES)
stat2243drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat643drivers/char/tpqic02.c{ int stat = inb_p(QIC02_STAT_PORT);
stat644drivers/char/tpqic02.cstatus_dead = ((stat & QIC02_STAT_RESETMASK) != QIC02_STAT_RESETVAL); }
stat718drivers/char/tpqic02.cint stat;
stat728drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (--spin_t>0))
stat730drivers/char/tpqic02.cif ((stat & QIC02_STAT_READY) == 0)
stat740drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (jiffies<spin_t))
stat742drivers/char/tpqic02.cif ((stat & QIC02_STAT_READY) == 0)
stat755drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (jiffies<spin_t)) {
stat763drivers/char/tpqic02.cif ((stat & QIC02_STAT_MASK) == QIC02_STAT_MASK) {
stat768drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {
stat781drivers/char/tpqic02.cint i, stat;
stat785drivers/char/tpqic02.cstat = wait_for_ready(TIM_S);
stat786drivers/char/tpqic02.cif (stat != TE_OK)
stat787drivers/char/tpqic02.creturn stat;
stat789drivers/char/tpqic02.cstat = notify_cmd(sb[i], ignore_ex);
stat790drivers/char/tpqic02.cif (stat != TE_OK)
stat791drivers/char/tpqic02.creturn stat;
stat807drivers/char/tpqic02.cint stat;
stat809drivers/char/tpqic02.cstat = inb_p(QIC02_STAT_PORT);
stat810drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {  /* if exception */
stat814drivers/char/tpqic02.cif (stat & QIC02_STAT_READY) {      /* if not ready */
stat826drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
stat830drivers/char/tpqic02.cstat = send_qic02_data(seek_addr_buf, sizeof(seek_addr_buf), ignore_ex);
stat833drivers/char/tpqic02.cif (stat != TE_OK) {
stat836drivers/char/tpqic02.creturn stat;
stat925drivers/char/tpqic02.cint stat = rdstatus((char *) stp, TPSTATSIZE, QCMD_RD_STAT);
stat932drivers/char/tpqic02.creturn stat;
stat947drivers/char/tpqic02.cint stat, i;
stat950drivers/char/tpqic02.cstat = rdstatus(vus, sizeof(vus), QCMD_RD_STAT_X3);
stat951drivers/char/tpqic02.cif (stat != TE_OK)
stat952drivers/char/tpqic02.creturn stat;
stat1055drivers/char/tpqic02.cint stat;
stat1057drivers/char/tpqic02.cstat = inb(QIC02_STAT_PORT) & QIC02_STAT_MASK;
stat1059drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Waiting for (re-)wind to finish: stat=0x%x\n", stat);
stat1061drivers/char/tpqic02.cstat = wait_for_ready(timeout);
stat1063drivers/char/tpqic02.cif (stat != TE_OK) {
stat1066drivers/char/tpqic02.creturn stat;
stat1079drivers/char/tpqic02.cint stat;
stat1086drivers/char/tpqic02.cstat = wait_for_ready(timeout);    /* wait for ready or exception */
stat1087drivers/char/tpqic02.cif (stat == TE_EX) {
stat1091drivers/char/tpqic02.cstat = TE_OK;
stat1093drivers/char/tpqic02.cif (stat != TE_OK) {
stat1104drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
stat1128drivers/char/tpqic02.cif (stat==TE_EX) {
stat1136drivers/char/tpqic02.celse if (stat!=TE_OK) {
stat1137drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd: send_qic02_cmd failed, stat = 0x%x\n", stat);
stat1143drivers/char/tpqic02.cstat = wait_for_rewind(timeout);
stat1145drivers/char/tpqic02.cstat = wait_for_ready(timeout);
stat1147drivers/char/tpqic02.cif (stat==TE_EX) {
stat1158drivers/char/tpqic02.celse if (stat!=TE_OK) {
stat1159drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
stat1221drivers/char/tpqic02.cint stat;
stat1228drivers/char/tpqic02.cstat = ll_do_qic_cmd(QCMD_WRT_FM, TIM_M);
stat1229drivers/char/tpqic02.cif (stat != TE_OK)
stat1260drivers/char/tpqic02.cint stat;
stat1267drivers/char/tpqic02.cstat = ll_do_qic_cmd(QCMD_REWIND, TIM_R);
stat1268drivers/char/tpqic02.cif (stat != 0) {
stat1269drivers/char/tpqic02.cprintk(TPQIC02_NAME ": rewind failed in do_qic_cmd(). stat=0x%2x", stat);
stat1270drivers/char/tpqic02.creturn stat;
stat1287drivers/char/tpqic02.cint stat;
stat1311drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_RD_FM_BCK, TIM_F);
stat1313drivers/char/tpqic02.cstat = -ENXIO;
stat1316drivers/char/tpqic02.creturn stat;
stat1323drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SPACE_FWD, TIM_F);
stat1327drivers/char/tpqic02.cstat = -ENXIO;
stat1329drivers/char/tpqic02.creturn stat;
stat1337drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SPACE_BCK, TIM_F);
stat1340drivers/char/tpqic02.cstat = -ENXIO;
stat1343drivers/char/tpqic02.creturn stat;
stat1373drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_REWIND, TIM_R);
stat1374drivers/char/tpqic02.creturn stat;
stat1429drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_REWIND, TIM_R);
stat1430drivers/char/tpqic02.cif (stat)
stat1431drivers/char/tpqic02.creturn stat;
stat1432drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SEEK_EOD, TIM_F);
stat1436drivers/char/tpqic02.cstat = 0;
stat1437drivers/char/tpqic02.cwhile ((stat==0) && (!status_eom_detected)) {
stat1438drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_RD_FM, TIM_F); /***** should use MTFSFM here???? ******/
stat1443drivers/char/tpqic02.creturn stat;
stat1469drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SELF_TST1, TIM_R);
stat1470drivers/char/tpqic02.cif (stat != 0) {
stat1472drivers/char/tpqic02.creturn stat;
stat1482drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SELF_TST2, TIM_R);
stat1483drivers/char/tpqic02.cif (stat != 0) {
stat1485drivers/char/tpqic02.creturn stat;
stat1578drivers/char/tpqic02.cint stat;
stat1609drivers/char/tpqic02.cstat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL);
stat1610drivers/char/tpqic02.cif (stat != TE_OK)
stat1611drivers/char/tpqic02.creturn stat;
stat1629drivers/char/tpqic02.cstat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0);
stat1630drivers/char/tpqic02.cif (stat!=TE_OK) {
stat1634drivers/char/tpqic02.creturn stat;
stat1692drivers/char/tpqic02.cint stat = TE_OK;
stat1710drivers/char/tpqic02.cstat = wait_for_ready(TIM_M);
stat1711drivers/char/tpqic02.cif (status_error || (stat!=TE_OK)) {
stat1713drivers/char/tpqic02.cstat = tp_sense((dma_mode==READ)? TP_WRP : 0);
stat1801drivers/char/tpqic02.cint stat, r, i;
stat1810drivers/char/tpqic02.cstat = inb(QIC02_STAT_PORT);  /* Knock, knock */
stat1812drivers/char/tpqic02.cif (((stat & (AR_STAT_DMADONE)) == 0) &&
stat1813drivers/char/tpqic02.c((stat & (QIC02_STAT_EXCEPTION)) != 0)) {
stat1819drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {  /* exception occurred */
stat1827drivers/char/tpqic02.cprintk("      status %02x\n", stat);
stat1845drivers/char/tpqic02.cif (stat & QIC02_STAT_READY) {    /* not ready */
stat1924drivers/char/tpqic02.cint stat;
stat2014drivers/char/tpqic02.cstat = start_dma(READ, bytes_todo);
stat2015drivers/char/tpqic02.cif (stat == TE_OK) {
stat2022drivers/char/tpqic02.c} else if (stat != TE_END) {
stat2027drivers/char/tpqic02.cprintk("Trouble: stat==%02x\n", stat);
stat407drivers/net/3c505.cint stat;
stat417drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr))&ACRF) == 0 && jiffies < timeout)
stat428drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr)) & ACRF) == 0 && jiffies < timeout)
stat447drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr))&ACRF) == 0 && j++ < 20000)
stat452drivers/net/3c505.c} while ((stat & ASF_PCB_MASK) != ASF_PCB_END && j < 20000);
stat1031drivers/net/3c505.cint stat;
stat1035drivers/net/3c505.cif (((stat=inb_status(dev->base_addr))&ACRF) != 0) 
stat1037drivers/net/3c505.cprintk("%s: status %#02x\n", dev->name, stat);
stat163drivers/net/8390.cif(ei_local->stat.tx_packets==0)
stat302drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);
stat303drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);
stat304drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);
stat385drivers/net/8390.cif (status & ENTSR_COL) ei_local->stat.collisions++;
stat387drivers/net/8390.cei_local->stat.tx_packets++;
stat389drivers/net/8390.cei_local->stat.tx_errors++;
stat390drivers/net/8390.cif (status & ENTSR_ABT) ei_local->stat.tx_aborted_errors++;
stat391drivers/net/8390.cif (status & ENTSR_CRS) ei_local->stat.tx_carrier_errors++;
stat392drivers/net/8390.cif (status & ENTSR_FU)  ei_local->stat.tx_fifo_errors++;
stat393drivers/net/8390.cif (status & ENTSR_CDH) ei_local->stat.tx_heartbeat_errors++;
stat394drivers/net/8390.cif (status & ENTSR_OWC) ei_local->stat.tx_window_errors++;
stat450drivers/net/8390.cei_local->stat.rx_errors++;
stat459drivers/net/8390.cei_local->stat.rx_errors++;
stat468drivers/net/8390.cei_local->stat.rx_dropped++;
stat478drivers/net/8390.cei_local->stat.rx_packets++;
stat487drivers/net/8390.cei_local->stat.rx_fifo_errors++;
stat526drivers/net/8390.cei_local->stat.rx_over_errors++;
stat558drivers/net/8390.cif (dev->start == 0) return &ei_local->stat;
stat561drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
stat562drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
stat563drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
stat565drivers/net/8390.creturn &ei_local->stat;
stat60drivers/net/8390.hstruct enet_statistics stat;
stat115drivers/net/apricot.cunsigned short stat;
stat142drivers/net/apricot.cunsigned long stat;
stat161drivers/net/apricot.cunsigned long stat;
stat215drivers/net/apricot.crfd->stat = 0x0000;
stat273drivers/net/apricot.clp->iscp.stat = 0x0001;
stat284drivers/net/apricot.cwhile (lp->iscp.stat)
stat337drivers/net/apricot.cwhile ((lp->scb.rfd->stat) & STAT_C)
stat341drivers/net/apricot.cif ((lp->scb.rfd->stat) & STAT_OK)
stat368drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++;
stat369drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++;
stat370drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++;
stat371drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++;
stat372drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++;
stat373drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++;
stat374drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++;
stat377drivers/net/apricot.clp->scb.rfd->stat = 0;
stat731drivers/net/ni52.cunsigned short stat;
stat742drivers/net/ni52.cwhile((stat=p->scb->status & STAT_MASK))
stat744drivers/net/ni52.cp->scb->cmd = stat;
stat747drivers/net/ni52.cif(stat & STAT_CX)    /* command with I-bit set complete */
stat750drivers/net/ni52.cif(stat & STAT_FR)   /* received a frame */
stat754drivers/net/ni52.cif(stat & STAT_CNA)  /* CU went 'not ready' */
stat757drivers/net/ni52.cprintk("%s: oops! CU has left active state. stat: %04x/%04x.\n",dev->name,(int) stat,(int) p->scb->status);
stat761drivers/net/ni52.cif(stat & STAT_RNR) /* RU went 'not ready' */
stat771drivers/net/ni52.cprintk("%s: Receiver-Unit went 'NOT READY': %04x/%04x.\n",dev->name,(int) stat,(int) p->scb->status);
stat133drivers/scsi/eata_pio.cunchar stat,odd;
stat154drivers/scsi/eata_pio.cstat=inb(base+HA_RSTATUS);
stat155drivers/scsi/eata_pio.cif (stat&HA_SDRQ)
stat216drivers/scsi/eata_pio.cwhile ((stat&HA_SDRQ)||((stat&HA_SMORE)&&hd->moresupport));
stat221drivers/scsi/eata_pio.cif (stat&HA_SBUSY) break;
stat245drivers/scsi/eata_pio.cif (stat != 0x50) 
stat246drivers/scsi/eata_pio.cprintk("stat: %#.2x, result: %#.8x\n", stat, cmd->result); 
stat392drivers/scsi/wd7000.cunchar stat;                  /* (outgoing) completion status byte 1 */
stat268drivers/sound/gus_midi.cunsigned char   stat, data;
stat273drivers/sound/gus_midi.cstat = GUS_MIDI_STATUS ();
stat275drivers/sound/gus_midi.cif (stat & MIDI_RCV_FULL)
stat282drivers/sound/gus_midi.cif (stat & MIDI_XMIT_EMPTY)
stat301drivers/sound/gus_midi.cif (stat & MIDI_FRAME_ERR)
stat303drivers/sound/gus_midi.cif (stat & MIDI_OVERRUN && input_opened)
stat274drivers/sound/pas2_midi.cunsigned char   stat;
stat278drivers/sound/pas2_midi.cstat = pas_read (MIDI_STATUS);
stat280drivers/sound/pas2_midi.cif (stat & M_S_INPUT_AVAIL)  /*
stat301drivers/sound/pas2_midi.cif (stat & (M_S_OUTPUT_EMPTY | M_S_OUTPUT_HALF_EMPTY))
stat303drivers/sound/pas2_midi.cif (!(stat & M_S_OUTPUT_EMPTY))
stat324drivers/sound/pas2_midi.cif (stat & M_S_FRAMING_ERROR)
stat328drivers/sound/pas2_midi.cif (stat & M_S_OUTPUT_OVERRUN)
stat330drivers/sound/pas2_midi.cprintk ("MIDI output overrun %x,%x,%d \n", pas_read (MIDI_FIFO_STATUS), stat, ofifo_bytes);
stat334drivers/sound/pas2_midi.cpas_write (stat, MIDI_STATUS);  /*
stat71fs/nfs/proc.cstatic int nfs_stat_to_errno(int stat);
stat896fs/nfs/proc.cint stat;
stat924fs/nfs/proc.cstatic int nfs_stat_to_errno(int stat)
stat928fs/nfs/proc.cfor (i = 0; nfs_errtbl[i].stat != -1; i++) {
stat929fs/nfs/proc.cif (nfs_errtbl[i].stat == stat)
stat932fs/nfs/proc.cprintk("nfs_stat_to_errno: bad nfs status return value: %d\n", stat);
stat279fs/umsdos/ioctl.cdata.stat.st_ino = inode->i_ino;
stat280fs/umsdos/ioctl.cdata.stat.st_mode = inode->i_mode;
stat281fs/umsdos/ioctl.cdata.stat.st_size = inode->i_size;
stat282fs/umsdos/ioctl.cdata.stat.st_atime = inode->i_atime;
stat283fs/umsdos/ioctl.cdata.stat.st_ctime = inode->i_ctime;
stat284fs/umsdos/ioctl.cdata.stat.st_mtime = inode->i_mtime;
stat285fs/umsdos/ioctl.cmemcpy_tofs (&idata->stat,&data.stat,sizeof(data.stat));
stat240include/linux/scc.hstruct scc_stat stat;  /* statistical information */
stat118include/linux/umsdos_fs.h}stat;