Searched refs:mtget (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/include/uapi/linux/ |
D | mtio.h | 71 struct mtget { struct 130 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
|
/Linux-v4.19/drivers/ide/ |
D | ide-tape.c | 1376 struct mtget mtget; in do_idetape_chrdev_ioctl() local 1400 memset(&mtget, 0, sizeof(struct mtget)); in do_idetape_chrdev_ioctl() 1401 mtget.mt_type = MT_ISSCSI2; in do_idetape_chrdev_ioctl() 1402 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl() 1403 mtget.mt_dsreg = in do_idetape_chrdev_ioctl() 1408 mtget.mt_gstat |= GMT_WR_PROT(0xffffffff); in do_idetape_chrdev_ioctl() 1410 if (copy_to_user(argp, &mtget, sizeof(struct mtget))) in do_idetape_chrdev_ioctl()
|
/Linux-v4.19/drivers/s390/char/ |
D | tape_char.c | 401 struct mtget get; in __tapechar_ioctl()
|
/Linux-v4.19/fs/ |
D | compat_ioctl.c | 494 struct mtget __user *get = NULL; in mt_ioctl_trans()
|
/Linux-v4.19/drivers/scsi/ |
D | st.c | 3742 struct mtget mt_status; in st_ioctl() 3744 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in st_ioctl() 3799 i = copy_to_user(p, &mt_status, sizeof(struct mtget)); in st_ioctl()
|
D | osst.c | 5180 struct mtget mt_status; in osst_ioctl() 5182 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in osst_ioctl() 5232 i = copy_to_user(p, &mt_status, sizeof(struct mtget)); in osst_ioctl()
|
/Linux-v4.19/Documentation/scsi/ |
D | st.txt | 525 The following ioctl uses the structure mtget to return the status:
|