Home
last modified time | relevance | path

Searched refs:mt_status (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/scsi/
Dst.c3742 struct mtget mt_status; in st_ioctl() local
3749 mt_status.mt_type = STp->tape_type; in st_ioctl()
3750 mt_status.mt_dsreg = in st_ioctl()
3753 mt_status.mt_blkno = STps->drv_block; in st_ioctl()
3754 mt_status.mt_fileno = STps->drv_file; in st_ioctl()
3757 mt_status.mt_blkno += in st_ioctl()
3760 mt_status.mt_blkno -= in st_ioctl()
3765 mt_status.mt_gstat = 0; in st_ioctl()
3767 mt_status.mt_gstat |= GMT_WR_PROT(0xffffffff); in st_ioctl()
3768 if (mt_status.mt_blkno == 0) { in st_ioctl()
[all …]
Dosst.c5180 struct mtget mt_status; in osst_ioctl() local
5187 mt_status.mt_type = MT_ISONSTREAM_SC; in osst_ioctl()
5188 mt_status.mt_erreg = STp->recover_erreg << MT_ST_SOFTERR_SHIFT; in osst_ioctl()
5189 mt_status.mt_dsreg = in osst_ioctl()
5192 mt_status.mt_blkno = STps->drv_block; in osst_ioctl()
5193 mt_status.mt_fileno = STps->drv_file; in osst_ioctl()
5196 mt_status.mt_blkno += (STp->buffer)->buffer_bytes / STp->block_size; in osst_ioctl()
5198 mt_status.mt_blkno -= ((STp->buffer)->buffer_bytes + in osst_ioctl()
5202 mt_status.mt_gstat = 0; in osst_ioctl()
5204 mt_status.mt_gstat |= GMT_WR_PROT(0xffffffff); in osst_ioctl()
[all …]