taglinefilesource code
ioctl_status191drivers/char/tpqic02.cstatic volatile struct mtget ioctl_status;  /* current generic status */
ioctl_status561drivers/char/tpqic02.cioctl_status.mt_fileno = ioctl_status.mt_blkno = 0;
ioctl_status806drivers/char/tpqic02.cioctl_status.mt_erreg = 0;    /* dunno... */
ioctl_status950drivers/char/tpqic02.cioctl_status.mt_gstat = gs;
ioctl_status951drivers/char/tpqic02.cioctl_status.mt_dsreg = tperror.exs;  /* "drive status" */
ioctl_status952drivers/char/tpqic02.cioctl_status.mt_erreg = tperror.dec;  /* "sense key error" */
ioctl_status1025drivers/char/tpqic02.cioctl_status.mt_fileno++;
ioctl_status1031drivers/char/tpqic02.cioctl_status.mt_fileno++;
ioctl_status1037drivers/char/tpqic02.cioctl_status.mt_fileno = ioctl_status.mt_blkno = 0;
ioctl_status1629drivers/char/tpqic02.cioctl_status.mt_blkno += (dma_bytes_done / TAPE_BLKSIZE);
ioctl_status2387drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
ioctl_status2397drivers/char/tpqic02.cioctl_status.mt_resid = 0;
ioctl_status2403drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
ioctl_status2419drivers/char/tpqic02.cerror =  verify_area(VERIFY_WRITE, (void *) ioarg, sizeof(ioctl_status));
ioctl_status2429drivers/char/tpqic02.cstp = (char *) &ioctl_status;
ioctl_status2431drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_status); i++) 
ioctl_status2610drivers/char/tpqic02.cioctl_status.mt_type  = TAPE_QIC02_DRIVE;  /* MT_IS* id nr */
ioctl_status2612drivers/char/tpqic02.cioctl_status.mt_resid  = 0;  /* ---residual count */
ioctl_status2613drivers/char/tpqic02.cioctl_status.mt_gstat  = 0;  /* ---generic status */
ioctl_status2614drivers/char/tpqic02.cioctl_status.mt_erreg  = 0;  /* not used */
ioctl_status2615drivers/char/tpqic02.cioctl_status.mt_fileno  = 0;  /* number of current file on tape */
ioctl_status2616drivers/char/tpqic02.cioctl_status.mt_blkno  = 0;  /* number of current (logical) block */