Home
last modified time | relevance | path

Searched refs:mtpos (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/include/uapi/linux/
Dmtio.h123 struct mtpos { struct
131 #define MTIOCPOS _IOR('m', 3, struct mtpos) /* get tape position */ argument
/Linux-v4.19/drivers/ide/
Dide-tape.c1377 struct mtpos mtpos; in do_idetape_chrdev_ioctl() local
1414 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()
/Linux-v4.19/drivers/s390/char/
Dtape_char.c389 struct mtpos pos; in __tapechar_ioctl()
/Linux-v4.19/fs/
Dcompat_ioctl.c496 struct mtpos __user *pos = NULL; in mt_ioctl_trans()
/Linux-v4.19/drivers/scsi/
Dst.c3810 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()
Dosst.c5244 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()
/Linux-v4.19/Documentation/scsi/
Dst.txt520 The following ioctl uses the structure mtpos: