taglinefilesource code
cmd29drivers/block/blk.hint cmd;    /* READ or WRITE */
cmd47drivers/block/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd303drivers/block/cdu31a.cwrite_cmd(unsigned char cmd)
cmd305drivers/block/cdu31a.coutb(cmd, sony_cd_cmd_reg);
cmd636drivers/block/cdu31a.cdo_sony_cd_cmd(unsigned char cmd,
cmd691drivers/block/cdu31a.cwrite_cmd(cmd);
cmd884drivers/block/cdu31a.cswitch(CURRENT->cmd)
cmd1139drivers/block/cdu31a.cunsigned int  cmd,
cmd1159drivers/block/cdu31a.cswitch (cmd)
cmd1054drivers/block/floppy.cif (CURRENT->cmd == READ)
cmd1056drivers/block/floppy.celse if (CURRENT->cmd == WRITE)
cmd1108drivers/block/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd1114drivers/block/floppy.cswitch (cmd) {
cmd1118drivers/block/floppy.cswitch (cmd) {
cmd1130drivers/block/floppy.ccmd = FDCLRPRM;
cmd1187drivers/block/floppy.cswitch (cmd) {
cmd1200drivers/block/floppy.cif (cmd == FDDEFPRM)
cmd188drivers/block/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd214drivers/block/hd.coutb_p(cmd,++port);
cmd502drivers/block/hd.cif (CURRENT->cmd == WRITE) {
cmd515drivers/block/hd.cif (CURRENT->cmd == READ) {
cmd526drivers/block/hd.cunsigned int cmd, unsigned long arg)
cmd536drivers/block/hd.cswitch (cmd) {
cmd236drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd250drivers/block/ll_rw_blk.creq->cmd == rw &&
cmd288drivers/block/ll_rw_blk.creq->cmd = rw;
cmd320drivers/block/ll_rw_blk.creq->cmd = rw;
cmd451drivers/block/ll_rw_blk.creq->cmd = rw;
cmd87drivers/block/mcd.cstatic void sendMcdCmd(int cmd, struct mcd_Play_msf *params);
cmd186drivers/block/mcd.cmcd_ioctl(struct inode *ip, struct file *fp, unsigned int cmd,
cmd215drivers/block/mcd.cswitch (cmd)
cmd550drivers/block/mcd.cif (CURRENT -> cmd != READ)
cmd552drivers/block/mcd.cprintk("mcd: bad cmd %d\n", CURRENT -> cmd);
cmd939drivers/block/mcd.csendMcdCmd(int cmd, struct mcd_Play_msf *params)
cmd941drivers/block/mcd.coutb(cmd, MCDPORT(0));
cmd45drivers/block/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd49drivers/block/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd188drivers/block/xd.cswitch (CURRENT->cmd) {
cmd191drivers/block/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
cmd201drivers/block/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
cmd207drivers/block/xd.cswitch (cmd) {
cmd332drivers/char/lp.cunsigned int cmd, unsigned long arg)
cmd338drivers/char/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd344drivers/char/lp.cswitch ( cmd ) {
cmd1174drivers/char/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd1184drivers/char/serial.cswitch (cmd) {
cmd1312drivers/char/serial.cunsigned int cmd, unsigned long arg)
cmd1322drivers/char/serial.cswitch (cmd) {
cmd1352drivers/char/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd587drivers/char/tpqic02.cstatic int notify_cmd(char cmd, short ignore_ex)
cmd591drivers/char/tpqic02.coutb_p(cmd, QIC_CMD_PORT);    /* output the command */
cmd726drivers/char/tpqic02.cstatic int send_qic02_cmd(int cmd, time_t timeout, int ignore_ex)
cmd745drivers/char/tpqic02.cstatus_cmd_pending = cmd;
cmd747drivers/char/tpqic02.cstat = notify_cmd(cmd, ignore_ex); /* tell drive new command was loaded, */
cmd749drivers/char/tpqic02.cif (cmd == QCMDV_SEEK_BLK) {
cmd893drivers/char/tpqic02.cstatic void finish_rw(int cmd);
cmd994drivers/char/tpqic02.cstatic int ll_do_qic_cmd(int cmd, time_t timeout)
cmd1011drivers/char/tpqic02.cprintk(TPQIC_NAME ": ll_do_qic_cmd(%x, %d) failed\n", cmd, timeout);
cmd1021drivers/char/tpqic02.cstat = send_qic02_cmd(cmd, timeout, 0);  /* (checks for exceptions) */
cmd1023drivers/char/tpqic02.cif (cmd==QCMD_RD_FM) {
cmd1029drivers/char/tpqic02.c} else if (cmd==QCMD_WRT_FM) {
cmd1032drivers/char/tpqic02.c} else if ((cmd==QCMD_REWIND) || (cmd==QCMD_ERASE) || (cmd==QCMD_RETEN)) {
cmd1047drivers/char/tpqic02.cprintk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[1](%x, %d)", cmd, timeout);
cmd1065drivers/char/tpqic02.cif (tp_sense((cmd==QCMD_SEEK_EOD ?    /*****************************/
cmd1068drivers/char/tpqic02.cprintk(TPQIC_NAME ": Exception persist in ll_do_qic_cmd[2](%x, %d)\n", cmd, timeout);
cmd1069drivers/char/tpqic02.cif (cmd!=QCMD_RD_FM)
cmd1076drivers/char/tpqic02.cprintk(TPQIC_NAME ": ll_do_qic_cmd %x: wait failed, stat == 0x%x\n", cmd, stat);
cmd1108drivers/char/tpqic02.cstatic void terminate_read(int cmd)
cmd1112drivers/char/tpqic02.cif (cmd != QCMD_RD_FM) {
cmd1129drivers/char/tpqic02.cstatic void terminate_write(int cmd)
cmd1136drivers/char/tpqic02.cif (cmd != QCMD_WRT_FM) {
cmd1153drivers/char/tpqic02.cstatic void finish_rw(int cmd)
cmd1159drivers/char/tpqic02.cterminate_read(cmd);
cmd1160drivers/char/tpqic02.cterminate_write(cmd);
cmd1168drivers/char/tpqic02.cstatic int do_qic_cmd(int cmd, time_t timeout)
cmd1173drivers/char/tpqic02.cfinish_rw(cmd);
cmd1183drivers/char/tpqic02.cif (cmd==QCMD_REWIND)  /* don't wind beyond BOT ;-) */
cmd1187drivers/char/tpqic02.creturn ll_do_qic_cmd(cmd, timeout);
cmd1195drivers/char/tpqic02.cstatic int do_ioctl_cmd(int cmd)
cmd1205drivers/char/tpqic02.cswitch (cmd) {
cmd199drivers/char/tty_io.cunsigned int cmd, unsigned long arg)
cmd410drivers/char/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd438drivers/char/tty_ioctl.cswitch (cmd) {
cmd635drivers/char/tty_ioctl.ctty->ioctl(tty, file, cmd, arg);
cmd639drivers/char/tty_ioctl.cretval = (tty->ioctl)(tty, file, cmd, arg);
cmd645drivers/char/tty_ioctl.c(tty, file, cmd, arg);
cmd106drivers/char/vt.cunsigned int cmd, unsigned long arg)
cmd118drivers/char/vt.cswitch (cmd) {
cmd154drivers/char/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd159drivers/char/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd266drivers/net/d_link.c#define d_link_put_command(cmd) ( \
cmd269drivers/net/d_link.coutb_p(((rx_page | cmd) << 4)   | COMMAND            , DATA_PORT), \
cmd270drivers/net/d_link.coutb_p(((rx_page | cmd) & 0xf0) | COMMAND | HI_NIBBLE, DATA_PORT))
cmd1059drivers/net/slip.cslip_ioctl(struct tty_struct *tty, void *file, int cmd, void *arg)
cmd1070drivers/net/slip.cDPRINTF((DBG_SLIP, "SLIP: ioctl(%d, 0x%X, 0x%X)\n", tty->line, cmd, arg));
cmd1071drivers/net/slip.cswitch(cmd) {
cmd252drivers/scsi/NCR5380.cstatic __inline__ void initialize_SCp(Scsi_Cmnd *cmd) {
cmd258drivers/scsi/NCR5380.cif (cmd->use_sg) {
cmd259drivers/scsi/NCR5380.ccmd->SCp.buffer = (struct scatterlist *) cmd->buffer;
cmd260drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = cmd->use_sg - 1;
cmd261drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->SCp.buffer->address;
cmd262drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd264drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd265drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd266drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->request_buffer;
cmd267drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->request_bufflen;
cmd452drivers/scsi/NCR5380.cstatic int should_disconnect (unsigned char cmd) {
cmd453drivers/scsi/NCR5380.cswitch (cmd) {
cmd730drivers/scsi/NCR5380.cint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *)) {
cmd732drivers/scsi/NCR5380.ccmd->host->hostdata;
cmd736drivers/scsi/NCR5380.cswitch (cmd->cmnd[0]) {
cmd741drivers/scsi/NCR5380.ccmd->result = (DID_ERROR << 16);
cmd742drivers/scsi/NCR5380.cdone(cmd);
cmd753drivers/scsi/NCR5380.ccmd->host_scribble = NULL;
cmd754drivers/scsi/NCR5380.ccmd->scsi_done = done;
cmd756drivers/scsi/NCR5380.ccmd->result = 0;
cmd767drivers/scsi/NCR5380.cif (!(hostdata->issue_queue) || (cmd->cmnd[0] == REQUEST_SENSE)) {
cmd768drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) hostdata->issue_queue;
cmd769drivers/scsi/NCR5380.chostdata->issue_queue = cmd;
cmd773drivers/scsi/NCR5380.ctmp->host_scribble = (unsigned char *) cmd;
cmd777drivers/scsi/NCR5380.c(cmd->cmnd[0] == REQUEST_SENSE) ? "head" : "tail");
cmd1002drivers/scsi/NCR5380.cstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd,
cmd1088drivers/scsi/NCR5380.cNCR5380_write(OUTPUT_DATA_REG, (hostdata->id_mask | (1 << cmd->target)));
cmd1127drivers/scsi/NCR5380.cprintk("scsi%d : selecting target %d\n", instance->host_no, cmd->target);
cmd1149drivers/scsi/NCR5380.ccmd->result = DID_BAD_TARGET << 16;
cmd1150drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1179drivers/scsi/NCR5380.cinstance->host_no, cmd->target);
cmd1181drivers/scsi/NCR5380.ctmp[0] = IDENTIFY(((instance->irq == IRQ_NONE) ? 0 : 1), cmd->lun);
cmd1183drivers/scsi/NCR5380.cif (scsi_devices[cmd->index].tagged_queue && (tag != TAG_NONE)) {
cmd1187drivers/scsi/NCR5380.cif (scsi_devices[cmd->index].current_tag == 0)
cmd1188drivers/scsi/NCR5380.cscsi_devices[cmd->index].current_tag = 1;
cmd1190drivers/scsi/NCR5380.ccmd->tag = scsi_devices[cmd->index].current_tag;
cmd1191drivers/scsi/NCR5380.cscsi_devices[cmd->index].current_tag++;
cmd1193drivers/scsi/NCR5380.ccmd->tag = (unsigned char) tag;
cmd1195drivers/scsi/NCR5380.ctmp[2] = cmd->tag;
cmd1202drivers/scsi/NCR5380.ccmd->tag=0;
cmd1213drivers/scsi/NCR5380.chostdata->connected = cmd;
cmd1215drivers/scsi/NCR5380.cif (!scsi_devices[cmd->index].tagged_queue)
cmd1217drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1219drivers/scsi/NCR5380.cinitialize_SCp(cmd);
cmd1467drivers/scsi/NCR5380.cScsi_Cmnd *cmd = (Scsi_Cmnd *) hostdata->connected;
cmd1496drivers/scsi/NCR5380.cif (!cmd->SCp.this_residual && cmd->SCp.buffers_residual) {
cmd1497drivers/scsi/NCR5380.c++cmd->SCp.buffer;
cmd1498drivers/scsi/NCR5380.c--cmd->SCp.buffers_residual;
cmd1499drivers/scsi/NCR5380.ccmd->SCp.this_residual = cmd->SCp.buffer->length;
cmd1500drivers/scsi/NCR5380.ccmd->SCp.ptr = cmd->SCp.buffer->address;
cmd1503drivers/scsi/NCR5380.cinstance->host_no, cmd->SCp.this_residual,
cmd1504drivers/scsi/NCR5380.ccmd->SCp.buffers_residual);
cmd1519drivers/scsi/NCR5380.cif (!scsi_devices[cmd->index].borken && cmd->transfersize && 
cmd1520drivers/scsi/NCR5380.ccmd->SCp.this_residual && !(cmd->SCp.this_residual % 
cmd1521drivers/scsi/NCR5380.ccmd->transfersize)) {
cmd1522drivers/scsi/NCR5380.clen = cmd->transfersize;
cmd1524drivers/scsi/NCR5380.c&len, (unsigned char **) &cmd->SCp.ptr)) {
cmd1530drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1531drivers/scsi/NCR5380.cscsi_devices[cmd->index].borken = 1;
cmd1536drivers/scsi/NCR5380.ccmd->SCp.this_residual -= cmd->transfersize;
cmd1540drivers/scsi/NCR5380.c(int *) &cmd->SCp.this_residual, (unsigned char **)
cmd1541drivers/scsi/NCR5380.c&cmd->SCp.ptr);
cmd1554drivers/scsi/NCR5380.ccmd->SCp.Message = tmp;
cmd1572drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1580drivers/scsi/NCR5380.cif (!cmd->next_link) {
cmd1582drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1589drivers/scsi/NCR5380.cinitialize_SCp(cmd->next_link);
cmd1591drivers/scsi/NCR5380.ccmd->next_link->tag = cmd->tag;
cmd1592drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd1595drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1597drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1598drivers/scsi/NCR5380.ccmd = hostdata->connected;
cmd1606drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun);
cmd1608drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd1615drivers/scsi/NCR5380.cif (cmd->cmnd[0] != REQUEST_SENSE) 
cmd1616drivers/scsi/NCR5380.ccmd->result = cmd->SCp.Status | (cmd->SCp.Message << 8); 
cmd1617drivers/scsi/NCR5380.celse if (cmd->SCp.Status != GOOD)
cmd1618drivers/scsi/NCR5380.ccmd->result = (cmd->result & 0x00ffff) | (DID_ERROR << 16);
cmd1620drivers/scsi/NCR5380.cif ((cmd->cmnd[0] != REQUEST_SENSE) && 
cmd1621drivers/scsi/NCR5380.c(cmd->SCp.Status == CHECK_CONDITION)) {
cmd1626drivers/scsi/NCR5380.ccmd->cmnd[0] = REQUEST_SENSE;
cmd1627drivers/scsi/NCR5380.ccmd->cmnd[1] &= 0xe0;
cmd1628drivers/scsi/NCR5380.ccmd->cmnd[2] = 0;
cmd1629drivers/scsi/NCR5380.ccmd->cmnd[3] = 0;
cmd1630drivers/scsi/NCR5380.ccmd->cmnd[4] = sizeof(cmd->sense_buffer);
cmd1631drivers/scsi/NCR5380.ccmd->cmnd[5] = 0;
cmd1633drivers/scsi/NCR5380.ccmd->SCp.buffer = NULL;
cmd1634drivers/scsi/NCR5380.ccmd->SCp.buffers_residual = 0;
cmd1635drivers/scsi/NCR5380.ccmd->SCp.ptr = (char *) cmd->sense_buffer;
cmd1636drivers/scsi/NCR5380.ccmd->SCp.this_residual = sizeof(cmd->sense_buffer);
cmd1639drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd1641drivers/scsi/NCR5380.chostdata->issue_queue = (Scsi_Cmnd *) cmd;
cmd1648drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1657drivers/scsi/NCR5380.cscsi_devices[cmd->index].tagged_queue = 0;
cmd1658drivers/scsi/NCR5380.chostdata->busy[cmd->target] |= (1 << cmd->lun);
cmd1664drivers/scsi/NCR5380.cscsi_devices[cmd->index].disconnect = 1;
cmd1666drivers/scsi/NCR5380.ccmd->host_scribble = (unsigned char *) 
cmd1669drivers/scsi/NCR5380.chostdata->disconnected_queue = cmd;
cmd1674drivers/scsi/NCR5380.ccmd->target, cmd->lun);
cmd1717drivers/scsi/NCR5380.chostdata->busy[cmd->target] &= ~(1 << cmd->lun);
cmd1719drivers/scsi/NCR5380.ccmd->result = DID_ERROR << 16;
cmd1720drivers/scsi/NCR5380.ccmd->scsi_done(cmd);
cmd1727drivers/scsi/NCR5380.clen = COMMAND_SIZE(cmd->cmnd[0]);
cmd1728drivers/scsi/NCR5380.cdata = cmd->cmnd;
cmd1737drivers/scsi/NCR5380.cif (!disconnect && should_disconnect(cmd->cmnd[0])) {
cmd1752drivers/scsi/NCR5380.ccmd->SCp.Status = tmp;
cmd1912drivers/scsi/NCR5380.cinstance->host_no, cmd->target, cmd->lun, cmd->tag);
cmd1985drivers/scsi/NCR5380.cint NCR5380_abort (Scsi_Cmnd *cmd, int code) {
cmd1987drivers/scsi/NCR5380.cstruct Scsi_Host *instance = cmd->host;
cmd2008drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2067drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd2073drivers/scsi/NCR5380.cif (NCR5380_select (instance, cmd, (int) cmd->tag)) 
cmd2092drivers/scsi/NCR5380.cif (cmd == tmp) {
cmd235drivers/scsi/NCR5380.hint NCR5380_abort (Scsi_Cmnd *cmd, int code);
cmd243drivers/scsi/NCR5380.hint NCR5380_queue_command (Scsi_Cmnd *cmd, void (*done)(Scsi_Cmnd *));
cmd247drivers/scsi/NCR5380.hstatic int NCR5380_select (struct Scsi_Host *instance, Scsi_Cmnd *cmd, int tag);
cmd390drivers/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd408drivers/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd421drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd422drivers/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd423drivers/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd424drivers/scsi/aha1542.ci = scsi2int(cmd+2);
cmd428drivers/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd430drivers/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd433drivers/scsi/aha1542.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd435drivers/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd469drivers/scsi/aha1542.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);     /* SCSI Command Descriptor Block Length */
cmd472drivers/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd474drivers/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd477drivers/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd574drivers/scsi/aha1542.cunchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES};
cmd584drivers/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd585drivers/scsi/aha1542.caha1542_out(bse, cmd, 5);
cmd776drivers/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd781drivers/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd791drivers/scsi/aha1542.cunsigned char cmd[10];
cmd794drivers/scsi/aha1542.ccmd[0] = READ_10;
cmd795drivers/scsi/aha1542.ccmd[1] = 0;
cmd796drivers/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd797drivers/scsi/aha1542.ccmd[6] = 0;
cmd798drivers/scsi/aha1542.ccmd[7] = 0;
cmd799drivers/scsi/aha1542.ccmd[8] = 1;
cmd800drivers/scsi/aha1542.ccmd[9] = 0;
cmd801drivers/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd241drivers/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd249drivers/scsi/aha1740.cif(*cmd == REQUEST_SENSE)
cmd262drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd263drivers/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd264drivers/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd265drivers/scsi/aha1740.ci = scsi2int(cmd+2);
cmd268drivers/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd270drivers/scsi/aha1740.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd299drivers/scsi/aha1740.cecb[ecbno].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor Block Length */
cmd302drivers/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd304drivers/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd307drivers/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
cmd72drivers/scsi/scsi_debug.cif (SCpnt->request.cmd != RW) panic ("Wrong  operation");    \
cmd139drivers/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd163drivers/scsi/scsi_debug.cswitch(*cmd){
cmd180drivers/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd217drivers/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd218drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd220drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd275drivers/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd299drivers/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd300drivers/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd302drivers/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd321drivers/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd89drivers/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd95drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd108drivers/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd145drivers/scsi/scsi_ioctl.cchar cmd[12];
cmd171drivers/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd174drivers/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd180drivers/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf, needed,  scsi_ioctl_done,  MAX_TIMEOUT, 
cmd213drivers/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd233drivers/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd237drivers/scsi/scsi_ioctl.cif ((cmd != 0 && dev->index > NR_SCSI_DEVICES))
cmd240drivers/scsi/scsi_ioctl.cswitch (cmd) {
cmd296drivers/scsi/scsi_ioctl.cint kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg) {
cmd301drivers/scsi/scsi_ioctl.ctmp = scsi_ioctl (dev, cmd, arg);
cmd15drivers/scsi/scsi_ioctl.hextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd16drivers/scsi/scsi_ioctl.hextern int kernel_scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd168drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd180drivers/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd383drivers/scsi/sd.cunsigned char cmd[10];
cmd424drivers/scsi/sd.cswitch (SCpnt->request.cmd)
cmd432drivers/scsi/sd.ccmd[0] = WRITE_6;
cmd435drivers/scsi/sd.ccmd[0] = READ_6;
cmd438drivers/scsi/sd.cpanic ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd536drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd551drivers/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd558drivers/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd562drivers/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd581drivers/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd582drivers/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd583drivers/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd584drivers/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd585drivers/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd586drivers/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd587drivers/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd588drivers/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd595drivers/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd596drivers/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd597drivers/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd598drivers/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd599drivers/scsi/sd.ccmd[5] = 0;
cmd611drivers/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd667drivers/scsi/sd.cunsigned char cmd[10];
cmd685drivers/scsi/sd.ccmd[0] = TEST_UNIT_READY;
cmd686drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd687drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd693drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd708drivers/scsi/sd.ccmd[0] = START_STOP;
cmd709drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd710drivers/scsi/sd.ccmd[1] |= 1;  /* Return immediately */
cmd711drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd712drivers/scsi/sd.ccmd[4] = 1; /* Start spin cycle */
cmd718drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd743drivers/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd744drivers/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd745drivers/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd752drivers/scsi/sd.c(void *) cmd, (void *) buffer,
cmd17drivers/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd25drivers/scsi/sd_ioctl.cswitch (cmd) {
cmd66drivers/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd1604drivers/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1623drivers/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1624drivers/scsi/seagate.ccmd[1] = (disk->lun << 5) & 0xe5;
cmd1625drivers/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1626drivers/scsi/seagate.ccmd[3] = 0;
cmd1627drivers/scsi/seagate.ccmd[4] = 255;
cmd1628drivers/scsi/seagate.ccmd[5] = 0;
cmd1638drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1650drivers/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1651drivers/scsi/seagate.cmemcpy (data, cmd, 6);
cmd344drivers/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd387drivers/scsi/sr.cswitch (SCpnt->request.cmd)
cmd394drivers/scsi/sr.ccmd[0] = READ_6;
cmd397drivers/scsi/sr.cpanic ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd400drivers/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd574drivers/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd575drivers/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd576drivers/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd577drivers/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd578drivers/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd579drivers/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd580drivers/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd581drivers/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd591drivers/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd592drivers/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd593drivers/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd594drivers/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd595drivers/scsi/sr.ccmd[5] = 0;
cmd604drivers/scsi/sr.cfor(i=0; i<12; i++) printk("%2.2x ", cmd[i]);
cmd610drivers/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd643drivers/scsi/sr.cunsigned char cmd[10];
cmd652drivers/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd653drivers/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd654drivers/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd658drivers/scsi/sr.c(void *) cmd, (void *) buffer,
cmd19drivers/scsi/sr_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd93drivers/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned int cmd, unsigned long arg)
cmd103drivers/scsi/sr_ioctl.cswitch (cmd) 
cmd383drivers/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
cmd179drivers/scsi/st.cunsigned char cmd[10];
cmd208drivers/scsi/st.cmemset(cmd, 0, 10);
cmd209drivers/scsi/st.ccmd[0] = WRITE_6;
cmd210drivers/scsi/st.ccmd[1] = 1;
cmd212drivers/scsi/st.ccmd[2] = blks >> 16;
cmd213drivers/scsi/st.ccmd[3] = blks >> 8;
cmd214drivers/scsi/st.ccmd[4] = blks;
cmd217drivers/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data, transfer,
cmd280drivers/scsi/st.cunsigned char cmd[10];
cmd319drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd320drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd323drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd335drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd336drivers/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd339drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd362drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd363drivers/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd366drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd389drivers/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd390drivers/scsi/st.ccmd[0] = MODE_SENSE;
cmd391drivers/scsi/st.ccmd[4] = 12;
cmd394drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd476drivers/scsi/st.cstatic unsigned char cmd[10];
cmd495drivers/scsi/st.cmemset(cmd, 0, 10);
cmd496drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd497drivers/scsi/st.ccmd[4] = 1;
cmd500drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd541drivers/scsi/st.cstatic unsigned char cmd[10];
cmd587drivers/scsi/st.cmemset(cmd, 0, 10);
cmd588drivers/scsi/st.ccmd[0] = WRITE_6;
cmd589drivers/scsi/st.ccmd[1] = (scsi_tapes[dev].block_size != 0);
cmd617drivers/scsi/st.ccmd[2] = blks >> 16;
cmd618drivers/scsi/st.ccmd[3] = blks >> 8;
cmd619drivers/scsi/st.ccmd[4] = blks;
cmd623drivers/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd681drivers/scsi/st.ccmd[2] = blks >> 16;
cmd682drivers/scsi/st.ccmd[3] = blks >> 8;
cmd683drivers/scsi/st.ccmd[4] = blks;
cmd688drivers/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd706drivers/scsi/st.cstatic unsigned char cmd[10];
cmd745drivers/scsi/st.cmemset(cmd, 0, 10);
cmd746drivers/scsi/st.ccmd[0] = READ_6;
cmd747drivers/scsi/st.ccmd[1] = (scsi_tapes[dev].block_size != 0);
cmd754drivers/scsi/st.ccmd[2] = blks >> 16;
cmd755drivers/scsi/st.ccmd[3] = blks >> 8;
cmd756drivers/scsi/st.ccmd[4] = blks;
cmd761drivers/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd892drivers/scsi/st.cunsigned char cmd[10];
cmd897drivers/scsi/st.cmemset(cmd, 0, 10);
cmd901drivers/scsi/st.ccmd[0] = SPACE;
cmd902drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd903drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd904drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd905drivers/scsi/st.ccmd[4] = arg;
cmd908drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd913drivers/scsi/st.ccmd[0] = SPACE;
cmd914drivers/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd916drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd917drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd918drivers/scsi/st.ccmd[4] = ltmp;
cmd920drivers/scsi/st.cif (cmd[2] & 0x80)
cmd922drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd927drivers/scsi/st.ccmd[0] = SPACE;
cmd928drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd929drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd930drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd931drivers/scsi/st.ccmd[4] = arg;
cmd934drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd938drivers/scsi/st.ccmd[0] = SPACE;
cmd939drivers/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd941drivers/scsi/st.ccmd[2] = (ltmp >> 16);
cmd942drivers/scsi/st.ccmd[3] = (ltmp >> 8);
cmd943drivers/scsi/st.ccmd[4] = ltmp;
cmd945drivers/scsi/st.cif (cmd[2] & 0x80)
cmd947drivers/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd954drivers/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd955drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd956drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd957drivers/scsi/st.ccmd[4] = arg;
cmd961drivers/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd965drivers/scsi/st.ccmd[0] = REZERO_UNIT;
cmd967drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd975drivers/scsi/st.ccmd[0] = START_STOP;
cmd977drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd991drivers/scsi/st.ccmd[0] = START_STOP;
cmd993drivers/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd996drivers/scsi/st.ccmd[4] = 3;
cmd1002drivers/scsi/st.ccmd[0] = SPACE;
cmd1003drivers/scsi/st.ccmd[1] = 3;
cmd1011drivers/scsi/st.ccmd[0] = ERASE;
cmd1012drivers/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd1019drivers/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd1020drivers/scsi/st.ccmd[2] = (arg >> 16);
cmd1021drivers/scsi/st.ccmd[3] = (arg >> 8);
cmd1022drivers/scsi/st.ccmd[4] = arg;
cmd1023drivers/scsi/st.ccmd[5] = 0;
cmd1026drivers/scsi/st.ccmd[0] = SEEK_10;
cmd1027drivers/scsi/st.ccmd[1] = 4;
cmd1028drivers/scsi/st.ccmd[3] = (arg >> 24);
cmd1029drivers/scsi/st.ccmd[4] = (arg >> 16);
cmd1030drivers/scsi/st.ccmd[5] = (arg >> 8);
cmd1031drivers/scsi/st.ccmd[6] = arg;
cmd1034drivers/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1053drivers/scsi/st.ccmd[0] = MODE_SELECT;
cmd1054drivers/scsi/st.ccmd[4] = 12;
cmd1098drivers/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, ST_BLOCK_SIZE,
cmd1151drivers/scsi/st.cint i, cmd, result;
cmd1165drivers/scsi/st.ccmd = cmd_in & IOCCMD_MASK;
cmd1166drivers/scsi/st.cif (cmd == (MTIOCTOP & IOCCMD_MASK)) {
cmd1185drivers/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1197drivers/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd261drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd266drivers/sound/audio.cswitch (cmd)
cmd275drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd290drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd297drivers/sound/audio.creturn DMAbuf_ioctl (dev, cmd, arg, 0);
cmd334drivers/sound/audio.cunsigned int cmd, unsigned int arg)
cmd67drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg, int local);
cmd78drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd88drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd109drivers/sound/dev_table.hint (*ioctl) (int dev, unsigned int cmd, unsigned int arg);
cmd422drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd424drivers/sound/dmabuf.cswitch (cmd)
cmd469drivers/sound/dmabuf.creturn dsp_devs[dev]->ioctl (dev, cmd, arg, local);
cmd838drivers/sound/dmabuf.cDMAbuf_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd185drivers/sound/gus_midi.cgus_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd764drivers/sound/gus_wave.cunsigned int cmd, unsigned int arg)
cmd767drivers/sound/gus_wave.cswitch (cmd)
cmd1509drivers/sound/gus_wave.cint             voice, cmd;
cmd1513drivers/sound/gus_wave.ccmd = event[2];
cmd1519drivers/sound/gus_wave.cswitch (cmd)
cmd1685drivers/sound/gus_wave.cgus_sampling_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd1687drivers/sound/gus_wave.cswitch (cmd)
cmd100drivers/sound/midibuf.cunsigned int cmd, unsigned int arg)
cmd104drivers/sound/midibuf.cswitch (cmd)
cmd108drivers/sound/midibuf.creturn midi_devs[0]->ioctl (dev, cmd, arg);
cmd45drivers/sound/mpu401.c#define mpu401_cmd(cmd)    OUTB(cmd, COMDPORT)
cmd198drivers/sound/mpu401.cmpu401_ioctl (int dev, unsigned cmd, unsigned arg)
cmd120drivers/sound/opl3.cunsigned int cmd, unsigned int arg)
cmd122drivers/sound/opl3.cswitch (cmd)
cmd196drivers/sound/pas2_midi.cpas_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd407drivers/sound/pas2_mixer.cpas_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd409drivers/sound/pas2_mixer.cTRACE (printk ("pas2_mixer.c: int pas_mixer_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd411drivers/sound/pas2_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd413drivers/sound/pas2_mixer.cif (cmd & IOC_IN)
cmd414drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, pas_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd418drivers/sound/pas2_mixer.cswitch (cmd & 0xff)
cmd458drivers/sound/pas2_mixer.creturn IOCTL_OUT (arg, levels[cmd & 0xff]);
cmd464drivers/sound/pas2_mixer.cswitch (cmd)
cmd126drivers/sound/pas2_pcm.cpas_pcm_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd128drivers/sound/pas2_pcm.cTRACE (printk ("pas2_pcm.c: static int pas_pcm_ioctl(unsigned int cmd = %X, unsigned int arg = %X)\n", cmd, arg));
cmd130drivers/sound/pas2_pcm.cswitch (cmd)
cmd543drivers/sound/sb_dsp.csb_dsp_ioctl (int dev, unsigned int cmd, unsigned int arg, int local)
cmd545drivers/sound/sb_dsp.cswitch (cmd)
cmd172drivers/sound/sb_midi.csb_midi_ioctl (int dev, unsigned cmd, unsigned arg)
cmd253drivers/sound/sb_mixer.csb_mixer_ioctl (int dev, unsigned int cmd, unsigned int arg)
cmd255drivers/sound/sb_mixer.cif (((cmd >> 8) & 0xff) == 'M')
cmd257drivers/sound/sb_mixer.cif (cmd & IOC_IN)
cmd258drivers/sound/sb_mixer.cswitch (cmd & 0xff)
cmd265drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_set (cmd & 0xff, IOCTL_IN (arg)));
cmd268drivers/sound/sb_mixer.cswitch (cmd & 0xff)  /* Return parameters */
cmd292drivers/sound/sb_mixer.creturn IOCTL_OUT (arg, sb_mixer_get (cmd & 0xff));
cmd707drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd714drivers/sound/sequencer.cswitch (cmd)
cmd795drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd816drivers/sound/sequencer.creturn IOCTL_OUT (arg, synth_devs[dev]->ioctl (dev, cmd, arg));
cmd830drivers/sound/sequencer.csynth_devs[dev]->ioctl (dev, cmd, arg);
cmd849drivers/sound/sequencer.creturn synth_devs[dev]->ioctl (dev, cmd, arg);
cmd964drivers/sound/sequencer.creturn synth_devs[0]->ioctl (0, cmd, arg);
cmd1122drivers/sound/sequencer.cunsigned int cmd, unsigned int arg)
cmd12drivers/sound/sound_calls.hint DMAbuf_ioctl(int dev, unsigned int cmd, unsigned int arg, int local);
cmd30drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd43drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd63drivers/sound/sound_calls.hunsigned int cmd, unsigned int arg);
cmd412drivers/sound/soundcard.cunsigned int cmd, unsigned long arg)
cmd419drivers/sound/soundcard.cDEB (printk ("sound_ioctl(dev=%d, cmd=0x%x, arg=0x%x)\n", dev, cmd, arg));
cmd432drivers/sound/soundcard.creturn mixer_devs[dev]->ioctl (dev, cmd, arg);
cmd436drivers/sound/soundcard.creturn sequencer_ioctl (dev, &files[dev], cmd, arg);
cmd442drivers/sound/soundcard.creturn audio_ioctl (dev, &files[dev], cmd, arg);
cmd447drivers/sound/soundcard.creturn MIDIbuf_ioctl (dev, &files[dev], cmd, arg);
cmd15fs/ext2/ioctl.cint ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
cmd19fs/ext2/ioctl.cext2_debug ("cmd = %u, arg = %lu\n", cmd, arg);
cmd21fs/ext2/ioctl.cswitch (cmd) {
cmd18fs/fcntl.cextern int sock_fcntl (struct file *, unsigned int cmd, unsigned long arg);
cmd66fs/fcntl.casmlinkage int sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd72fs/fcntl.cswitch (cmd) {
cmd92fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd94fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd99fs/fcntl.creturn (sock_fcntl (filp, cmd, arg));
cmd16fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
cmd21fs/ioctl.cswitch (cmd) {
cmd52fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd57fs/ioctl.casmlinkage int sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd64fs/ioctl.cswitch (cmd) {
cmd92fs/ioctl.creturn file_ioctl(filp,cmd,arg);
cmd95fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd94fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd150fs/locks.cif (cmd == F_SETLKW) {
cmd134fs/pipe.cunsigned int cmd, unsigned long arg)
cmd138fs/pipe.cswitch (cmd) {
cmd105include/linux/net.hint  (*ioctl)  (struct socket *sock, unsigned int cmd,
cmd121include/linux/net.hint  (*fcntl)  (struct socket *sock, unsigned int cmd,
cmd230include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd260include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd401include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd92include/linux/ultrasound.h#define _GUS_CMD(chn, voice, cmd, p1, p2) \
cmd94include/linux/ultrasound.h_seqbuf[_seqbufptr+1] = (chn); _seqbuf[_seqbufptr+2] = cmd;\
cmd115include/linux/xd.hstatic int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
cmd320ipc/msg.cint sys_msgctl (int msqid, int cmd, struct msqid_ds *buf)
cmd326ipc/msg.cif (msqid < 0 || cmd < 0)
cmd328ipc/msg.cswitch (cmd) {
cmd343ipc/msg.cif (cmd == MSG_INFO) {
cmd392ipc/msg.cswitch (cmd) {
cmd403ipc/msg.cif (cmd == IPC_RMID) {
cmd151ipc/sem.cint sys_semctl (int semid, int semnum, int cmd, void *arg)
cmd161ipc/sem.cif (semid < 0 || semnum < 0 || cmd < 0)
cmd164ipc/sem.cswitch (cmd) {
cmd181ipc/sem.cif (cmd == SEM_INFO) {
cmd222ipc/sem.cswitch (cmd) {
cmd230ipc/sem.cswitch (cmd) {
cmd286ipc/sem.cswitch (cmd) {
cmd195ipc/shm.cint sys_shmctl (int shmid, int cmd, struct shmid_ds *buf)
cmd201ipc/shm.cif (cmd < 0 || shmid < 0)
cmd203ipc/shm.cif (cmd == IPC_SET) {
cmd212ipc/shm.cswitch (cmd) { /* replace with proc interface ? */
cmd271ipc/shm.cswitch (cmd) {
cmd24ipc/util.cextern int sys_semctl (int semid, int semnum, int cmd, void *arg);
cmd29ipc/util.cextern int sys_msgctl (int msqid, int cmd, struct msqid_ds *buf);
cmd30ipc/util.cextern int sys_shmctl (int shmid, int cmd, struct shmid_ds *buf);
cmd897net/inet/arp.carp_ioctl(unsigned int cmd, void *arg)
cmd900net/inet/arp.cswitch(cmd) {
cmd61net/inet/arp.hextern int  arp_ioctl(unsigned int cmd, void *arg);
cmd926net/inet/dev.cdev_ioctl(unsigned int cmd, void *arg)
cmd932net/inet/dev.cswitch(cmd) {
cmd1004net/inet/dev.cret = dev_ifsioc(arg, cmd);
cmd187net/inet/dev.hextern int    dev_ioctl(unsigned int cmd, void *);
cmd432net/inet/icmp.cicmp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd434net/inet/icmp.cswitch(cmd) {
cmd33net/inet/icmp.hextern int  icmp_ioctl(struct sock *sk, int cmd,
cmd117net/inet/ip.cip_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd119net/inet/ip.cswitch(cmd) {
cmd65net/inet/ip.hextern int    ip_ioctl(struct sock *sk, int cmd,
cmd410net/inet/route.crt_ioctl(unsigned int cmd, void *arg)
cmd418net/inet/route.cswitch(cmd) {
cmd437net/inet/route.cret = (cmd == SIOCDELRT) ? rt_kill(&rt) : rt_new(&rt);
cmd43net/inet/route.hextern int    rt_ioctl(unsigned int cmd, void *arg);
cmd446net/inet/sock.cinet_fcntl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd456net/inet/sock.cswitch(cmd) {
cmd1427net/inet/sock.cinet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd1439net/inet/sock.cswitch(cmd) {
cmd1468net/inet/sock.creturn(rt_ioctl(cmd,(void *) arg));
cmd1473net/inet/sock.creturn(arp_ioctl(cmd,(void *) arg));
cmd1495net/inet/sock.creturn(dev_ioctl(cmd,(void *) arg));
cmd1499net/inet/sock.creturn(sk->prot->ioctl(sk, cmd, arg));
cmd1702net/inet/sock.cunsigned int cmd, unsigned long arg)
cmd1713net/inet/sock.cret = inet_ioctl(NULL, cmd, arg);
cmd1716net/inet/sock.cret = ip_ioctl(NULL, cmd, arg);
cmd1719net/inet/sock.cret = icmp_ioctl(NULL, cmd, arg);
cmd1722net/inet/sock.cret = tcp_ioctl(NULL, cmd, arg);
cmd1725net/inet/sock.cret = udp_ioctl(NULL, cmd, arg);
cmd196net/inet/sock.hint      (*ioctl)(struct sock *sk, int cmd,
cmd410net/inet/tcp.ctcp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd413net/inet/tcp.cDPRINTF((DBG_TCP, "tcp_ioctl(sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg));
cmd414net/inet/tcp.cswitch(cmd) {
cmd145net/inet/tcp.hextern int  tcp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd359net/inet/udp.cudp_ioctl(struct sock *sk, int cmd, unsigned long arg)
cmd362net/inet/udp.cswitch(cmd) {
cmd47net/inet/udp.hextern int  udp_ioctl(struct sock *sk, int cmd, unsigned long arg);
cmd58net/socket.cunsigned int cmd, unsigned long arg);
cmd310net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd316net/socket.cinode, cmd, arg));
cmd321net/socket.creturn(sock->ops->ioctl(sock, cmd, arg));
cmd833net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd839net/socket.creturn(sock->ops->fcntl(sock, cmd, arg));
cmd977net/socket.cnet_ioctl(unsigned int cmd, unsigned long arg)
cmd980net/socket.cswitch(cmd) {
cmd1008net/socket.cunsigned int cmd, unsigned long arg)
cmd1016net/socket.creturn(net_ioctl(cmd, arg));
cmd1020net/socket.creturn(arp_ioctl(cmd, (void *) arg));
cmd74net/unix/sock.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd756net/unix/sock.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd764net/unix/sock.cswitch(cmd) {
cmd814net/unix/sock.cunsigned int cmd, unsigned long arg)
cmd819net/unix/sock.cdprintf(1, "UNIX: ioctl(0x%X, 0x%X)\n", cmd, arg);
cmd824net/unix/sock.cswitch(cmd) {