tag | line | file | source code |
cmd_in | 146 | drivers/scsi/scsi_ioctl.c | char * cmd_in; |
cmd_in | 159 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
cmd_in | 160 | drivers/scsi/scsi_ioctl.c | opcode = get_fs_byte(cmd_in); |
cmd_in | 171 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) cmd, cmd_in, cmdlen = COMMAND_SIZE (opcode)); |
cmd_in | 172 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) buf, (void *) (cmd_in + cmdlen), inlen > MAX_BUF ? MAX_BUF : inlen); |
cmd_in | 192 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, sizeof(SCpnt->sense_buffer)); |
cmd_in | 195 | drivers/scsi/scsi_ioctl.c | memcpy_tofs((void *) cmd_in, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
cmd_in | 198 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, (outlen > MAX_BUF) ? MAX_BUF : outlen); |
cmd_in | 201 | drivers/scsi/scsi_ioctl.c | memcpy_tofs ((void *) cmd_in, buf, (outlen > MAX_BUF) ? MAX_BUF : outlen); |
cmd_in | 220 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
cmd_in | 55 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 60 | drivers/scsi/sg.c | switch(cmd_in) |
cmd_in | 68 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
cmd_in | 97 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
cmd_in | 886 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 898 | drivers/scsi/st.c | switch (cmd_in) { |
cmd_in | 1046 | drivers/scsi/st.c | if (cmd_in == MTSETBLK && |
cmd_in | 1057 | drivers/scsi/st.c | if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1063 | drivers/scsi/st.c | if (cmd_in == MTSETDENSITY) |
cmd_in | 1067 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1076 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1081 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1090 | drivers/scsi/st.c | printk("st%d: Unknown st_ioctl command %x.\n", dev, cmd_in); |
cmd_in | 1108 | drivers/scsi/st.c | if (cmd_in == MTBSFM) |
cmd_in | 1110 | drivers/scsi/st.c | else if (cmd_in == MTFSFM) |
cmd_in | 1112 | drivers/scsi/st.c | else if (cmd_in == MTSETBLK) { |
cmd_in | 1127 | drivers/scsi/st.c | else if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1129 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1131 | drivers/scsi/st.c | if (cmd_in == MTEOM || cmd_in == MTWEOF) { |
cmd_in | 1135 | drivers/scsi/st.c | else if (cmd_in != MTSETBLK && cmd_in != MTNOP) { |
cmd_in | 1148 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1165 | drivers/scsi/st.c | cmd = cmd_in & IOCCMD_MASK; |
cmd_in | 1168 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(mtc)) |
cmd_in | 1187 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(struct mtget)) |
cmd_in | 1201 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(struct mtpos)) |
cmd_in | 1259 | drivers/scsi/st.c | return scsi_ioctl(scsi_tapes[dev].device, cmd_in, (void *) arg); |