Searched refs:mtpos (Results 1 – 7 of 7) sorted by relevance
122 struct mtpos { struct130 #define MTIOCPOS _IOR('m', 3, struct mtpos) /* get tape position */ argument
1375 struct mtpos mtpos; in do_idetape_chrdev_ioctl() local1412 mtpos.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()1413 if (copy_to_user(argp, &mtpos, sizeof(struct mtpos))) in do_idetape_chrdev_ioctl()
388 struct mtpos pos; in __tapechar_ioctl()
520 struct mtpos pos; in mt_ioctl_trans()
3709 struct mtpos mt_pos; in st_ioctl()3710 if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { in st_ioctl()3719 i = copy_to_user(p, &mt_pos, sizeof(struct mtpos)); in st_ioctl()
5241 struct mtpos mt_pos; in osst_ioctl()5243 if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { in osst_ioctl()5256 i = copy_to_user(p, &mt_pos, sizeof(struct mtpos)); in osst_ioctl()
515 The following ioctl uses the structure mtpos: