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 */
31 static inline int put_user_mtget(void __user *u, struct mtget *k) in put_user_mtget()
1377 struct mtget mtget; in do_idetape_chrdev_ioctl() local1401 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()
399 struct mtget get; in __tapechar_ioctl()
3745 struct mtget mt_status; in st_ioctl_common()3747 if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) { in st_ioctl_common()
602 The following ioctl uses the structure mtget to return the status: