Home
last modified time | relevance | path

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

/linux-2.4.37.9/drivers/scsi/
Dst.c3309 struct mtget mt_status; in st_ioctl() local
3316 mt_status.mt_type = STp->tape_type; in st_ioctl()
3317 mt_status.mt_dsreg = in st_ioctl()
3320 mt_status.mt_blkno = STps->drv_block; in st_ioctl()
3321 mt_status.mt_fileno = STps->drv_file; in st_ioctl()
3324 mt_status.mt_blkno += in st_ioctl()
3327 mt_status.mt_blkno -= in st_ioctl()
3332 mt_status.mt_gstat = 0; in st_ioctl()
3334 mt_status.mt_gstat |= GMT_WR_PROT(0xffffffff); in st_ioctl()
3335 if (mt_status.mt_blkno == 0) { in st_ioctl()
[all …]
Dosst.c5016 struct mtget mt_status; in osst_ioctl() local
5023 mt_status.mt_type = MT_ISONSTREAM_SC; in osst_ioctl()
5024 mt_status.mt_erreg = STp->recover_erreg << MT_ST_SOFTERR_SHIFT; in osst_ioctl()
5025 mt_status.mt_dsreg = in osst_ioctl()
5028 mt_status.mt_blkno = STps->drv_block; in osst_ioctl()
5029 mt_status.mt_fileno = STps->drv_file; in osst_ioctl()
5032 mt_status.mt_blkno += (STp->buffer)->buffer_bytes / STp->block_size; in osst_ioctl()
5034 mt_status.mt_blkno -= ((STp->buffer)->buffer_bytes + in osst_ioctl()
5038 mt_status.mt_gstat = 0; in osst_ioctl()
5040 mt_status.mt_gstat |= GMT_WR_PROT(0xffffffff); in osst_ioctl()
[all …]