tag | line | file | source code |
mtget | 3811 | drivers/block/ide-tape.c | struct mtget mtget; |
mtget | 3838 | drivers/block/ide-tape.c | mtget.mt_dsreg=(tape->data_buffer_size << MT_ST_BLKSIZE_SHIFT) & MT_ST_BLKSIZE_MASK; |
mtget | 3839 | drivers/block/ide-tape.c | retval=verify_area (VERIFY_WRITE,(char *) arg,sizeof (struct mtget)); |
mtget | 3841 | drivers/block/ide-tape.c | memcpy_tofs ((char *) arg,(char *) &mtget, sizeof (struct mtget)); |
mtget | 656 | drivers/char/ftape/ftape-ctl.c | struct mtget mtget; |
mtget | 808 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_type = drive_type.vendor_id + 0x800000; |
mtget | 809 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_resid = 0; /* not implemented */ |
mtget | 810 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_dsreg = 0; /* status register */ |
mtget | 811 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_gstat = /* device independent status */ |
mtget | 815 | drivers/char/ftape/ftape-ctl.c | krnl_arg.mtget.mt_erreg = ftape_last_error; /* error register */ |
mtget | 816 | drivers/char/ftape/ftape-ctl.c | result = ftape_file_no(&krnl_arg.mtget.mt_fileno, |
mtget | 817 | drivers/char/ftape/ftape-ctl.c | &krnl_arg.mtget.mt_blkno); |
mtget | 258 | drivers/char/tpqic02.c | static volatile struct mtget ioctl_status; /* current generic status */ |
mtget | 2724 | drivers/char/tpqic02.c | if (((iocmd & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(struct mtget)) { |
mtget | 1851 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) |
mtget | 1853 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
mtget | 1901 | drivers/scsi/st.c | sizeof(struct mtget)); |
mtget | 2213 | drivers/scsi/st.c | STp->mt_status = (struct mtget *) scsi_init_malloc(sizeof(struct mtget), |
mtget | 2216 | drivers/scsi/st.c | memset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget)); |
mtget | 59 | drivers/scsi/st.h | struct mtget * mt_status; |
mtget | 174 | include/linux/mtio.h | #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */ |