Lines Matching refs:ioctl_status
136 static volatile struct mtget ioctl_status; /* current generic status */ variable
469 ioctl_status.mt_fileno = ioctl_status.mt_blkno = 0; in tape_reset()
734 ioctl_status.mt_erreg = 0; /* dunno... */ in rdstatus()
884 ioctl_status.mt_gstat = gs; in tp_sense()
885 ioctl_status.mt_dsreg = tperror.exs; /* "drive status" */ in tp_sense()
886 ioctl_status.mt_erreg = tperror.dec; /* "sense key error" */ in tp_sense()
962 ioctl_status.mt_fileno++; in ll_do_qic_cmd()
968 ioctl_status.mt_fileno++; in ll_do_qic_cmd()
975 ioctl_status.mt_fileno = ioctl_status.mt_blkno = 0; in ll_do_qic_cmd()
1629 ioctl_status.mt_blkno += (dma_bytes_done / TAPE_BLKSIZE); in end_dma()
2618 ioctl_status.mt_resid = operation.mt_count; in qic02_tape_ioctl()
2636 ioctl_status.mt_resid = 0; in qic02_tape_ioctl()
2645 ioctl_status.mt_resid = operation.mt_count; in qic02_tape_ioctl()
2664 ((char *) ioarg, (char *) &ioctl_status, in qic02_tape_ioctl()
2665 sizeof(ioctl_status))) { in qic02_tape_ioctl()
2915 ioctl_status.mt_type = QIC02_TAPE_DRIVE; /* MT_IS* id nr */ in qic02_tape_init()
2917 ioctl_status.mt_resid = 0; /* ---residual count */ in qic02_tape_init()
2918 ioctl_status.mt_gstat = 0; /* ---generic status */ in qic02_tape_init()
2919 ioctl_status.mt_erreg = 0; /* not used */ in qic02_tape_init()
2920 ioctl_status.mt_fileno = 0; /* number of current file on tape */ in qic02_tape_init()
2921 ioctl_status.mt_blkno = 0; /* number of current (logical) block */ in qic02_tape_init()