tag | line | file | source code |
cmd_in | 169 | drivers/scsi/scsi_ioctl.c | char * cmd_in; |
cmd_in | 206 | drivers/scsi/scsi_ioctl.c | cmd_in = (char *) ( ((int *)buffer) + 2); |
cmd_in | 207 | drivers/scsi/scsi_ioctl.c | opcode = get_user(cmd_in); |
cmd_in | 224 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_READ, cmd_in, |
cmd_in | 228 | drivers/scsi/scsi_ioctl.c | memcpy_fromfs ((void *) cmd, cmd_in, cmdlen); |
cmd_in | 234 | drivers/scsi/scsi_ioctl.c | (void *) (cmd_in + cmdlen), |
cmd_in | 259 | drivers/scsi/scsi_ioctl.c | cmd_in, |
cmd_in | 262 | drivers/scsi/scsi_ioctl.c | memcpy_tofs((void *) cmd_in, |
cmd_in | 266 | drivers/scsi/scsi_ioctl.c | result = verify_area(VERIFY_WRITE, cmd_in, outlen); |
cmd_in | 268 | drivers/scsi/scsi_ioctl.c | memcpy_tofs ((void *) cmd_in, buf, outlen); |
cmd_in | 293 | drivers/scsi/scsi_ioctl.c | printk("buffer = %d, cmd_in = %d\n", buffer, cmd_in); |
cmd_in | 67 | drivers/scsi/sg.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 73 | drivers/scsi/sg.c | switch(cmd_in) |
cmd_in | 84 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
cmd_in | 113 | drivers/scsi/st.c | static int st_int_ioctl(struct inode * inode, unsigned int cmd_in, |
cmd_in | 1675 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 1688 | drivers/scsi/st.c | if (STp->ready != ST_READY && cmd_in != MTLOAD) |
cmd_in | 1697 | drivers/scsi/st.c | switch (cmd_in) { |
cmd_in | 1813 | drivers/scsi/st.c | if (cmd_in == MTWSM) |
cmd_in | 1821 | drivers/scsi/st.c | if (cmd_in == MTWEOF) |
cmd_in | 1832 | drivers/scsi/st.c | at_sm = (cmd_in == MTWSM); |
cmd_in | 1850 | drivers/scsi/st.c | if (cmd_in == MTLOAD) |
cmd_in | 1860 | drivers/scsi/st.c | if (cmd_in != MTLOAD) |
cmd_in | 1950 | drivers/scsi/st.c | if ((cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) && |
cmd_in | 1962 | drivers/scsi/st.c | if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 1968 | drivers/scsi/st.c | if (cmd_in == MTSETDENSITY) { |
cmd_in | 1972 | drivers/scsi/st.c | else if (cmd_in == SET_DENS_AND_BLK) |
cmd_in | 1976 | drivers/scsi/st.c | if (cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) { |
cmd_in | 1978 | drivers/scsi/st.c | if (cmd_in == MTSETBLK) |
cmd_in | 1989 | drivers/scsi/st.c | if (cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) |
cmd_in | 1994 | drivers/scsi/st.c | if (cmd_in == MTSETDENSITY || cmd_in == SET_DENS_AND_BLK) |
cmd_in | 1997 | drivers/scsi/st.c | if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 2015 | drivers/scsi/st.c | if (cmd_in == MTFSF) |
cmd_in | 2017 | drivers/scsi/st.c | else if (cmd_in != MTLOAD) |
cmd_in | 2023 | drivers/scsi/st.c | if (cmd_in == MTLOCK) |
cmd_in | 2025 | drivers/scsi/st.c | else if (cmd_in == MTUNLOCK) |
cmd_in | 2027 | drivers/scsi/st.c | if (cmd_in == MTBSFM) |
cmd_in | 2029 | drivers/scsi/st.c | else if (cmd_in == MTFSFM) |
cmd_in | 2031 | drivers/scsi/st.c | else if (cmd_in == MTSETBLK || cmd_in == SET_DENS_AND_BLK) { |
cmd_in | 2038 | drivers/scsi/st.c | else if (cmd_in == MTSETDRVBUFFER) |
cmd_in | 2040 | drivers/scsi/st.c | else if (cmd_in == MTSETDENSITY) |
cmd_in | 2042 | drivers/scsi/st.c | else if (cmd_in == MTEOM) { |
cmd_in | 2046 | drivers/scsi/st.c | else if (cmd_in != MTSETBLK && cmd_in != MTNOP) { |
cmd_in | 2050 | drivers/scsi/st.c | if (cmd_in == SET_DENS_AND_BLK) |
cmd_in | 2052 | drivers/scsi/st.c | if (cmd_in == MTOFFL || cmd_in == MTUNLOAD) |
cmd_in | 2054 | drivers/scsi/st.c | else if (cmd_in == MTLOAD) { |
cmd_in | 2065 | drivers/scsi/st.c | if (cmd_in != MTBSF && cmd_in != MTBSFM && |
cmd_in | 2066 | drivers/scsi/st.c | cmd_in != MTBSR && cmd_in != MTBSS) |
cmd_in | 2076 | drivers/scsi/st.c | if ( (cmd_in == MTFSF) || (cmd_in == MTFSFM) ) { |
cmd_in | 2083 | drivers/scsi/st.c | else if ( (cmd_in == MTBSF) || (cmd_in == MTBSFM) ) { |
cmd_in | 2087 | drivers/scsi/st.c | else if (cmd_in == MTFSR) { |
cmd_in | 2099 | drivers/scsi/st.c | else if (cmd_in == MTBSR) { |
cmd_in | 2111 | drivers/scsi/st.c | else if (cmd_in == MTEOM) { |
cmd_in | 2118 | drivers/scsi/st.c | if (cmd_in == MTLOCK) |
cmd_in | 2462 | drivers/scsi/st.c | unsigned int cmd_in, unsigned long arg) |
cmd_in | 2483 | drivers/scsi/st.c | cmd_type = _IOC_TYPE(cmd_in); |
cmd_in | 2484 | drivers/scsi/st.c | cmd_nr = _IOC_NR(cmd_in); |
cmd_in | 2487 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(mtc)) |
cmd_in | 2616 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtget)) |
cmd_in | 2670 | drivers/scsi/st.c | if (_IOC_SIZE(cmd_in) != sizeof(struct mtpos)) |
cmd_in | 2682 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |