tag | line | file | source code |
cmd_in | 165 | drivers/scsi/scsi_ioctl.c | char * cmd_in; |
cmd_in | 202 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
cmd_in | 203 | drivers/scsi/scsi_ioctl.c | opcode = get_user(cmd_in); |
cmd_in | 220 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, cmd_in, |
cmd_in | 224 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) cmd, cmd_in, cmdlen); |
cmd_in | 230 | drivers/scsi/scsi_ioctl.c | (void *) (cmd_in + cmdlen), |
cmd_in | 255 | drivers/scsi/scsi_ioctl.c | cmd_in, |
cmd_in | 258 | drivers/scsi/scsi_ioctl.c | memcpy_tofs((void *) cmd_in, |
cmd_in | 262 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, outlen); |
cmd_in | 264 | drivers/scsi/scsi_ioctl.c | memcpy_tofs ((void *) cmd_in, buf, outlen); |
cmd_in | 289 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
cmd_in | 70 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 76 | drivers/scsi/sg.c | switch(cmd_in) |
cmd_in | 87 | 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 | 1282 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1294 | drivers/scsi/st.c | if (STp->ready != ST_READY && cmd_in != MTLOAD) |
cmd_in | 1302 | drivers/scsi/st.c | switch (cmd_in) { |
cmd_in | 1418 | drivers/scsi/st.c | if (cmd_in == MTWSM) |
cmd_in | 1426 | drivers/scsi/st.c | if (cmd_in == MTWEOF) |
cmd_in | 1437 | drivers/scsi/st.c | at_sm = (cmd_in == MTWSM); |
cmd_in | 1455 | drivers/scsi/st.c | if (cmd_in == MTLOAD) |
cmd_in | 1577 | drivers/scsi/st.c | if (cmd_in == MTSETBLK && |
cmd_in | 1588 | drivers/scsi/st.c | if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1594 | drivers/scsi/st.c | if (cmd_in == MTSETDENSITY) |
cmd_in | 1598 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1608 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1613 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1634 | drivers/scsi/st.c | if (cmd_in == MTFSF) |
cmd_in | 1639 | drivers/scsi/st.c | if (cmd_in != MTSEEK) { |
cmd_in | 1648 | drivers/scsi/st.c | if (cmd_in == MTLOCK) |
cmd_in | 1650 | drivers/scsi/st.c | else if (cmd_in == MTUNLOCK) |
cmd_in | 1652 | drivers/scsi/st.c | if (cmd_in == MTBSFM) |
cmd_in | 1654 | drivers/scsi/st.c | else if (cmd_in == MTFSFM) |
cmd_in | 1656 | drivers/scsi/st.c | else if (cmd_in == MTSETBLK) { |
cmd_in | 1663 | drivers/scsi/st.c | else if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1665 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 1667 | drivers/scsi/st.c | else if (cmd_in == MTEOM) { |
cmd_in | 1671 | drivers/scsi/st.c | else if (cmd_in != MTSETBLK && cmd_in != MTNOP) { |
cmd_in | 1675 | drivers/scsi/st.c | if (cmd_in == MTOFFL || cmd_in == MTUNLOAD) |
cmd_in | 1677 | drivers/scsi/st.c | else if (cmd_in == MTLOAD) |
cmd_in | 1682 | drivers/scsi/st.c | if (cmd_in != MTBSF && cmd_in != MTBSFM && |
cmd_in | 1683 | drivers/scsi/st.c | cmd_in != MTBSR && cmd_in != MTBSS) |
cmd_in | 1693 | drivers/scsi/st.c | if ( (cmd_in == MTFSF) || (cmd_in == MTFSFM) ) { |
cmd_in | 1700 | drivers/scsi/st.c | else if ( (cmd_in == MTBSF) || (cmd_in == MTBSFM) ) { |
cmd_in | 1704 | drivers/scsi/st.c | else if (cmd_in == MTFSR) { |
cmd_in | 1716 | drivers/scsi/st.c | else if (cmd_in == MTBSR) { |
cmd_in | 1728 | drivers/scsi/st.c | else if (cmd_in == MTEOM || cmd_in == MTSEEK) { |
cmd_in | 1735 | drivers/scsi/st.c | if (cmd_in == MTLOCK) |
cmd_in | 1747 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1769 | drivers/scsi/st.c | if( cmd_in == SCSI_IOCTL_GET_IDLUN || cmd_in == SCSI_IOCTL_PROBE_HOST ) |
cmd_in | 1771 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |
cmd_in | 1774 | drivers/scsi/st.c | cmd_type = _IOC_TYPE(cmd_in); |
cmd_in | 1775 | drivers/scsi/st.c | cmd_nr = _IOC_NR(cmd_in); |
cmd_in | 1777 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(mtc)) |
cmd_in | 1846 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) |
cmd_in | 1904 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) |
cmd_in | 1956 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |