Home
last modified time | relevance | path

Searched refs:mtget (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/include/uapi/linux/
Dmtio.h70 struct mtget { struct
129 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
/linux-4.1.27/drivers/ide/
Dide-tape.c1374 struct mtget mtget; in do_idetape_chrdev_ioctl() local
1398 memset(&mtget, 0, sizeof(struct mtget)); in do_idetape_chrdev_ioctl()
1399 mtget.mt_type = MT_ISSCSI2; in do_idetape_chrdev_ioctl()
1400 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()
1401 mtget.mt_dsreg = in do_idetape_chrdev_ioctl()
1406 mtget.mt_gstat |= GMT_WR_PROT(0xffffffff); in do_idetape_chrdev_ioctl()
1408 if (copy_to_user(argp, &mtget, sizeof(struct mtget))) in do_idetape_chrdev_ioctl()
/linux-4.1.27/drivers/s390/char/
Dtape_char.c400 struct mtget get; in __tapechar_ioctl()
/linux-4.1.27/drivers/scsi/
Dst.c3587 struct mtget mt_status; in st_ioctl()
3589 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in st_ioctl()
3644 i = copy_to_user(p, &mt_status, sizeof(struct mtget)); in st_ioctl()
Dosst.c5177 struct mtget mt_status; in osst_ioctl()
5179 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in osst_ioctl()
5229 i = copy_to_user(p, &mt_status, sizeof(struct mtget)); in osst_ioctl()
/linux-4.1.27/fs/
Dcompat_ioctl.c518 struct mtget get; in mt_ioctl_trans()
/linux-4.1.27/Documentation/scsi/
Dst.txt461 The following ioctl uses the structure mtget to return the status: