tag | line | file | source code |
cmd_in | 150 | drivers/scsi/scsi_ioctl.c | char * cmd_in; |
cmd_in | 163 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
cmd_in | 164 | drivers/scsi/scsi_ioctl.c | opcode = get_fs_byte(cmd_in); |
cmd_in | 176 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) cmd, cmd_in, cmdlen = COMMAND_SIZE (opcode)); |
cmd_in | 177 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) buf, (void *) (cmd_in + cmdlen), inlen > MAX_BUF ? MAX_BUF : inlen); |
cmd_in | 199 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, sizeof(SCpnt->sense_buffer)); |
cmd_in | 202 | drivers/scsi/scsi_ioctl.c | memcpy_tofs((void *) cmd_in, SCpnt->sense_buffer, sizeof(SCpnt->sense_buffer)); |
cmd_in | 205 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, (outlen > MAX_BUF) ? MAX_BUF : outlen); |
cmd_in | 208 | drivers/scsi/scsi_ioctl.c | memcpy_tofs ((void *) cmd_in, buf, (outlen > MAX_BUF) ? MAX_BUF : outlen); |
cmd_in | 231 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
cmd_in | 66 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 71 | drivers/scsi/sg.c | switch(cmd_in) |
cmd_in | 79 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
cmd_in | 102 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg); |
cmd_in | 1211 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1232 | drivers/scsi/st.c | switch (cmd_in) { |
cmd_in | 1346 | drivers/scsi/st.c | if (cmd_in == MTWSM) |
cmd_in | 1354 | drivers/scsi/st.c | if (cmd_in == MTWEOF) |
cmd_in | 1365 | drivers/scsi/st.c | at_sm = (cmd_in == MTWSM); |
cmd_in | 1483 | drivers/scsi/st.c | if (cmd_in == MTSETBLK && |
cmd_in | 1494 | drivers/scsi/st.c | if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1500 | drivers/scsi/st.c | if (cmd_in == MTSETDENSITY) |
cmd_in | 1504 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1514 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1519 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1529 | drivers/scsi/st.c | printk("st%d: Unknown st_ioctl command %x.\n", dev, cmd_in); |
cmd_in | 1546 | drivers/scsi/st.c | if (cmd_in == MTFSF) |
cmd_in | 1551 | drivers/scsi/st.c | if (cmd_in != MTSEEK) { |
cmd_in | 1560 | drivers/scsi/st.c | if (cmd_in == MTBSFM) |
cmd_in | 1562 | drivers/scsi/st.c | else if (cmd_in == MTFSFM) |
cmd_in | 1564 | drivers/scsi/st.c | else if (cmd_in == MTSETBLK) { |
cmd_in | 1579 | drivers/scsi/st.c | else if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1581 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1583 | drivers/scsi/st.c | else if (cmd_in == MTEOM) { |
cmd_in | 1587 | drivers/scsi/st.c | else if (cmd_in != MTSETBLK && cmd_in != MTNOP) { |
cmd_in | 1593 | drivers/scsi/st.c | if (cmd_in != MTBSF && cmd_in != MTBSFM && |
cmd_in | 1594 | drivers/scsi/st.c | cmd_in != MTBSR && cmd_in != MTBSS) |
cmd_in | 1604 | drivers/scsi/st.c | if ( (cmd_in == MTFSF) || (cmd_in == MTFSFM) ) { |
cmd_in | 1611 | drivers/scsi/st.c | else if ( (cmd_in == MTBSF) || (cmd_in == MTBSFM) ) { |
cmd_in | 1615 | drivers/scsi/st.c | else if (cmd_in == MTFSR) { |
cmd_in | 1627 | drivers/scsi/st.c | else if (cmd_in == MTBSR) { |
cmd_in | 1639 | drivers/scsi/st.c | else if (cmd_in == MTEOM || cmd_in == MTSEEK) { |
cmd_in | 1656 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1675 | drivers/scsi/st.c | cmd = cmd_in & IOCCMD_MASK; |
cmd_in | 1678 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(mtc)) |
cmd_in | 1705 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(struct mtget)) |
cmd_in | 1763 | drivers/scsi/st.c | if (((cmd_in & IOCSIZE_MASK) >> IOCSIZE_SHIFT) != sizeof(struct mtpos)) |
cmd_in | 1822 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |