Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dmtio.h19 struct mtop { struct
128 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
/linux-4.1.27/drivers/block/paride/
Dpt.c700 struct mtop __user *p = (void __user *)arg; in pt_ioctl()
701 struct mtop mtop; in pt_ioctl() local
705 if (copy_from_user(&mtop, p, sizeof(struct mtop))) in pt_ioctl()
708 switch (mtop.mt_op) { in pt_ioctl()
725 mtop.mt_op); in pt_ioctl()
/linux-4.1.27/drivers/ide/
Dide-tape.c1373 struct mtop mtop; in do_idetape_chrdev_ioctl() local
1394 if (copy_from_user(&mtop, argp, sizeof(struct mtop))) in do_idetape_chrdev_ioctl()
1396 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count); in do_idetape_chrdev_ioctl()
/linux-4.1.27/drivers/s390/char/
Dtape_char.c348 struct mtop op; in __tapechar_ioctl()
/linux-4.1.27/drivers/scsi/
Dst.c3387 struct mtop mtc; in st_ioctl()
3394 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl()
Dosst.c4983 struct mtop mtc; in osst_ioctl()
4991 i = copy_from_user((char *) &mtc, p, sizeof(struct mtop)); in osst_ioctl()
/linux-4.1.27/Documentation/scsi/
Dst.txt301 The following use the structure mtop: