Searched refs:mtget (Results 1 – 6 of 6) sorted by relevance
71 struct mtget { struct130 #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */
1376 struct mtget mtget; in do_idetape_chrdev_ioctl() local1400 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()
401 struct mtget get; in __tapechar_ioctl()
386 struct mtget __user *get = NULL; in mt_ioctl_trans()
3746 struct mtget mt_status; in st_ioctl()3748 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in st_ioctl()3803 i = copy_to_user(p, &mt_status, sizeof(struct mtget)); in st_ioctl()
525 The following ioctl uses the structure mtget to return the status: