taglinefilesource code
cmd51fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd57fs/fcntl.cswitch (cmd) {
cmd14fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd21fs/ioctl.cif (S_ISREG(filp->f_inode->i_mode) && cmd == BMAP_IOCTL &&
cmd29fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd107fs/pipe.cunsigned int cmd, unsigned int arg)
cmd109fs/pipe.cswitch (cmd) {
cmd25kernel/blk_drv/blk.hint cmd;    /* READ or WRITE */
cmd43kernel/blk_drv/blk.h((s1)->cmd < (s2)->cmd || ((s1)->cmd == (s2)->cmd && \
cmd949kernel/blk_drv/floppy.cif (CURRENT->cmd == READ)
cmd951kernel/blk_drv/floppy.celse if (CURRENT->cmd == WRITE)
cmd1002kernel/blk_drv/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd1008kernel/blk_drv/floppy.cswitch (cmd) {
cmd1013kernel/blk_drv/floppy.cswitch (cmd) {
cmd1021kernel/blk_drv/floppy.ccmd = FDCLRPRM;
cmd1060kernel/blk_drv/floppy.cswitch (cmd) {
cmd1073kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
cmd130kernel/blk_drv/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd154kernel/blk_drv/hd.coutb_p(cmd,++port);
cmd426kernel/blk_drv/hd.cif (CURRENT->cmd == WRITE) {
cmd437kernel/blk_drv/hd.c} else if (CURRENT->cmd == READ) {
cmd447kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
cmd457kernel/blk_drv/hd.cswitch (cmd) {
cmd176kernel/blk_drv/ll_rw_blk.creq->cmd == rw &&
cmd213kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd254kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd341kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd38kernel/blk_drv/ramdisk.cif (CURRENT-> cmd == WRITE) {
cmd42kernel/blk_drv/ramdisk.c} else if (CURRENT->cmd == READ) {
cmd265kernel/blk_drv/scsi/7000fasst.cunchar *cmd = (unchar *) cmnd;
cmd273kernel/blk_drv/scsi/7000fasst.cmemcpy(scbs[i].scbdata, cmd, (*cmd<=0x1f)?6:10);
cmd403kernel/blk_drv/scsi/7000fasst.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd410kernel/blk_drv/scsi/7000fasst.cif (wd7000fasst_command(i, cmd, buf, sizeof(buf))) rstat++;
cmd257kernel/blk_drv/scsi/aha1542.cunchar *cmd = (unchar *) cmnd;
cmd263kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd264kernel/blk_drv/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd265kernel/blk_drv/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd266kernel/blk_drv/scsi/aha1542.ci = scsi2int(cmd+2);
cmd270kernel/blk_drv/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd272kernel/blk_drv/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd275kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
cmd277kernel/blk_drv/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd282kernel/blk_drv/scsi/aha1542.cccb.cdblen = (*cmd<=0x1f)?6:10;  /* SCSI Command Descriptor Block Length */
cmd284kernel/blk_drv/scsi/aha1542.cmemcpy(ccb.cdb, cmd, ccb.cdblen);
cmd339kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[5] = {CMD_MBINIT, 1};
cmd343kernel/blk_drv/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd345kernel/blk_drv/scsi/aha1542.caha1542_out(cmd, 5);
cmd409kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd414kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd424kernel/blk_drv/scsi/aha1542.cunsigned char cmd[10];
cmd427kernel/blk_drv/scsi/aha1542.ccmd[0] = READ_10;
cmd428kernel/blk_drv/scsi/aha1542.ccmd[1] = 0;
cmd429kernel/blk_drv/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd430kernel/blk_drv/scsi/aha1542.ccmd[6] = 0;
cmd431kernel/blk_drv/scsi/aha1542.ccmd[7] = 0;
cmd432kernel/blk_drv/scsi/aha1542.ccmd[8] = 1;
cmd433kernel/blk_drv/scsi/aha1542.ccmd[9] = 0;
cmd434kernel/blk_drv/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd76kernel/blk_drv/scsi/scsi_ioctl.cchar cmd[10];
cmd90kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in,  cmdlen = COMMAND_SIZE (opcode));
cmd108kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(host,  dev->id,  cmd,  buf,  ((outlen > MAX_BUF) ? 
cmd123kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd142kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (Scsi_Device *dev, int cmd, void *arg)
cmd144kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd != 0 && dev->id > NR_SCSI_DEVICES))
cmd146kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd == 0 && dev->host_no > MAX_SCSI_HOSTS))
cmd149kernel/blk_drv/scsi/scsi_ioctl.cswitch (cmd) {
cmd224kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd256kernel/blk_drv/scsi/sd.c(CURRENT->cmd == WRITE) ? "writing" : "reading",
cmd260kernel/blk_drv/scsi/sd.cswitch (CURRENT->cmd)
cmd268kernel/blk_drv/scsi/sd.ccmd[0] = WRITE_6;
cmd271kernel/blk_drv/scsi/sd.ccmd[0] = READ_6;
cmd274kernel/blk_drv/scsi/sd.cprintk ("Unknown sd command %d\r\n", CURRENT->cmd);
cmd278kernel/blk_drv/scsi/sd.ccmd[1] = (LUN << 5) & 0xe0;
cmd285kernel/blk_drv/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd286kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd287kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd288kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd289kernel/blk_drv/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd290kernel/blk_drv/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd291kernel/blk_drv/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd292kernel/blk_drv/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd299kernel/blk_drv/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd300kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd301kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd302kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd303kernel/blk_drv/scsi/sd.ccmd[5] = 0;
cmd306kernel/blk_drv/scsi/sd.cscsi_do_cmd (HOST, ID, (void *) cmd, CURRENT->buffer, this_count << 9, 
cmd323kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd331kernel/blk_drv/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd332kernel/blk_drv/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd333kernel/blk_drv/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);  
cmd350kernel/blk_drv/scsi/sd.c(void *) cmd, (void *) buffer,
cmd9kernel/blk_drv/scsi/sd_ioctl.cextern int scsi_ioctl (Scsi_Device *dev, int cmd, void *arg);
cmd11kernel/blk_drv/scsi/sd_ioctl.cint sd_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
cmd15kernel/blk_drv/scsi/sd_ioctl.cswitch (cmd) {
cmd17kernel/blk_drv/scsi/sd_ioctl.creturn scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device, cmd, (void *) arg);
cmd8kernel/blk_drv/scsi/st_ioctl.cextern int scsi_ioctl(Scsi_Device *dev, int cmd, void *arg);
cmd10kernel/blk_drv/scsi/st_ioctl.cint st_ioctl(struct inode * inode, struct file * file, unsigned long cmd, unsigned long arg)
cmd14kernel/blk_drv/scsi/st_ioctl.cswitch (cmd) {
cmd16kernel/blk_drv/scsi/st_ioctl.creturn scsi_ioctl(scsi_tapes[MINOR(dev)].device, cmd, (void *) arg);
cmd22kernel/chr_drv/tty_ioctl.cextern int vt_ioctl(struct tty_struct *tty, int dev, int cmd, int arg);
cmd230kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned int arg)
cmd251kernel/chr_drv/tty_ioctl.cswitch (cmd) {
cmd412kernel/chr_drv/tty_ioctl.creturn vt_ioctl(tty, dev, cmd, arg);
cmd70kernel/chr_drv/vt.cvt_ioctl(struct tty_struct *tty, int dev, int cmd, int arg)
cmd78kernel/chr_drv/vt.cswitch (cmd) {
cmd98kernel/chr_drv/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd103kernel/chr_drv/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd56net/kern_sock.hint (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg);
cmd51net/socket.cunsigned int cmd, unsigned int arg);
cmd270net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd275net/socket.cPRINTK("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg);
cmd280net/socket.cswitch (cmd) {
cmd290net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
cmd59net/unix.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd560net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd567net/unix.cswitch (cmd) {