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

/linux-4.1.27/drivers/block/paride/
H A Dpt.c700 struct mtop __user *p = (void __user *)arg; pt_ioctl()
701 struct mtop mtop; pt_ioctl() local
705 if (copy_from_user(&mtop, p, sizeof(struct mtop))) pt_ioctl()
708 switch (mtop.mt_op) { pt_ioctl()
725 mtop.mt_op); pt_ioctl()
/linux-4.1.27/include/uapi/linux/
H A Dmtio.h19 struct mtop { struct
128 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
/linux-4.1.27/drivers/s390/char/
H A Dtape_std.h105 /* Some non-mtop commands. */
H A Dtape_char.c348 struct mtop op; __tapechar_ioctl()
/linux-4.1.27/drivers/ide/
H A Dide-tape.c1373 struct mtop mtop; do_idetape_chrdev_ioctl() local
1394 if (copy_from_user(&mtop, argp, sizeof(struct mtop))) do_idetape_chrdev_ioctl()
1396 return idetape_mtioctop(drive, mtop.mt_op, mtop.mt_count); do_idetape_chrdev_ioctl()
/linux-4.1.27/drivers/scsi/
H A Dst.c3402 struct mtop mtc; st_ioctl()
3409 i = copy_from_user(&mtc, p, sizeof(struct mtop)); st_ioctl()
H A Dosst.c4987 struct mtop mtc; osst_ioctl()
4995 i = copy_from_user((char *) &mtc, p, sizeof(struct mtop)); osst_ioctl()

Completed in 294 milliseconds