tag | line | file | source code |
mtget | 3825 | drivers/block/ide-tape.c | struct mtget mtget; |
mtget | 3852 | drivers/block/ide-tape.c | mtget.mt_dsreg=(tape->data_buffer_size << MT_ST_BLKSIZE_SHIFT) & MT_ST_BLKSIZE_MASK; |
mtget | 3853 | drivers/block/ide-tape.c | retval=verify_area (VERIFY_WRITE,(char *) arg,sizeof (struct mtget)); |
mtget | 3855 | 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 | 2616 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) |
mtget | 2618 | drivers/scsi/st.c | i = verify_area(VERIFY_WRITE, (void *)arg, sizeof(struct mtget)); |
mtget | 2663 | drivers/scsi/st.c | sizeof(struct mtget)); |
mtget | 2954 | drivers/scsi/st.c | STp->mt_status = (struct mtget *) scsi_init_malloc(sizeof(struct mtget), |
mtget | 2957 | drivers/scsi/st.c | memset((void *) scsi_tapes[i].mt_status, 0, sizeof(struct mtget)); |
mtget | 107 | drivers/scsi/st.h | struct mtget * mt_status; |
mtget | 176 | include/linux/mtio.h | #define MTIOCGET _IOR('m', 2, struct mtget) /* get tape status */ |