taglinefilesource code
cmd53fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd56fs/fcntl.cextern int sock_fcntl (struct file *, unsigned int cmd,
cmd60fs/fcntl.cswitch (cmd) {
cmd80fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd82fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd87fs/fcntl.creturn (sock_fcntl (filp, cmd, arg));
cmd16fs/ioctl.cstatic int file_ioctl(struct file *filp,unsigned int cmd,unsigned long arg)
cmd20fs/ioctl.cswitch (cmd) {
cmd49fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd56fs/ioctl.cswitch (cmd) {
cmd84fs/ioctl.creturn file_ioctl(filp,cmd,arg);
cmd87fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd88fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd137fs/locks.cif (cmd == F_SETLKW) {
cmd107fs/pipe.cunsigned int cmd, unsigned int arg)
cmd109fs/pipe.cswitch (cmd) {
cmd198include/linux/tty.hunsigned int cmd, unsigned int arg);
cmd319include/linux/tty.hunsigned int cmd, unsigned int arg);
cmd25kernel/blk_drv/blk.hint cmd;    /* READ or WRITE */
cmd43kernel/blk_drv/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd980kernel/blk_drv/floppy.cif (CURRENT->cmd == READ)
cmd982kernel/blk_drv/floppy.celse if (CURRENT->cmd == WRITE)
cmd1033kernel/blk_drv/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd1039kernel/blk_drv/floppy.cswitch (cmd) {
cmd1043kernel/blk_drv/floppy.cswitch (cmd) {
cmd1055kernel/blk_drv/floppy.ccmd = FDCLRPRM;
cmd1099kernel/blk_drv/floppy.cswitch (cmd) {
cmd1112kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
cmd168kernel/blk_drv/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd194kernel/blk_drv/hd.coutb_p(cmd,++port);
cmd471kernel/blk_drv/hd.cif (CURRENT->cmd == WRITE) {
cmd484kernel/blk_drv/hd.cif (CURRENT->cmd == READ) {
cmd495kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
cmd505kernel/blk_drv/hd.cswitch (cmd) {
cmd168kernel/blk_drv/ll_rw_blk.creq->cmd == rw &&
cmd207kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd248kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd362kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd36kernel/blk_drv/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd40kernel/blk_drv/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd360kernel/blk_drv/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd373kernel/blk_drv/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd386kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd387kernel/blk_drv/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd388kernel/blk_drv/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd389kernel/blk_drv/scsi/aha1542.ci = scsi2int(cmd+2);
cmd393kernel/blk_drv/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd395kernel/blk_drv/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd398kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
cmd400kernel/blk_drv/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd432kernel/blk_drv/scsi/aha1542.cccb[mbo].cdblen = (*cmd<=0x1f)?6:10;  /* SCSI Command Descriptor Block Length */
cmd435kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd437kernel/blk_drv/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd440kernel/blk_drv/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd533kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES};
cmd540kernel/blk_drv/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd541kernel/blk_drv/scsi/aha1542.caha1542_out(cmd, 5);
cmd712kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd717kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd727kernel/blk_drv/scsi/aha1542.cunsigned char cmd[10];
cmd730kernel/blk_drv/scsi/aha1542.ccmd[0] = READ_10;
cmd731kernel/blk_drv/scsi/aha1542.ccmd[1] = 0;
cmd732kernel/blk_drv/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd733kernel/blk_drv/scsi/aha1542.ccmd[6] = 0;
cmd734kernel/blk_drv/scsi/aha1542.ccmd[7] = 0;
cmd735kernel/blk_drv/scsi/aha1542.ccmd[8] = 1;
cmd736kernel/blk_drv/scsi/aha1542.ccmd[9] = 0;
cmd737kernel/blk_drv/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd192kernel/blk_drv/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd203kernel/blk_drv/scsi/aha1740.cif(*cmd == REQUEST_SENSE){
cmd216kernel/blk_drv/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd217kernel/blk_drv/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd218kernel/blk_drv/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd219kernel/blk_drv/scsi/aha1740.ci = scsi2int(cmd+2);
cmd223kernel/blk_drv/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd225kernel/blk_drv/scsi/aha1740.cprintk("aha1740_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd227kernel/blk_drv/scsi/aha1740.cfor (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
cmd230kernel/blk_drv/scsi/aha1740.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd260kernel/blk_drv/scsi/aha1740.cecb[ecbno].cdblen = (*cmd<=0x1f)?6:10;  /* SCSI Command Descriptor Block Length */
cmd263kernel/blk_drv/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd265kernel/blk_drv/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd268kernel/blk_drv/scsi/aha1740.cmemcpy(ecb[ecbno].cdb, cmd, ecb[ecbno].cdblen);
cmd72kernel/blk_drv/scsi/scsi_debug.cif (SCpnt->request.cmd != RW) panic ("Wrong  operation");    \
cmd139kernel/blk_drv/scsi/scsi_debug.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd163kernel/blk_drv/scsi/scsi_debug.cswitch(*cmd){
cmd180kernel/blk_drv/scsi/scsi_debug.cif(cmd[4]) printk("Medium removal inhibited...");
cmd217kernel/blk_drv/scsi/scsi_debug.cif ((*cmd) == READ_10)
cmd218kernel/blk_drv/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd220kernel/blk_drv/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd275kernel/blk_drv/scsi/scsi_debug.cmemcpy(buff+sizeof(target), cmd, 24);
cmd299kernel/blk_drv/scsi/scsi_debug.cif ((*cmd) == WRITE_10)
cmd300kernel/blk_drv/scsi/scsi_debug.cblock = cmd[5] + (cmd[4] << 8) + (cmd[3] << 16) + (cmd[2] << 24); 
cmd302kernel/blk_drv/scsi/scsi_debug.cblock = cmd[3] + (cmd[2] << 8) + ((cmd[1] & 0x1f) << 16);
cmd321kernel/blk_drv/scsi/scsi_debug.cprintk("Unknown command %d\n",*cmd);
cmd83kernel/blk_drv/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd91kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd140kernel/blk_drv/scsi/scsi_ioctl.cchar cmd[10];
cmd166kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd174kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf,  ((outlen > MAX_BUF) ? 
cmd196kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd215kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd219kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd != 0 && dev->index > NR_SCSI_DEVICES))
cmd221kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd == 0 && dev->host_no > max_scsi_hosts))
cmd224kernel/blk_drv/scsi/scsi_ioctl.cswitch (cmd) {
cmd168kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd180kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == READ)
cmd385kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd424kernel/blk_drv/scsi/sd.cswitch (SCpnt->request.cmd)
cmd432kernel/blk_drv/scsi/sd.ccmd[0] = WRITE_6;
cmd435kernel/blk_drv/scsi/sd.ccmd[0] = READ_6;
cmd438kernel/blk_drv/scsi/sd.cprintk ("Unknown sd command %d\r\n", SCpnt->request.cmd);
cmd537kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd552kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd559kernel/blk_drv/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd563kernel/blk_drv/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd570kernel/blk_drv/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd571kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd572kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd573kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd574kernel/blk_drv/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd575kernel/blk_drv/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd576kernel/blk_drv/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd577kernel/blk_drv/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd584kernel/blk_drv/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd585kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd586kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd587kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd588kernel/blk_drv/scsi/sd.ccmd[5] = 0;
cmd591kernel/blk_drv/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, this_count << 9,
cmd646kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd659kernel/blk_drv/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd660kernel/blk_drv/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd661kernel/blk_drv/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd665kernel/blk_drv/scsi/sd.c(void *) cmd, (void *) buffer,
cmd14kernel/blk_drv/scsi/sd_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd17kernel/blk_drv/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
cmd24kernel/blk_drv/scsi/sd_ioctl.cswitch (cmd) {
cmd54kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd333kernel/blk_drv/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd374kernel/blk_drv/scsi/sr.cswitch (SCpnt->request.cmd)
cmd381kernel/blk_drv/scsi/sr.ccmd[0] = READ_6;
cmd384kernel/blk_drv/scsi/sr.cprintk ("Unknown sr command %d\r\n", SCpnt->request.cmd);
cmd388kernel/blk_drv/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd556kernel/blk_drv/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd557kernel/blk_drv/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd558kernel/blk_drv/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd559kernel/blk_drv/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd560kernel/blk_drv/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd561kernel/blk_drv/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd562kernel/blk_drv/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd563kernel/blk_drv/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd573kernel/blk_drv/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd574kernel/blk_drv/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd575kernel/blk_drv/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd576kernel/blk_drv/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd577kernel/blk_drv/scsi/sr.ccmd[5] = 0;
cmd585kernel/blk_drv/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, realcount << 11, 
cmd18kernel/blk_drv/scsi/sr_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd92kernel/blk_drv/scsi/sr_ioctl.cint sr_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
cmd102kernel/blk_drv/scsi/sr_ioctl.cswitch (cmd) 
cmd214kernel/blk_drv/scsi/sr_ioctl.creturn scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg);
cmd192kernel/blk_drv/scsi/st.cunsigned char cmd[10];
cmd221kernel/blk_drv/scsi/st.cmemset(cmd, 0, 10);
cmd222kernel/blk_drv/scsi/st.ccmd[0] = WRITE_6;
cmd223kernel/blk_drv/scsi/st.ccmd[1] = 1;
cmd225kernel/blk_drv/scsi/st.ccmd[2] = blks >> 16;
cmd226kernel/blk_drv/scsi/st.ccmd[3] = blks >> 8;
cmd227kernel/blk_drv/scsi/st.ccmd[4] = blks;
cmd230kernel/blk_drv/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data, transfer,
cmd290kernel/blk_drv/scsi/st.cunsigned char cmd[10];
cmd329kernel/blk_drv/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd330kernel/blk_drv/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd333kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd344kernel/blk_drv/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd345kernel/blk_drv/scsi/st.ccmd[0] = TEST_UNIT_READY;
cmd348kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd370kernel/blk_drv/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd371kernel/blk_drv/scsi/st.ccmd[0] = READ_BLOCK_LIMITS;
cmd374kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd397kernel/blk_drv/scsi/st.cmemset ((void *) &cmd[0], 0, 10);
cmd398kernel/blk_drv/scsi/st.ccmd[0] = MODE_SENSE;
cmd399kernel/blk_drv/scsi/st.ccmd[4] = 12;
cmd402kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd485kernel/blk_drv/scsi/st.cstatic unsigned char cmd[10];
cmd504kernel/blk_drv/scsi/st.cmemset(cmd, 0, 10);
cmd505kernel/blk_drv/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd506kernel/blk_drv/scsi/st.ccmd[4] = 1;
cmd509kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data,
cmd550kernel/blk_drv/scsi/st.cstatic unsigned char cmd[10];
cmd593kernel/blk_drv/scsi/st.cmemset(cmd, 0, 10);
cmd594kernel/blk_drv/scsi/st.ccmd[0] = WRITE_6;
cmd595kernel/blk_drv/scsi/st.ccmd[1] = 1;
cmd608kernel/blk_drv/scsi/st.ccmd[2] = blks >> 16;
cmd609kernel/blk_drv/scsi/st.ccmd[3] = blks >> 8;
cmd610kernel/blk_drv/scsi/st.ccmd[4] = blks;
cmd614kernel/blk_drv/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd665kernel/blk_drv/scsi/st.ccmd[2] = blks >> 16;
cmd666kernel/blk_drv/scsi/st.ccmd[3] = blks >> 8;
cmd667kernel/blk_drv/scsi/st.ccmd[4] = blks;
cmd672kernel/blk_drv/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd690kernel/blk_drv/scsi/st.cstatic unsigned char cmd[10];
cmd726kernel/blk_drv/scsi/st.cmemset(cmd, 0, 10);
cmd727kernel/blk_drv/scsi/st.ccmd[0] = READ_6;
cmd728kernel/blk_drv/scsi/st.ccmd[1] = 1;
cmd730kernel/blk_drv/scsi/st.ccmd[2] = blks >> 16;
cmd731kernel/blk_drv/scsi/st.ccmd[3] = blks >> 8;
cmd732kernel/blk_drv/scsi/st.ccmd[4] = blks;
cmd737kernel/blk_drv/scsi/st.c(void *) cmd, scsi_tapes[dev].buffer->b_data,
cmd854kernel/blk_drv/scsi/st.cunsigned char cmd[10];
cmd859kernel/blk_drv/scsi/st.cmemset(cmd, 0, 10);
cmd863kernel/blk_drv/scsi/st.ccmd[0] = SPACE;
cmd864kernel/blk_drv/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd865kernel/blk_drv/scsi/st.ccmd[2] = (arg >> 16);
cmd866kernel/blk_drv/scsi/st.ccmd[3] = (arg >> 8);
cmd867kernel/blk_drv/scsi/st.ccmd[4] = arg;
cmd870kernel/blk_drv/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd875kernel/blk_drv/scsi/st.ccmd[0] = SPACE;
cmd876kernel/blk_drv/scsi/st.ccmd[1] = 0x01; /* Space FileMarks */
cmd878kernel/blk_drv/scsi/st.ccmd[2] = (ltmp >> 16);
cmd879kernel/blk_drv/scsi/st.ccmd[3] = (ltmp >> 8);
cmd880kernel/blk_drv/scsi/st.ccmd[4] = ltmp;
cmd882kernel/blk_drv/scsi/st.cif (cmd[2] & 0x80)
cmd884kernel/blk_drv/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd889kernel/blk_drv/scsi/st.ccmd[0] = SPACE;
cmd890kernel/blk_drv/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd891kernel/blk_drv/scsi/st.ccmd[2] = (arg >> 16);
cmd892kernel/blk_drv/scsi/st.ccmd[3] = (arg >> 8);
cmd893kernel/blk_drv/scsi/st.ccmd[4] = arg;
cmd896kernel/blk_drv/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd900kernel/blk_drv/scsi/st.ccmd[0] = SPACE;
cmd901kernel/blk_drv/scsi/st.ccmd[1] = 0x00; /* Space Blocks */
cmd903kernel/blk_drv/scsi/st.ccmd[2] = (ltmp >> 16);
cmd904kernel/blk_drv/scsi/st.ccmd[3] = (ltmp >> 8);
cmd905kernel/blk_drv/scsi/st.ccmd[4] = ltmp;
cmd907kernel/blk_drv/scsi/st.cif (cmd[2] & 0x80)
cmd909kernel/blk_drv/scsi/st.cltmp = ltmp | (cmd[2] << 16) | (cmd[3] << 8) | cmd[4];
cmd916kernel/blk_drv/scsi/st.ccmd[0] = WRITE_FILEMARKS;
cmd917kernel/blk_drv/scsi/st.ccmd[2] = (arg >> 16);
cmd918kernel/blk_drv/scsi/st.ccmd[3] = (arg >> 8);
cmd919kernel/blk_drv/scsi/st.ccmd[4] = arg;
cmd923kernel/blk_drv/scsi/st.ccmd[2] * 65536 + cmd[3] * 256 + cmd[4]);
cmd927kernel/blk_drv/scsi/st.ccmd[0] = REZERO_UNIT;
cmd929kernel/blk_drv/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd937kernel/blk_drv/scsi/st.ccmd[0] = START_STOP;
cmd939kernel/blk_drv/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd953kernel/blk_drv/scsi/st.ccmd[0] = START_STOP;
cmd955kernel/blk_drv/scsi/st.ccmd[1] = 1;  /* Don't wait for completion */
cmd958kernel/blk_drv/scsi/st.ccmd[4] = 3;
cmd964kernel/blk_drv/scsi/st.ccmd[0] = SPACE;
cmd965kernel/blk_drv/scsi/st.ccmd[1] = 3;
cmd973kernel/blk_drv/scsi/st.ccmd[0] = ERASE;
cmd974kernel/blk_drv/scsi/st.ccmd[1] = 1;  /* To the end of tape */
cmd981kernel/blk_drv/scsi/st.ccmd[0] = QFA_SEEK_BLOCK;
cmd982kernel/blk_drv/scsi/st.ccmd[2] = (arg >> 16);
cmd983kernel/blk_drv/scsi/st.ccmd[3] = (arg >> 8);
cmd984kernel/blk_drv/scsi/st.ccmd[4] = arg;
cmd985kernel/blk_drv/scsi/st.ccmd[5] = 0;
cmd988kernel/blk_drv/scsi/st.ccmd[0] = SEEK_10;
cmd989kernel/blk_drv/scsi/st.ccmd[1] = 4;
cmd990kernel/blk_drv/scsi/st.ccmd[3] = (arg >> 24);
cmd991kernel/blk_drv/scsi/st.ccmd[4] = (arg >> 16);
cmd992kernel/blk_drv/scsi/st.ccmd[5] = (arg >> 8);
cmd993kernel/blk_drv/scsi/st.ccmd[6] = arg;
cmd996kernel/blk_drv/scsi/st.ccmd[1] |= 1;  /* Don't wait for completion */
cmd1013kernel/blk_drv/scsi/st.ccmd[0] = MODE_SELECT;
cmd1014kernel/blk_drv/scsi/st.ccmd[4] = 12;
cmd1049kernel/blk_drv/scsi/st.c(void *) cmd, (void *) scsi_tapes[dev].buffer->b_data, ST_BLOCK_SIZE,
cmd1092kernel/blk_drv/scsi/st.cint i, cmd, result;
cmd1106kernel/blk_drv/scsi/st.ccmd = cmd_in & IOCCMD_MASK;
cmd1107kernel/blk_drv/scsi/st.cif (cmd == (MTIOCTOP & IOCCMD_MASK)) {
cmd1124kernel/blk_drv/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1134kernel/blk_drv/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd186kernel/chr_drv/lp.cunsigned int cmd, unsigned int arg)
cmd191kernel/chr_drv/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd197kernel/chr_drv/lp.cswitch ( cmd ) {
cmd890kernel/chr_drv/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd898kernel/chr_drv/serial.cswitch (cmd) {
cmd924kernel/chr_drv/serial.cunsigned int cmd, unsigned int arg)
cmd934kernel/chr_drv/serial.cswitch (cmd) {
cmd946kernel/chr_drv/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd257kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned int arg)
cmd284kernel/chr_drv/tty_ioctl.cswitch (cmd) {
cmd454kernel/chr_drv/tty_ioctl.creturn (tty->ioctl)(tty, file, cmd, arg);
cmd105kernel/chr_drv/vt.cunsigned int cmd, unsigned int arg)
cmd117kernel/chr_drv/vt.cswitch (cmd) {
cmd152kernel/chr_drv/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd157kernel/chr_drv/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd56net/kern_sock.hint (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg);
cmd71net/kern_sock.hint (*fcntl) (struct socket *sock, unsigned int cmd,
cmd59net/socket.cunsigned int cmd, unsigned int arg);
cmd283net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd288net/socket.cPRINTK(("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg));
cmd293net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
cmd816net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd822net/socket.creturn (sock->ops->fcntl (sock, cmd, arg));
cmd130net/tcp/sock.cstatic int ip_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd152net/tcp/sock.cstatic int ip_proto_fcntl (struct socket *sock, unsigned int cmd,
cmd660net/tcp/sock.cip_proto_fcntl (struct socket *sock, unsigned int cmd, unsigned long arg)
cmd670net/tcp/sock.cswitch (cmd)
cmd1608net/tcp/sock.cip_proto_ioctl (struct socket *sock, unsigned int cmd, 
cmd1620net/tcp/sock.cswitch (cmd)
cmd1648net/tcp/sock.creturn (sk->prot->ioctl (sk, cmd, arg));
cmd136net/tcp/sock.hint (*ioctl) (volatile struct sock *sk, int cmd, unsigned long arg);
cmd342net/tcp/tcp.ctcp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
cmd344net/tcp/tcp.cPRINTK (("tcp_ioctl (sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg));
cmd345net/tcp/tcp.cswitch (cmd)
cmd466net/tcp/udp.cudp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
cmd468net/tcp/udp.cswitch (cmd)
cmd139net/tcp/we.cunsigned char cmd;
cmd142net/tcp/we.ccmd = inb_p(WD_COMM);
cmd143net/tcp/we.ccmd &= ~(CSTOP|CPAGE);
cmd144net/tcp/we.ccmd |= CSTART;
cmd145net/tcp/we.coutb_p(cmd, WD_COMM);
cmd154net/tcp/we.cunsigned char cmd;
cmd162net/tcp/we.ccmd=inb_p(WD_COMM);
cmd163net/tcp/we.ccmd|=CSTOP;
cmd164net/tcp/we.ccmd &= ~(CSTART|CPAGE);
cmd165net/tcp/we.coutb_p(cmd, WD_COMM);
cmd182net/tcp/we.ccmd|=1<<CPAGE_SHIFT;
cmd183net/tcp/we.coutb_p(cmd,WD_COMM);
cmd197net/tcp/we.ccmd&=~(CPAGE|CRDMA);
cmd198net/tcp/we.ccmd|= 4<<CRDMA_SHIFT;
cmd199net/tcp/we.coutb_p(cmd, WD_COMM);
cmd226net/tcp/we.cunsigned char cmd;
cmd283net/tcp/we.ccmd=inb_p(WD_COMM);
cmd284net/tcp/we.ccmd &= ~CPAGE;
cmd285net/tcp/we.coutb_p(cmd, WD_COMM);
cmd293net/tcp/we.ccmd |= CTRANS;
cmd294net/tcp/we.coutb_p(cmd,WD_COMM);
cmd311net/tcp/we.cunsigned char cmd;
cmd314net/tcp/we.ccmd = inb_p( CR );
cmd315net/tcp/we.cif (cmd & 0x40) {
cmd316net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* select page 0 */
cmd318net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* reselect page 1 */
cmd328net/tcp/we.cunsigned char   cmd, bnd;
cmd331net/tcp/we.ccmd = inb_p(WD_COMM);
cmd332net/tcp/we.cif (cmd & 0x40) {
cmd333net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* select page 0 */
cmd335net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* reselect page 1 */
cmd346net/tcp/we.cunsigned char   cmd, cur;
cmd349net/tcp/we.ccmd = inb_p(WD_COMM);
cmd350net/tcp/we.cif (cmd & 0x40) {
cmd353net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* select page 1 */
cmd355net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* reselect page 0 */
cmd371net/tcp/we.cunsigned char   cmd;  /* Command register save */
cmd440net/tcp/we.ccmd = inb_p(WD_COMM);
cmd441net/tcp/we.cif (cmd & 0x40)
cmd443net/tcp/we.coutb_p(cmd & ~(CPAGE1), WD_COMM);  /* select page 0 */
cmd452net/tcp/we.cunsigned char cmd, dummy;
cmd458net/tcp/we.ccmd = inb_p( CR ); /* get current command register */
cmd459net/tcp/we.ccmd = (cmd&~(STA|PS0|PS1))|STOP; /* toggle start and stop bits, select page 0 */
cmd460net/tcp/we.coutb_p( cmd, CR );
cmd469net/tcp/we.coutb_p( (cmd&~STOP)|STA, CR ); /* Start NIC */  
cmd481net/tcp/we.cunsigned char cmd, errors;
cmd497net/tcp/we.ccmd=inb_p(WD_COMM);
cmd500net/tcp/we.ccmd |= CTRANS;
cmd501net/tcp/we.coutb_p(cmd,WD_COMM);
cmd528net/tcp/we.cunsigned char   cmd;
cmd549net/tcp/we.ccmd = inb_p( CR );/* Select page 0 */  
cmd550net/tcp/we.cif( cmd & (PS0|PS1 ) ){
cmd551net/tcp/we.ccmd &= ~(PS0|PS1);
cmd552net/tcp/we.coutb_p(cmd, CR );
cmd60net/unix.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd732net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd739net/unix.cswitch (cmd) {