Searched refs:mtpos (Results 1 – 7 of 7) sorted by relevance
123 struct mtpos { struct131 #define MTIOCPOS _IOR('m', 3, struct mtpos) /* get tape position */ argument
1377 struct mtpos mtpos; in do_idetape_chrdev_ioctl() local1414 mtpos.mt_blkno = position / tape->user_bs_factor - block_offset; in do_idetape_chrdev_ioctl()1415 if (copy_to_user(argp, &mtpos, sizeof(struct mtpos))) in do_idetape_chrdev_ioctl()
389 struct mtpos pos; in __tapechar_ioctl()
496 struct mtpos __user *pos = NULL; in mt_ioctl_trans()
3810 struct mtpos mt_pos; in st_ioctl()3811 if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { in st_ioctl()3820 i = copy_to_user(p, &mt_pos, sizeof(struct mtpos)); in st_ioctl()
5244 struct mtpos mt_pos; in osst_ioctl()5246 if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { in osst_ioctl()5259 i = copy_to_user(p, &mt_pos, sizeof(struct mtpos)); in osst_ioctl()
520 The following ioctl uses the structure mtpos: