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->rq_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);
stat613drivers/block/ide-cd.cint stat, err, sense_key, cmd;
stat616drivers/block/ide-cd.cstat = GET_STAT();
stat617drivers/block/ide-cd.c*stat_ret = stat;
stat619drivers/block/ide-cd.cif (OK_STAT (stat, good_stat, BAD_R_STAT))
stat639drivers/block/ide-cd.cpc->stat = 1;
stat641drivers/block/ide-cd.cif (ide_error (drive, "request sense failure", stat))
stat676drivers/block/ide-cd.cide_dump_status (drive, "packet command error", stat);
stat687drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat693drivers/block/ide-cd.cpc->stat = 1;
stat696drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat730drivers/block/ide-cd.cide_dump_status (drive, "command error", stat);
stat737drivers/block/ide-cd.cif (ide_error (drive, "cdrom_decode_status", stat))
stat749drivers/block/ide-cd.cif ((stat & ERR_STAT) != 0)
stat938drivers/block/ide-cd.cint stat;
stat944drivers/block/ide-cd.cif (cdrom_decode_status (drive, 0, &stat)) return;
stat951drivers/block/ide-cd.cif ((stat & DRQ_STAT) == 0)
stat1222drivers/block/ide-cd.cint ireason, len, stat, thislen;
stat1227drivers/block/ide-cd.cif (cdrom_decode_status (drive, 0, &stat)) return;
stat1235drivers/block/ide-cd.cif ((stat & DRQ_STAT) == 0)
stat1252drivers/block/ide-cd.cpc->stat = 1;
stat1272drivers/block/ide-cd.cpc->stat = 1;
stat1301drivers/block/ide-cd.cpc->stat = 1;
stat1326drivers/block/ide-cd.cpc->stat = 1;
stat1353drivers/block/ide-cd.cpc->stat = 0;
stat1429drivers/block/ide-cd.cif (pc->stat != 0)
stat1454drivers/block/ide-cd.c} while (pc->stat != 0 && retries >= 0);
stat1458drivers/block/ide-cd.cif (pc->stat != 0)
stat1589drivers/block/ide-cd.cint stat;
stat1597drivers/block/ide-cd.cstat = 0;
stat1605drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat1608drivers/block/ide-cd.cif (stat == 0)
stat1618drivers/block/ide-cd.cstat = 0;
stat1622drivers/block/ide-cd.creturn stat;
stat1683drivers/block/ide-cd.cint stat;
stat1693drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat1694drivers/block/ide-cd.cif (stat == 0)
stat1700drivers/block/ide-cd.creturn stat;
stat1732drivers/block/ide-cd.cint stat, ntracks, i;
stat1764drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
stat1768drivers/block/ide-cd.cif (stat) return stat;
stat1775drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 0, (char *)&toc->hdr,
stat1779drivers/block/ide-cd.cif (stat) return stat;
stat1793drivers/block/ide-cd.cstat = cdrom_read_tocentry (drive, 0, msf_flag, 1,
stat1796drivers/block/ide-cd.cif (stat) return stat;
stat1810drivers/block/ide-cd.cstat = cdrom_read_capacity (drive, &toc->capacity, reqbuf);
stat1811drivers/block/ide-cd.cif (stat) toc->capacity = 0x1fffff;
stat1953drivers/block/ide-cd.cint stat;
stat1959drivers/block/ide-cd.cstat = cdrom_play_lba_range_play12 (drive, lba_start, lba_end, reqbuf);
stat1960drivers/block/ide-cd.cif (stat == 0) return 0;
stat1975drivers/block/ide-cd.creturn stat;
stat1985drivers/block/ide-cd.cint stat, ntracks;
stat1989drivers/block/ide-cd.cstat = cdrom_read_toc (drive, reqbuf);
stat1990drivers/block/ide-cd.cif (stat) return stat;
stat2015drivers/block/ide-cd.cint stat;
stat2037drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat2041drivers/block/ide-cd.cif (stat && reqbuf->sense_key == ILLEGAL_REQUEST && reqbuf->asc == 0x20 &&
stat2050drivers/block/ide-cd.creturn stat;
stat2061drivers/block/ide-cd.cint stat;
stat2066drivers/block/ide-cd.cstat = cdrom_lockdoor (drive, 0, NULL);
stat2067drivers/block/ide-cd.cif (stat) return stat;
stat2089drivers/block/ide-cd.cint stat;
stat2091drivers/block/ide-cd.cstat = cdrom_startstop (drive, 0, NULL);
stat2092drivers/block/ide-cd.cif (stat) return stat;
stat2100drivers/block/ide-cd.cint stat, lba_start, lba_end;
stat2102drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (msf));
stat2103drivers/block/ide-cd.cif (stat) return stat;
stat2121drivers/block/ide-cd.cint stat, lba_start, lba_end;
stat2125drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *)arg, sizeof (ti));
stat2126drivers/block/ide-cd.cif (stat) return stat;
stat2130drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk0, &first_toc, NULL);
stat2131drivers/block/ide-cd.cif (stat) return stat;
stat2132drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, ti.cdti_trk1, &last_toc, NULL);
stat2133drivers/block/ide-cd.cif (stat) return stat;
stat2146drivers/block/ide-cd.cint stat;
stat2150drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tochdr));
stat2151drivers/block/ide-cd.cif (stat) return stat;
stat2154drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2155drivers/block/ide-cd.cif (stat) return stat;
stat2163drivers/block/ide-cd.creturn stat;
stat2168drivers/block/ide-cd.cint stat;
stat2172drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (tocentry));
stat2173drivers/block/ide-cd.cif (stat) return stat;
stat2174drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (tocentry));
stat2175drivers/block/ide-cd.cif (stat) return stat;
stat2179drivers/block/ide-cd.cstat = cdrom_get_toc_entry (drive, tocentry.cdte_track, &toce, NULL);
stat2180drivers/block/ide-cd.cif (stat) return stat;
stat2198drivers/block/ide-cd.creturn stat;
stat2204drivers/block/ide-cd.cint stat, abs_lba, rel_lba;
stat2207drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (subchnl));
stat2208drivers/block/ide-cd.cif (stat) return stat;
stat2209drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (subchnl));
stat2210drivers/block/ide-cd.cif (stat) return stat;
stat2214drivers/block/ide-cd.cstat = cdrom_read_subchannel (drive, buffer, sizeof (buffer), NULL);
stat2215drivers/block/ide-cd.cif (stat) return stat;
stat2246drivers/block/ide-cd.creturn stat;
stat2253drivers/block/ide-cd.cint stat;
stat2255drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (volctrl));
stat2256drivers/block/ide-cd.cif (stat) return stat;
stat2259drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer),NULL);
stat2260drivers/block/ide-cd.cif (stat) return stat;
stat2261drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 1, mask  , sizeof (buffer),NULL);
stat2262drivers/block/ide-cd.cif (stat) return stat;
stat2278drivers/block/ide-cd.cint stat;
stat2280drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, sizeof (volctrl));
stat2281drivers/block/ide-cd.cif (stat) return stat;
stat2283drivers/block/ide-cd.cstat = cdrom_mode_sense (drive, 0x0e, 0, buffer, sizeof (buffer), NULL);
stat2284drivers/block/ide-cd.cif (stat) return stat;
stat2300drivers/block/ide-cd.cint stat;
stat2302drivers/block/ide-cd.cstat = verify_area (VERIFY_READ,  (void *)arg, sizeof (ms_info));
stat2303drivers/block/ide-cd.cif (stat) return stat;
stat2304drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *)arg, sizeof (ms_info));
stat2305drivers/block/ide-cd.cif (stat) return stat;
stat2310drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2311drivers/block/ide-cd.cif (stat) return stat;
stat2337drivers/block/ide-cd.cint stat, lba;
stat2343drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2344drivers/block/ide-cd.cif (stat) return stat;
stat2348drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (char *)arg, sizeof (ra));
stat2349drivers/block/ide-cd.cif (stat) return stat;
stat2358drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (char *)ra.buf,
stat2360drivers/block/ide-cd.cif (stat) return stat;
stat2377drivers/block/ide-cd.cstat = cdrom_read_block (drive, 1, lba, buf,
stat2379drivers/block/ide-cd.cif (stat) return stat;
stat2393drivers/block/ide-cd.cint blocksize, format, stat, lba;
stat2408drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (char *)arg, sizeof (msf));
stat2409drivers/block/ide-cd.cif (stat) return stat;
stat2410drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (char *)arg, blocksize);
stat2411drivers/block/ide-cd.cif (stat) return stat;
stat2418drivers/block/ide-cd.cstat = cdrom_read_toc (drive, NULL);
stat2419drivers/block/ide-cd.cif (stat) return stat;
stat2426drivers/block/ide-cd.cstat = cdrom_read_block (drive, format, lba, buf, blocksize, NULL);
stat2427drivers/block/ide-cd.cif (stat) return stat;
stat2448drivers/block/ide-cd.cint stat;
stat2454drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (pc.c));
stat2455drivers/block/ide-cd.cif (stat) return stat;
stat2459drivers/block/ide-cd.cstat = verify_area (VERIFY_READ, (void *) arg, sizeof (len));
stat2460drivers/block/ide-cd.cif (stat) return stat;
stat2465drivers/block/ide-cd.cstat = verify_area (VERIFY_WRITE, (void *) arg, len);
stat2466drivers/block/ide-cd.cif (stat) return stat;
stat2479drivers/block/ide-cd.cstat = cdrom_queue_packet_command (drive, &pc);
stat2485drivers/block/ide-cd.creturn stat;
stat2526drivers/block/ide-cd.cint stat;
stat2531drivers/block/ide-cd.cstat = cdrom_check_status (drive, &my_reqbuf);
stat2534drivers/block/ide-cd.cif (stat && my_reqbuf.sense_key == NOT_READY)
stat2537drivers/block/ide-cd.cstat = cdrom_check_status (drive, &my_reqbuf);
stat2541drivers/block/ide-cd.cif (stat && my_reqbuf.sense_key != UNIT_ATTENTION)
stat602drivers/block/ide.cbyte stat;
stat607drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(), 0, BUSY_STAT)) {
stat612drivers/block/ide.cprintk("%s: ATAPI reset timed-out, status=0x%02x\n", drive->name, stat);
stat763drivers/block/ide.cstatic void end_drive_cmd (ide_drive_t *drive, byte stat, byte err)
stat769drivers/block/ide.crq->errors = !OK_STAT(stat,READY_STAT,BAD_STAT);
stat771drivers/block/ide.cargs[0] = stat;
stat785drivers/block/ide.cbyte ide_dump_status (ide_drive_t *drive, const char *msg, byte stat)
stat792drivers/block/ide.cprintk("%s: %s: status=0x%02x", drive->name, msg, stat);
stat796drivers/block/ide.cif (stat & BUSY_STAT)
stat799drivers/block/ide.cif (stat & READY_STAT)  printk("DriveReady ");
stat800drivers/block/ide.cif (stat & WRERR_STAT)  printk("DeviceFault ");
stat801drivers/block/ide.cif (stat & SEEK_STAT)  printk("SeekComplete ");
stat802drivers/block/ide.cif (stat & DRQ_STAT)  printk("DataRequest ");
stat803drivers/block/ide.cif (stat & ECC_STAT)  printk("CorrectedError ");
stat804drivers/block/ide.cif (stat & INDEX_STAT)  printk("Index ");
stat805drivers/block/ide.cif (stat & ERR_STAT)  printk("Error ");
stat811drivers/block/ide.cif ((stat & (BUSY_STAT|ERR_STAT)) == ERR_STAT) {
stat876drivers/block/ide.cint ide_error (ide_drive_t *drive, const char *msg, byte stat)
stat881drivers/block/ide.cerr = ide_dump_status(drive, msg, stat);
stat885drivers/block/ide.cend_drive_cmd(drive, stat, err);
stat888drivers/block/ide.cif (stat & BUSY_STAT) {    /* other bits are useless when BUSY */
stat891drivers/block/ide.cif (drive->media == disk && (stat & ERR_STAT)) {
stat898drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd != WRITE)
stat930drivers/block/ide.cbyte stat;
stat935drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(),DATA_READY,BAD_R_STAT)) {
stat937drivers/block/ide.cif (!ide_error(drive, "read_intr", stat))
stat976drivers/block/ide.cbyte stat;
stat980drivers/block/ide.cif (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
stat986drivers/block/ide.cif ((rq->nr_sectors == 1) ^ ((stat & DRQ_STAT) != 0)) {
stat1004drivers/block/ide.cif (!ide_error(drive, "write_intr", stat))
stat1050drivers/block/ide.cbyte stat;
stat1054drivers/block/ide.cif (OK_STAT(stat=GET_STAT(),DRIVE_READY,drive->bad_wstat)) {
stat1055drivers/block/ide.cif (stat & DRQ_STAT) {
stat1074drivers/block/ide.cif (!ide_error(drive, "multwrite_intr", stat))
stat1095drivers/block/ide.cbyte stat = GET_STAT();
stat1098drivers/block/ide.cif (OK_STAT(stat,READY_STAT,BAD_STAT)) {
stat1103drivers/block/ide.c(void) ide_dump_status(drive, "set_multmode", 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, "set_geometry_intr", stat))
stat1127drivers/block/ide.cbyte stat = GET_STAT();
stat1130drivers/block/ide.cif (!OK_STAT(stat,READY_STAT,BAD_STAT))
stat1131drivers/block/ide.cif (ide_error(drive, "recal_intr", stat))
stat1141drivers/block/ide.cbyte stat = GET_STAT();
stat1144drivers/block/ide.cif (OK_STAT(stat,READY_STAT,BAD_STAT))
stat1145drivers/block/ide.cend_drive_cmd (drive, stat, GET_ERR());
stat1146drivers/block/ide.celse if (ide_error(drive, "drive_cmd", stat)) /* calls end_drive_cmd */
stat1203drivers/block/ide.cbyte stat;
stat1207drivers/block/ide.cif (OK_STAT((stat = GET_STAT()), good, bad))
stat1209drivers/block/ide.cif (!(stat & BUSY_STAT)) {
stat1210drivers/block/ide.c(void) ide_error(drive, "status error", stat);
stat1218drivers/block/ide.cif (!((stat = GET_STAT()) & BUSY_STAT)) {
stat1539drivers/block/ide.cbyte stat;
stat1565drivers/block/ide.cif (!OK_STAT(stat=GET_STAT(), drive->ready_stat, BAD_STAT))
stat1566drivers/block/ide.c(void) ide_dump_status(drive, "unexpected_intr", stat);
stat1567drivers/block/ide.cif ((stat & DRQ_STAT))
stat128drivers/block/ide.h#define OK_STAT(stat,good,bad)  (((stat)&((good)|(bad)))==(good))
stat177drivers/block/ide.hint stat;
stat399drivers/block/ide.hbyte ide_dump_status (ide_drive_t *drive, const char *msg, byte stat);
stat408drivers/block/ide.hint ide_error (ide_drive_t *drive, const char *msg, byte stat);
stat129drivers/block/triton.cbyte stat, dma_stat;
stat136drivers/block/triton.cstat = GET_STAT();      /* get drive status */
stat137drivers/block/triton.cif (OK_STAT(stat,DRIVE_READY,drive->bad_wstat|DRQ_STAT)) {
stat150drivers/block/triton.cif (!ide_error(drive, "dma_intr", stat))
stat1158drivers/cdrom/sjcd.cunsigned char stat;
stat1160drivers/cdrom/sjcd.csjcd_s_data: stat = inb( SJCDPORT( 1 ) );
stat1162drivers/cdrom/sjcd.cprintk( "SJCD_S_DATA: status = 0x%02x\n", stat );
stat1164drivers/cdrom/sjcd.cif( SJCD_STATUS_AVAILABLE( stat ) ){
stat1192drivers/cdrom/sjcd.c} else if( SJCD_DATA_AVAILABLE( stat ) ){
stat1273drivers/cdrom/sjcd.cunsigned char stat;
stat1275drivers/cdrom/sjcd.cstat = inb( SJCDPORT( 1 ) );
stat1277drivers/cdrom/sjcd.cprintk( "SJCD_S_STOP: status = 0x%02x\n", stat );
stat1279drivers/cdrom/sjcd.cif( SJCD_DATA_AVAILABLE( stat ) ){
stat1289drivers/cdrom/sjcd.c} else if( SJCD_STATUS_AVAILABLE( stat ) ){
stat633drivers/char/scc.cscc->stat.tx_state = TXS_NEWFRAME;
stat636drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat648drivers/char/scc.cscc->stat.txints++;
stat657drivers/char/scc.cif (--scc->stat.tx_queued < 0)
stat658drivers/char/scc.cscc->stat.tx_queued = 0;
stat666drivers/char/scc.cif (scc->stat.tx_state == TXS_NEWFRAME)
stat675drivers/char/scc.cscc->stat.tx_state = TXS_ACTIVE;/* next byte... */
stat713drivers/char/scc.cscc->stat.rxerrs++;  /* then count it as an error */
stat727drivers/char/scc.cscc->stat.exints++;
stat766drivers/char/scc.cif ((scc->stat.tx_state == TXS_ACTIVE) && (status & TxEOM))
stat768drivers/char/scc.cscc->stat.tx_under++;    /* oops, an underrun! count 'em */
stat774drivers/char/scc.cif (--scc->stat.tx_queued < 0) scc->stat.tx_queued = 0;
stat780drivers/char/scc.cscc->stat.tx_under = 9999;  /* errr... yes. */
stat784drivers/char/scc.cif (--scc->stat.tx_queued < 0) scc->stat.tx_queued = 0;
stat800drivers/char/scc.cscc->stat.rxints++;
stat828drivers/char/scc.cscc->stat.nospace++;    /* and count this error */
stat866drivers/char/scc.cscc->stat.spints++;
stat874drivers/char/scc.cscc->stat.rx_over++;                /* count them */
stat892drivers/char/scc.cscc->stat.rxframes++;
stat893drivers/char/scc.cscc->stat.rx_queued++;
stat897drivers/char/scc.cscc->stat.rxerrs++;
stat1160drivers/char/scc.cif (scc->stat.tx_state != TXS_BUSY)
stat1182drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1186drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1194drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1213drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1228drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1236drivers/char/scc.cif (scc->stat.rx_queued > QUEUE_THRES)
stat1241drivers/char/scc.c" (%d) but queue is empty\n", scc->stat.rx_queued);
stat1243drivers/char/scc.cscc->stat.rx_queued = 0;  /* correct it */
stat1244drivers/char/scc.cscc->stat.nospace = 12345;  /* draw attention to it */
stat1250drivers/char/scc.cwhile (bp && (scc->stat.rx_queued > QUEUE_HYST))
stat1253drivers/char/scc.cscc->stat.rx_queued--;
stat1254drivers/char/scc.cscc->stat.nospace++;
stat1322drivers/char/scc.cscc->stat.tx_state = TXS_IDLE;
stat1454drivers/char/scc.cscc->stat.txframes++;
stat1455drivers/char/scc.cscc->stat.tx_queued++;
stat1460drivers/char/scc.cif(scc->stat.tx_state == TXS_IDLE)
stat1463drivers/char/scc.cscc->stat.tx_state = TXS_BUSY;
stat1489drivers/char/scc.cswitch (scc->stat.tx_kiss_state) 
stat1497drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1498drivers/char/scc.c} else scc->stat.txerrs++;
stat1503drivers/char/scc.cscc->stat.tx_kiss_state = KISS_ESCAPE;
stat1507drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat1516drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1521drivers/char/scc.cscc->stat.tx_kiss_state = KISS_DATA;
stat1527drivers/char/scc.cscc->stat.txerrs++;
stat1528drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat1550drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE;
stat1562drivers/char/scc.cif (scc->stat.rx_kiss_state == KISS_IDLE)
stat1569drivers/char/scc.cscc->stat.rx_kiss_state = KISS_RXFRAME;
stat1603drivers/char/scc.cif (--scc->stat.rx_queued < 0)
stat1604drivers/char/scc.cscc->stat.rx_queued = 0;
stat1606drivers/char/scc.cif (scc->stat.rx_kiss_state == KISS_RXFRAME)  /* new packet? */
stat1609drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE; /* generate FEND for new frame */
stat1746drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;  /* don't change this... */
stat1747drivers/char/scc.cscc->stat.rx_kiss_state = KISS_IDLE;  /* ...or this */
stat1805drivers/char/scc.cif (scc->stat.tx_state == 0)  /* only switch baudrate on rx... ;-) */
stat1962drivers/char/scc.cif(scc->stat.tx_state == TXS_IDLE && !Running(t_idle))
stat2000drivers/char/scc.cscc->stat.used_buf = scc_count_used_buffers(&scc->stat.rx_alloc, 
stat2001drivers/char/scc.c&scc->stat.tx_alloc);
stat2003drivers/char/scc.cmemcpy_tofs((void *) arg, &scc->stat, sizeof(struct scc_stat));
stat2110drivers/char/scc.cif (scc->stat.tx_queued > QUEUE_THRES)
stat2115drivers/char/scc.c" (%d) but queue is empty\n", scc->stat.tx_queued);
stat2117drivers/char/scc.cscc->stat.tx_queued = 0;  /* correct it */
stat2118drivers/char/scc.cscc->stat.nospace = 54321;  /* draw attention to it */
stat2124drivers/char/scc.cwhile (bp && (scc->stat.tx_queued > QUEUE_HYST))
stat2127drivers/char/scc.cscc->stat.tx_queued--;
stat2128drivers/char/scc.cscc->stat.nospace++;
stat2174drivers/char/scc.cscc->stat.nospace++;
stat2216drivers/char/scc.cif (scc->stat.tx_alloc >= QUEUE_THRES)
stat2242drivers/char/scc.cscc->stat.tx_kiss_state = KISS_IDLE;
stat646drivers/char/tpqic02.c{ int stat = inb_p(QIC02_STAT_PORT);
stat647drivers/char/tpqic02.cstatus_dead = ((stat & QIC02_STAT_RESETMASK) != QIC02_STAT_RESETVAL); }
stat721drivers/char/tpqic02.cint stat;
stat731drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (--spin_t>0))
stat733drivers/char/tpqic02.cif ((stat & QIC02_STAT_READY) == 0)
stat743drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (jiffies<spin_t))
stat745drivers/char/tpqic02.cif ((stat & QIC02_STAT_READY) == 0)
stat758drivers/char/tpqic02.cwhile (((stat = inb_p(QIC02_STAT_PORT) & QIC02_STAT_MASK) == QIC02_STAT_MASK) && (jiffies<spin_t)) {
stat766drivers/char/tpqic02.cif ((stat & QIC02_STAT_MASK) == QIC02_STAT_MASK) {
stat771drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {
stat784drivers/char/tpqic02.cint i, stat;
stat788drivers/char/tpqic02.cstat = wait_for_ready(TIM_S);
stat789drivers/char/tpqic02.cif (stat != TE_OK)
stat790drivers/char/tpqic02.creturn stat;
stat792drivers/char/tpqic02.cstat = notify_cmd(sb[i], ignore_ex);
stat793drivers/char/tpqic02.cif (stat != TE_OK)
stat794drivers/char/tpqic02.creturn stat;
stat810drivers/char/tpqic02.cint stat;
stat812drivers/char/tpqic02.cstat = inb_p(QIC02_STAT_PORT);
stat813drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {  /* if exception */
stat817drivers/char/tpqic02.cif (stat & QIC02_STAT_READY) {      /* if not ready */
stat829drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
stat833drivers/char/tpqic02.cstat = send_qic02_data(seek_addr_buf, sizeof(seek_addr_buf), ignore_ex);
stat836drivers/char/tpqic02.cif (stat != TE_OK) {
stat839drivers/char/tpqic02.creturn stat;
stat928drivers/char/tpqic02.cint stat = rdstatus((char *) stp, TPSTATSIZE, QCMD_RD_STAT);
stat935drivers/char/tpqic02.creturn stat;
stat950drivers/char/tpqic02.cint stat, i;
stat953drivers/char/tpqic02.cstat = rdstatus(vus, sizeof(vus), QCMD_RD_STAT_X3);
stat954drivers/char/tpqic02.cif (stat != TE_OK)
stat955drivers/char/tpqic02.creturn stat;
stat1058drivers/char/tpqic02.cint stat;
stat1060drivers/char/tpqic02.cstat = inb(QIC02_STAT_PORT) & QIC02_STAT_MASK;
stat1062drivers/char/tpqic02.cprintk(TPQIC02_NAME ": Waiting for (re-)wind to finish: stat=0x%x\n", stat);
stat1064drivers/char/tpqic02.cstat = wait_for_ready(timeout);
stat1066drivers/char/tpqic02.cif (stat != TE_OK) {
stat1069drivers/char/tpqic02.creturn stat;
stat1082drivers/char/tpqic02.cint stat;
stat1089drivers/char/tpqic02.cstat = wait_for_ready(timeout);    /* wait for ready or exception */
stat1090drivers/char/tpqic02.cif (stat == TE_EX) {
stat1094drivers/char/tpqic02.cstat = TE_OK;
stat1096drivers/char/tpqic02.cif (stat != TE_OK) {
stat1107drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
stat1131drivers/char/tpqic02.cif (stat==TE_EX) {
stat1139drivers/char/tpqic02.celse if (stat!=TE_OK) {
stat1140drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd: send_qic02_cmd failed, stat = 0x%x\n", stat);
stat1146drivers/char/tpqic02.cstat = wait_for_rewind(timeout);
stat1148drivers/char/tpqic02.cstat = wait_for_ready(timeout);
stat1150drivers/char/tpqic02.cif (stat==TE_EX) {
stat1161drivers/char/tpqic02.celse if (stat!=TE_OK) {
stat1162drivers/char/tpqic02.cprintk(TPQIC02_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
stat1224drivers/char/tpqic02.cint stat;
stat1231drivers/char/tpqic02.cstat = ll_do_qic_cmd(QCMD_WRT_FM, TIM_M);
stat1232drivers/char/tpqic02.cif (stat != TE_OK)
stat1263drivers/char/tpqic02.cint stat;
stat1270drivers/char/tpqic02.cstat = ll_do_qic_cmd(QCMD_REWIND, TIM_R);
stat1271drivers/char/tpqic02.cif (stat != 0) {
stat1272drivers/char/tpqic02.cprintk(TPQIC02_NAME ": rewind failed in do_qic_cmd(). stat=0x%2x", stat);
stat1273drivers/char/tpqic02.creturn stat;
stat1290drivers/char/tpqic02.cint stat;
stat1314drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_RD_FM_BCK, TIM_F);
stat1316drivers/char/tpqic02.cstat = -ENXIO;
stat1319drivers/char/tpqic02.creturn stat;
stat1326drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SPACE_FWD, TIM_F);
stat1330drivers/char/tpqic02.cstat = -ENXIO;
stat1332drivers/char/tpqic02.creturn stat;
stat1340drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SPACE_BCK, TIM_F);
stat1343drivers/char/tpqic02.cstat = -ENXIO;
stat1346drivers/char/tpqic02.creturn stat;
stat1376drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_REWIND, TIM_R);
stat1377drivers/char/tpqic02.creturn stat;
stat1432drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_REWIND, TIM_R);
stat1433drivers/char/tpqic02.cif (stat)
stat1434drivers/char/tpqic02.creturn stat;
stat1435drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SEEK_EOD, TIM_F);
stat1439drivers/char/tpqic02.cstat = 0;
stat1440drivers/char/tpqic02.cwhile ((stat==0) && (!status_eom_detected)) {
stat1441drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_RD_FM, TIM_F); /***** should use MTFSFM here???? ******/
stat1446drivers/char/tpqic02.creturn stat;
stat1472drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SELF_TST1, TIM_R);
stat1473drivers/char/tpqic02.cif (stat != 0) {
stat1475drivers/char/tpqic02.creturn stat;
stat1485drivers/char/tpqic02.cstat = do_qic_cmd(QCMD_SELF_TST2, TIM_R);
stat1486drivers/char/tpqic02.cif (stat != 0) {
stat1488drivers/char/tpqic02.creturn stat;
stat1581drivers/char/tpqic02.cint stat;
stat1612drivers/char/tpqic02.cstat = tp_sense(((mode == WRITE)? 0 : TP_WRP) | TP_BOM | TP_FIL);
stat1613drivers/char/tpqic02.cif (stat != TE_OK)
stat1614drivers/char/tpqic02.creturn stat;
stat1632drivers/char/tpqic02.cstat = send_qic02_cmd((mode == WRITE)? QCMD_WRT_DATA : QCMD_RD_DATA, TIM_M, 0);
stat1633drivers/char/tpqic02.cif (stat!=TE_OK) {
stat1637drivers/char/tpqic02.creturn stat;
stat1695drivers/char/tpqic02.cint stat = TE_OK;
stat1713drivers/char/tpqic02.cstat = wait_for_ready(TIM_M);
stat1714drivers/char/tpqic02.cif (status_error || (stat!=TE_OK)) {
stat1716drivers/char/tpqic02.cstat = tp_sense((dma_mode==READ)? TP_WRP : 0);
stat1804drivers/char/tpqic02.cint stat, r, i;
stat1813drivers/char/tpqic02.cstat = inb(QIC02_STAT_PORT);  /* Knock, knock */
stat1815drivers/char/tpqic02.cif (((stat & (AR_STAT_DMADONE)) == 0) &&
stat1816drivers/char/tpqic02.c((stat & (QIC02_STAT_EXCEPTION)) != 0)) {
stat1822drivers/char/tpqic02.cif ((stat & QIC02_STAT_EXCEPTION) == 0) {  /* exception occurred */
stat1830drivers/char/tpqic02.cprintk("      status %02x\n", stat);
stat1848drivers/char/tpqic02.cif (stat & QIC02_STAT_READY) {    /* not ready */
stat1927drivers/char/tpqic02.cint stat;
stat2017drivers/char/tpqic02.cstat = start_dma(READ, bytes_todo);
stat2018drivers/char/tpqic02.cif (stat == TE_OK) {
stat2025drivers/char/tpqic02.c} else if (stat != TE_END) {
stat2030drivers/char/tpqic02.cprintk("Trouble: stat==%02x\n", stat);
stat404drivers/net/3c505.cint stat;
stat414drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr))&ACRF) == 0 && jiffies < timeout)
stat425drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr)) & ACRF) == 0 && jiffies < timeout)
stat444drivers/net/3c505.cwhile (((stat = get_status(dev->base_addr))&ACRF) == 0 && j++ < 20000)
stat449drivers/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);
stat170drivers/net/8390.cif (!isr && !ei_local->stat.tx_packets) {
stat311drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(e8390_base + EN0_COUNTER0);
stat312drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(e8390_base + EN0_COUNTER1);
stat313drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(e8390_base + EN0_COUNTER2);
stat394drivers/net/8390.cif (status & ENTSR_COL) ei_local->stat.collisions++;
stat396drivers/net/8390.cei_local->stat.tx_packets++;
stat398drivers/net/8390.cei_local->stat.tx_errors++;
stat399drivers/net/8390.cif (status & ENTSR_ABT) ei_local->stat.tx_aborted_errors++;
stat400drivers/net/8390.cif (status & ENTSR_CRS) ei_local->stat.tx_carrier_errors++;
stat401drivers/net/8390.cif (status & ENTSR_FU)  ei_local->stat.tx_fifo_errors++;
stat402drivers/net/8390.cif (status & ENTSR_CDH) ei_local->stat.tx_heartbeat_errors++;
stat403drivers/net/8390.cif (status & ENTSR_OWC) ei_local->stat.tx_window_errors++;
stat458drivers/net/8390.cei_local->stat.rx_errors++;
stat467drivers/net/8390.cei_local->stat.rx_errors++;
stat476drivers/net/8390.cei_local->stat.rx_dropped++;
stat485drivers/net/8390.cei_local->stat.rx_packets++;
stat494drivers/net/8390.cei_local->stat.rx_fifo_errors++;
stat533drivers/net/8390.cei_local->stat.rx_over_errors++;
stat565drivers/net/8390.cif (dev->start == 0) return &ei_local->stat;
stat568drivers/net/8390.cei_local->stat.rx_frame_errors += inb_p(ioaddr + EN0_COUNTER0);
stat569drivers/net/8390.cei_local->stat.rx_crc_errors   += inb_p(ioaddr + EN0_COUNTER1);
stat570drivers/net/8390.cei_local->stat.rx_missed_errors+= inb_p(ioaddr + EN0_COUNTER2);
stat572drivers/net/8390.creturn &ei_local->stat;
stat70drivers/net/8390.hstruct enet_statistics stat;
stat112drivers/net/apricot.cunsigned short stat;
stat139drivers/net/apricot.cunsigned long stat;
stat158drivers/net/apricot.cunsigned long stat;
stat212drivers/net/apricot.crfd->stat = 0x0000;
stat270drivers/net/apricot.clp->iscp.stat = 0x0001;
stat281drivers/net/apricot.cwhile (lp->iscp.stat)
stat334drivers/net/apricot.cwhile ((lp->scb.rfd->stat) & STAT_C)
stat338drivers/net/apricot.cif ((lp->scb.rfd->stat) & STAT_OK)
stat365drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0001) lp->stats.collisions++;
stat366drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0080) lp->stats.rx_length_errors++;
stat367drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0100) lp->stats.rx_over_errors++;
stat368drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0200) lp->stats.rx_fifo_errors++;
stat369drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0400) lp->stats.rx_frame_errors++;
stat370drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x0800) lp->stats.rx_crc_errors++;
stat371drivers/net/apricot.cif ((lp->scb.rfd->stat) & 0x1000) lp->stats.rx_length_errors++;
stat374drivers/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);
stat138drivers/scsi/eata_pio.cunchar stat,odd;
stat159drivers/scsi/eata_pio.cstat=inb(base+HA_RSTATUS);
stat160drivers/scsi/eata_pio.cif (stat&HA_SDRQ)
stat221drivers/scsi/eata_pio.cwhile ((stat&HA_SDRQ)||((stat&HA_SMORE)&&hd->moresupport));
stat226drivers/scsi/eata_pio.cif (stat&HA_SBUSY) break;
stat250drivers/scsi/eata_pio.cif (stat != 0x50) 
stat251drivers/scsi/eata_pio.cprintk("stat: %#.2x, result: %#.8x\n", stat, cmd->result); 
stat399drivers/scsi/wd7000.cunchar stat;                  /* (outgoing) completion status byte 1 */
stat273drivers/sound/gus_midi.cunsigned char   stat, data;
stat279drivers/sound/gus_midi.cstat = GUS_MIDI_STATUS ();
stat281drivers/sound/gus_midi.cif (stat & MIDI_RCV_FULL)
stat288drivers/sound/gus_midi.cif (stat & MIDI_XMIT_EMPTY)
stat277drivers/sound/pas2_midi.cunsigned char   stat;
stat281drivers/sound/pas2_midi.cstat = pas_read (MIDI_STATUS);
stat283drivers/sound/pas2_midi.cif (stat & M_S_INPUT_AVAIL)  /*
stat304drivers/sound/pas2_midi.cif (stat & (M_S_OUTPUT_EMPTY | M_S_OUTPUT_HALF_EMPTY))
stat306drivers/sound/pas2_midi.cif (!(stat & M_S_OUTPUT_EMPTY))
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);  /*
stat67fs/nfs/proc.cstatic int nfs_stat_to_errno(int stat);
stat909fs/nfs/proc.cint stat;
stat937fs/nfs/proc.cstatic int nfs_stat_to_errno(int stat)
stat941fs/nfs/proc.cfor (i = 0; nfs_errtbl[i].stat != -1; i++) {
stat942fs/nfs/proc.cif (nfs_errtbl[i].stat == stat)
stat945fs/nfs/proc.cprintk("nfs_stat_to_errno: bad nfs status return value: %d\n", stat);
stat276fs/umsdos/ioctl.cdata.stat.st_ino = inode->i_ino;
stat277fs/umsdos/ioctl.cdata.stat.st_mode = inode->i_mode;
stat278fs/umsdos/ioctl.cdata.stat.st_size = inode->i_size;
stat279fs/umsdos/ioctl.cdata.stat.st_atime = inode->i_atime;
stat280fs/umsdos/ioctl.cdata.stat.st_ctime = inode->i_ctime;
stat281fs/umsdos/ioctl.cdata.stat.st_mtime = inode->i_mtime;
stat282fs/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;