taglinefilesource code
ioctl_status257drivers/char/tpqic02.cstatic volatile struct mtget ioctl_status;  /* current generic status */
ioctl_status634drivers/char/tpqic02.cioctl_status.mt_fileno = ioctl_status.mt_blkno = 0;
ioctl_status886drivers/char/tpqic02.cioctl_status.mt_erreg = 0;    /* dunno... */
ioctl_status1031drivers/char/tpqic02.cioctl_status.mt_gstat = gs;
ioctl_status1032drivers/char/tpqic02.cioctl_status.mt_dsreg = tperror.exs;  /* "drive status" */
ioctl_status1033drivers/char/tpqic02.cioctl_status.mt_erreg = tperror.dec;  /* "sense key error" */
ioctl_status1108drivers/char/tpqic02.cioctl_status.mt_fileno++;
ioctl_status1114drivers/char/tpqic02.cioctl_status.mt_fileno++;
ioctl_status1120drivers/char/tpqic02.cioctl_status.mt_fileno = ioctl_status.mt_blkno = 0;
ioctl_status1736drivers/char/tpqic02.cioctl_status.mt_blkno += (dma_bytes_done / TAPE_BLKSIZE);
ioctl_status2695drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
ioctl_status2706drivers/char/tpqic02.cioctl_status.mt_resid = 0;
ioctl_status2712drivers/char/tpqic02.cioctl_status.mt_resid = operation.mt_count;
ioctl_status2728drivers/char/tpqic02.cerror =  verify_area(VERIFY_WRITE, (void *) ioarg, sizeof(ioctl_status));
ioctl_status2738drivers/char/tpqic02.cstp = (char *) &ioctl_status;
ioctl_status2740drivers/char/tpqic02.cfor (i=0; i<sizeof(ioctl_status); i++) 
ioctl_status2962drivers/char/tpqic02.cioctl_status.mt_type  = QIC02_TAPE_DRIVE;  /* MT_IS* id nr */
ioctl_status2964drivers/char/tpqic02.cioctl_status.mt_resid  = 0;  /* ---residual count */
ioctl_status2965drivers/char/tpqic02.cioctl_status.mt_gstat  = 0;  /* ---generic status */
ioctl_status2966drivers/char/tpqic02.cioctl_status.mt_erreg  = 0;  /* not used */
ioctl_status2967drivers/char/tpqic02.cioctl_status.mt_fileno  = 0;  /* number of current file on tape */
ioctl_status2968drivers/char/tpqic02.cioctl_status.mt_blkno  = 0;  /* number of current (logical) block */