Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dmtio.h71 struct mtget { struct
130 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
/Linux-v5.10/include/linux/
Dmtio.h31 static inline int put_user_mtget(void __user *u, struct mtget *k) in put_user_mtget()
/Linux-v5.10/drivers/ide/
Dide-tape.c1377 struct mtget mtget; in do_idetape_chrdev_ioctl() local
1401 memset(&mtget, 0, sizeof(struct mtget)); in do_idetape_chrdev_ioctl()
1402 mtget.mt_type = MT_ISSCSI2; in do_idetape_chrdev_ioctl()
1403 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()
1404 mtget.mt_dsreg = in do_idetape_chrdev_ioctl()
1409 mtget.mt_gstat |= GMT_WR_PROT(0xffffffff); in do_idetape_chrdev_ioctl()
1411 return put_user_mtget(argp, &mtget); in do_idetape_chrdev_ioctl()
/Linux-v5.10/drivers/s390/char/
Dtape_char.c399 struct mtget get; in __tapechar_ioctl()
/Linux-v5.10/drivers/scsi/
Dst.c3745 struct mtget mt_status; in st_ioctl_common()
3747 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in st_ioctl_common()
/Linux-v5.10/Documentation/scsi/
Dst.rst602 The following ioctl uses the structure mtget to return the status: