taglinefilesource code
cmd11fs/ext2/ioctl.cint ext2_ioctl (struct inode * inode, struct file * filp, unsigned int cmd,
cmd15fs/ext2/ioctl.cprintk ("ext2_ioctl: cmd = %d, arg = %d\n", cmd, arg);
cmd66fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd69fs/fcntl.cextern int sock_fcntl (struct file *, unsigned int cmd,
cmd73fs/fcntl.cswitch (cmd) {
cmd93fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd95fs/fcntl.creturn fcntl_setlk(fd, cmd, (struct flock *) arg);
cmd100fs/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.cint 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);
cmd91fs/locks.cint fcntl_setlk(unsigned int fd, unsigned int cmd, struct flock *l)
cmd153fs/locks.cif (cmd == F_SETLKW) {
cmd111fs/pipe.cunsigned int cmd, unsigned long arg)
cmd115fs/pipe.cswitch (cmd) {
cmd217include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd243include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd379include/linux/tty.hunsigned int cmd, unsigned long arg);
cmd117include/linux/xd.hstatic int xd_ioctl (struct inode *inode,struct file *file,unsigned int cmd,unsigned long arg);
cmd26kernel/blk_drv/blk.hint cmd;    /* READ or WRITE */
cmd44kernel/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;
cmd1109kernel/blk_drv/floppy.cswitch (cmd) {
cmd1122kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
cmd172kernel/blk_drv/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd198kernel/blk_drv/hd.coutb_p(cmd,++port);
cmd486kernel/blk_drv/hd.cif (CURRENT->cmd == WRITE) {
cmd499kernel/blk_drv/hd.cif (CURRENT->cmd == READ) {
cmd510kernel/blk_drv/hd.cunsigned int cmd, unsigned long arg)
cmd520kernel/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) {
cmd362kernel/blk_drv/scsi/aha1542.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd375kernel/blk_drv/scsi/aha1542.cif(*cmd == REQUEST_SENSE){
cmd388kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd389kernel/blk_drv/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd390kernel/blk_drv/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd391kernel/blk_drv/scsi/aha1542.ci = scsi2int(cmd+2);
cmd395kernel/blk_drv/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd397kernel/blk_drv/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd400kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd402kernel/blk_drv/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd434kernel/blk_drv/scsi/aha1542.cccb[mbo].cdblen = COMMAND_SIZE(*cmd);     /* SCSI Command Descriptor Block Length */
cmd437kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == READ_6)
cmd439kernel/blk_drv/scsi/aha1542.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd442kernel/blk_drv/scsi/aha1542.cmemcpy(ccb[mbo].cdb, cmd, ccb[mbo].cdblen);
cmd535kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[5] = {CMD_MBINIT, AHA1542_MAILBOXES};
cmd542kernel/blk_drv/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd543kernel/blk_drv/scsi/aha1542.caha1542_out(cmd, 5);
cmd713kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd718kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd728kernel/blk_drv/scsi/aha1542.cunsigned char cmd[10];
cmd731kernel/blk_drv/scsi/aha1542.ccmd[0] = READ_10;
cmd732kernel/blk_drv/scsi/aha1542.ccmd[1] = 0;
cmd733kernel/blk_drv/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd734kernel/blk_drv/scsi/aha1542.ccmd[6] = 0;
cmd735kernel/blk_drv/scsi/aha1542.ccmd[7] = 0;
cmd736kernel/blk_drv/scsi/aha1542.ccmd[8] = 1;
cmd737kernel/blk_drv/scsi/aha1542.ccmd[9] = 0;
cmd738kernel/blk_drv/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd240kernel/blk_drv/scsi/aha1740.cunchar *cmd = (unchar *) SCpnt->cmnd;
cmd248kernel/blk_drv/scsi/aha1740.cif(*cmd == REQUEST_SENSE)
cmd261kernel/blk_drv/scsi/aha1740.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd262kernel/blk_drv/scsi/aha1740.ci = xscsi2int(cmd+2);
cmd263kernel/blk_drv/scsi/aha1740.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd264kernel/blk_drv/scsi/aha1740.ci = scsi2int(cmd+2);
cmd267kernel/blk_drv/scsi/aha1740.cprintk("aha1740_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd269kernel/blk_drv/scsi/aha1740.cfor (i = 0; i < (COMMAND_SIZE(*cmd)); i++) printk("%02x ", cmd[i]);
cmd298kernel/blk_drv/scsi/aha1740.cecb[ecbno].cdblen = COMMAND_SIZE(*cmd);  /* SCSI Command Descriptor Block Length */
cmd301kernel/blk_drv/scsi/aha1740.cif (*cmd == READ_10 || *cmd == READ_6)
cmd303kernel/blk_drv/scsi/aha1740.celse if (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd306kernel/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);
cmd89kernel/blk_drv/scsi/scsi_ioctl.cstatic int ioctl_internal_command(Scsi_Device *dev, char * cmd)
cmd97kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd, NULL,  0,
cmd110kernel/blk_drv/scsi/scsi_ioctl.cif(cmd[0] == ALLOW_MEDIUM_REMOVAL) dev->lockable = 0;
cmd147kernel/blk_drv/scsi/scsi_ioctl.cchar cmd[12];
cmd173kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd176kernel/blk_drv/scsi/scsi_ioctl.ccmd[1] = ( cmd[1] & 0x1f ) | (dev->lun << 5);
cmd182kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(SCpnt,  cmd,  buf,  ((outlen > MAX_BUF) ? 
cmd206kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd225kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd229kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd != 0 && dev->index > NR_SCSI_DEVICES))
cmd231kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd == 0 && dev->host_no > max_scsi_hosts))
cmd234kernel/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)
cmd390kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd429kernel/blk_drv/scsi/sd.cswitch (SCpnt->request.cmd)
cmd437kernel/blk_drv/scsi/sd.ccmd[0] = WRITE_6;
cmd440kernel/blk_drv/scsi/sd.ccmd[0] = READ_6;
cmd443kernel/blk_drv/scsi/sd.cprintk ("Unknown sd command %d\n", SCpnt->request.cmd);
cmd542kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd557kernel/blk_drv/scsi/sd.cif (SCpnt->request.cmd == WRITE)
cmd564kernel/blk_drv/scsi/sd.c(SCpnt->request.cmd == WRITE) ? "writing" : "reading",
cmd568kernel/blk_drv/scsi/sd.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd587kernel/blk_drv/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd588kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd589kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd590kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd591kernel/blk_drv/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd592kernel/blk_drv/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd593kernel/blk_drv/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd594kernel/blk_drv/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd601kernel/blk_drv/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd602kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd603kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd604kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd605kernel/blk_drv/scsi/sd.ccmd[5] = 0;
cmd617kernel/blk_drv/scsi/sd.cscsi_do_cmd (SCpnt, (void *) cmd, buff, 
cmd673kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd686kernel/blk_drv/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd687kernel/blk_drv/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd688kernel/blk_drv/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd694kernel/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 int cmd, unsigned long arg)
cmd24kernel/blk_drv/scsi/sd_ioctl.cswitch (cmd) {
cmd58kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg);
cmd1398kernel/blk_drv/scsi/seagate.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd1401kernel/blk_drv/scsi/seagate.cunsigned char buf[256 + sizeof(int) * 2], cmd[6], *data, *page;
cmd1429kernel/blk_drv/scsi/seagate.ccmd[0] = MODE_SENSE;
cmd1430kernel/blk_drv/scsi/seagate.ccmd[1] = (disk->lun << 5) & 0xe5;
cmd1431kernel/blk_drv/scsi/seagate.ccmd[2] = 0x04; /* Read page 4, rigid disk geometry page current values */
cmd1432kernel/blk_drv/scsi/seagate.ccmd[3] = 0;
cmd1433kernel/blk_drv/scsi/seagate.ccmd[4] = 255;
cmd1434kernel/blk_drv/scsi/seagate.ccmd[5] = 0;
cmd1444kernel/blk_drv/scsi/seagate.cmemcpy (data, cmd, 6);
cmd1456kernel/blk_drv/scsi/seagate.ccmd[2] = 0x03; /* Read page 3, format page current values */
cmd1457kernel/blk_drv/scsi/seagate.cmemcpy (data, cmd, 6);
cmd338kernel/blk_drv/scsi/sr.cunsigned char cmd[10], *buffer, tries;
cmd379kernel/blk_drv/scsi/sr.cswitch (SCpnt->request.cmd)
cmd386kernel/blk_drv/scsi/sr.ccmd[0] = READ_6;
cmd389kernel/blk_drv/scsi/sr.cprintk ("Unknown sr command %d\n", SCpnt->request.cmd);
cmd393kernel/blk_drv/scsi/sr.ccmd[1] = (SCpnt->lun << 5) & 0xe0;
cmd567kernel/blk_drv/scsi/sr.ccmd[0] += READ_10 - READ_6 ;
cmd568kernel/blk_drv/scsi/sr.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd569kernel/blk_drv/scsi/sr.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd570kernel/blk_drv/scsi/sr.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd571kernel/blk_drv/scsi/sr.ccmd[5] = (unsigned char) block & 0xff;
cmd572kernel/blk_drv/scsi/sr.ccmd[6] = cmd[9] = 0;
cmd573kernel/blk_drv/scsi/sr.ccmd[7] = (unsigned char) (realcount >> 8) & 0xff;
cmd574kernel/blk_drv/scsi/sr.ccmd[8] = (unsigned char) realcount & 0xff;
cmd584kernel/blk_drv/scsi/sr.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd585kernel/blk_drv/scsi/sr.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd586kernel/blk_drv/scsi/sr.ccmd[3] = (unsigned char) block & 0xff;
cmd587kernel/blk_drv/scsi/sr.ccmd[4] = (unsigned char) realcount;
cmd588kernel/blk_drv/scsi/sr.ccmd[5] = 0;
cmd596kernel/blk_drv/scsi/sr.cscsi_do_cmd (SCpnt, (void *) cmd, buffer, 
cmd631kernel/blk_drv/scsi/sr.cunsigned char cmd[10];
cmd652kernel/blk_drv/scsi/sr.ccmd[0] = READ_CAPACITY;
cmd653kernel/blk_drv/scsi/sr.ccmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0;
cmd654kernel/blk_drv/scsi/sr.cmemset ((void *) &cmd[2], 0, 8);
cmd658kernel/blk_drv/scsi/sr.c(void *) cmd, (void *) buffer,
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 int cmd, unsigned long arg)
cmd102kernel/blk_drv/scsi/sr_ioctl.cswitch (cmd) 
cmd353kernel/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)) {
cmd1126kernel/blk_drv/scsi/st.celse if (cmd == (MTIOCGET & IOCCMD_MASK)) {
cmd1138kernel/blk_drv/scsi/st.celse if (cmd == (MTIOCPOS & IOCCMD_MASK)) {
cmd180kernel/blk_drv/xd.cswitch (CURRENT->cmd) {
cmd183kernel/blk_drv/xd.ccode = xd_readwrite(CURRENT->cmd,CURRENT_DEV,CURRENT->buffer,block,count);
cmd193kernel/blk_drv/xd.cstatic int xd_ioctl (struct inode *inode,struct file *file,u_int cmd,u_long arg)
cmd199kernel/blk_drv/xd.cswitch (cmd) {
cmd330kernel/chr_drv/lp.cunsigned int cmd, unsigned long arg)
cmd335kernel/chr_drv/lp.cprintk("lp%d ioctl, cmd: 0x%x, arg: 0x%x\n", minor, cmd, arg);
cmd341kernel/chr_drv/lp.cswitch ( cmd ) {
cmd925kernel/chr_drv/serial.cstatic int set_modem_info(struct async_struct * info, unsigned int cmd,
cmd933kernel/chr_drv/serial.cswitch (cmd) {
cmd973kernel/chr_drv/serial.cunsigned int cmd, unsigned long arg)
cmd983kernel/chr_drv/serial.cswitch (cmd) {
cmd1014kernel/chr_drv/serial.creturn set_modem_info(info, cmd, (unsigned int *) arg);
cmd185kernel/chr_drv/tty_io.cunsigned int cmd, unsigned long arg)
cmd304kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned long arg)
cmd332kernel/chr_drv/tty_ioctl.cswitch (cmd) {
cmd516kernel/chr_drv/tty_ioctl.cretval = (tty->ioctl)(tty, file, cmd, arg);
cmd522kernel/chr_drv/tty_ioctl.c(tty, file, cmd, arg);
cmd105kernel/chr_drv/vt.cunsigned int cmd, unsigned long arg)
cmd117kernel/chr_drv/vt.cswitch (cmd) {
cmd153kernel/chr_drv/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd158kernel/chr_drv/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd60net/kern_sock.hint (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg);
cmd75net/kern_sock.hint (*fcntl) (struct socket *sock, unsigned int cmd,
cmd59net/socket.cunsigned int cmd, unsigned long 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);
cmd827net/socket.csock_fcntl(struct file *filp, unsigned int cmd, unsigned long arg)
cmd833net/socket.creturn (sock->ops->fcntl (sock, cmd, arg));
cmd143net/tcp/sock.cstatic int ip_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd165net/tcp/sock.cstatic int ip_proto_fcntl (struct socket *sock, unsigned int cmd,
cmd670net/tcp/sock.cip_proto_fcntl (struct socket *sock, unsigned int cmd, unsigned long arg)
cmd681net/tcp/sock.cswitch (cmd)
cmd1634net/tcp/sock.cip_proto_ioctl (struct socket *sock, unsigned int cmd, 
cmd1646net/tcp/sock.cswitch (cmd)
cmd1687net/tcp/sock.creturn (sk->prot->ioctl (sk, cmd, arg));
cmd144net/tcp/sock.hint (*ioctl) (volatile struct sock *sk, int cmd, unsigned long arg);
cmd380net/tcp/tcp.ctcp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
cmd382net/tcp/tcp.cPRINTK (("tcp_ioctl (sk=%X, cmd = %d, arg=%X)\n", sk, cmd, arg));
cmd383net/tcp/tcp.cswitch (cmd)
cmd473net/tcp/udp.cudp_ioctl (volatile struct sock *sk, int cmd, unsigned long arg)
cmd475net/tcp/udp.cswitch (cmd)
cmd130net/tcp/we.cunsigned char cmd;
cmd133net/tcp/we.ccmd = inb_p(WD_COMM);
cmd134net/tcp/we.ccmd &= ~(CSTOP|CPAGE);
cmd135net/tcp/we.ccmd |= CSTART;
cmd136net/tcp/we.coutb_p(cmd, WD_COMM);
cmd145net/tcp/we.cunsigned char cmd;
cmd153net/tcp/we.ccmd=inb_p(WD_COMM);
cmd154net/tcp/we.ccmd|=CSTOP;
cmd155net/tcp/we.ccmd &= ~(CSTART|CPAGE);
cmd156net/tcp/we.coutb_p(cmd, WD_COMM);
cmd173net/tcp/we.ccmd|=1<<CPAGE_SHIFT;
cmd174net/tcp/we.coutb_p(cmd,WD_COMM);
cmd188net/tcp/we.ccmd&=~(CPAGE|CRDMA);
cmd189net/tcp/we.ccmd|= 4<<CRDMA_SHIFT;
cmd190net/tcp/we.coutb_p(cmd, WD_COMM);
cmd216net/tcp/we.cunsigned char cmd;
cmd274net/tcp/we.ccmd=inb_p(WD_COMM);
cmd275net/tcp/we.ccmd &= ~CPAGE;
cmd276net/tcp/we.coutb_p(cmd, WD_COMM);
cmd284net/tcp/we.ccmd |= CTRANS;
cmd285net/tcp/we.coutb_p(cmd,WD_COMM);
cmd302net/tcp/we.cunsigned char cmd;
cmd305net/tcp/we.ccmd = inb_p( CR );
cmd306net/tcp/we.cif (cmd & 0x40) {
cmd307net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* select page 0 */
cmd309net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* reselect page 1 */
cmd319net/tcp/we.cunsigned char   cmd, bnd;
cmd322net/tcp/we.ccmd = inb_p(WD_COMM);
cmd323net/tcp/we.cif (cmd & 0x40) {
cmd324net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* select page 0 */
cmd326net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* reselect page 1 */
cmd337net/tcp/we.cunsigned char   cmd, cur;
cmd340net/tcp/we.ccmd = inb_p(WD_COMM);
cmd341net/tcp/we.cif (cmd & 0x40) {
cmd344net/tcp/we.coutb_p(cmd | CPAGE1, WD_COMM);  /* select page 1 */
cmd346net/tcp/we.coutb_p(cmd & (~CPAGE1), WD_COMM);  /* reselect page 0 */
cmd362net/tcp/we.cunsigned char   cmd;  /* Command register save */
cmd428net/tcp/we.ccmd = inb_p(WD_COMM);
cmd429net/tcp/we.cif (cmd & 0x40)
cmd431net/tcp/we.coutb_p(cmd & ~(CPAGE1), WD_COMM);  /* select page 0 */
cmd440net/tcp/we.cunsigned char cmd, dummy;
cmd446net/tcp/we.ccmd = inb_p( CR ); /* get current command register */
cmd447net/tcp/we.ccmd = (cmd&~(STA|PS0|PS1))|STOP; /* toggle start and stop bits, select page 0 */
cmd448net/tcp/we.coutb_p( cmd, CR );
cmd457net/tcp/we.coutb_p( (cmd&~STOP)|STA, CR ); /* Start NIC */  
cmd487net/tcp/we.ccmd=inb_p(WD_COMM);
cmd490net/tcp/we.ccmd |= CTRANS;
cmd491net/tcp/we.coutb_p(cmd,WD_COMM);
cmd519net/tcp/we.cunsigned char   cmd;
cmd540net/tcp/we.ccmd = inb_p( CR );/* Select page 0 */  
cmd541net/tcp/we.cif( cmd & (PS0|PS1 ) ){
cmd542net/tcp/we.ccmd &= ~(PS0|PS1);
cmd543net/tcp/we.coutb_p(cmd, CR );
cmd61net/unix.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd728net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd735net/unix.cswitch (cmd) {