Searched refs:mtpos (Results 1 – 6 of 6) 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()
388 struct mtpos __user *pos = NULL; in mt_ioctl_trans()
3814 struct mtpos mt_pos; in st_ioctl()3815 if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) { in st_ioctl()3824 i = copy_to_user(p, &mt_pos, sizeof(struct mtpos)); in st_ioctl()
520 The following ioctl uses the structure mtpos: