taglinefilesource code
cmd51fs/fcntl.cint sys_fcntl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd57fs/fcntl.cswitch (cmd) {
cmd13fs/ioctl.cint sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg)
cmd20fs/ioctl.creturn filp->f_op->ioctl(filp->f_inode, filp, cmd,arg);
cmd96fs/pipe.cunsigned int cmd, unsigned int arg)
cmd98fs/pipe.cswitch (cmd) {
cmd52include/fcntl.hextern int fcntl(int fildes,int cmd, ...);
cmd99include/unistd.hint fcntl(int fildes, int cmd, ...);
cmd106include/unistd.hint ioctl(int fildes, int cmd, ...);
cmd129include/unistd.hint ulimit(int cmd, long limit);
cmd25kernel/blk_drv/blk.hint cmd;    /* READ or WRITE */
cmd42kernel/blk_drv/blk.h((s1)->cmd<(s2)->cmd || ((s1)->cmd==(s2)->cmd && \
cmd774kernel/blk_drv/floppy.cif (CURRENT->cmd == READ)
cmd776kernel/blk_drv/floppy.celse if (CURRENT->cmd == WRITE)
cmd828kernel/blk_drv/floppy.cstatic int fd_ioctl(struct inode *inode, struct file *filp, unsigned int cmd,
cmd836kernel/blk_drv/floppy.cswitch (cmd) {
cmd844kernel/blk_drv/floppy.ccmd = FDCLRPRM;
cmd883kernel/blk_drv/floppy.cswitch (cmd) {
cmd896kernel/blk_drv/floppy.cif (cmd == FDDEFPRM) keep_data[drive] = -1;
cmd326kernel/blk_drv/hd.cunsigned int head,unsigned int cyl,unsigned int cmd,
cmd350kernel/blk_drv/hd.coutb_p(cmd,++port);
cmd574kernel/blk_drv/hd.cif (CURRENT->cmd == WRITE) {
cmd585kernel/blk_drv/hd.c} else if (CURRENT->cmd == READ) {
cmd594kernel/blk_drv/hd.cunsigned int cmd, unsigned int arg)
cmd604kernel/blk_drv/hd.cswitch (cmd) {
cmd139kernel/blk_drv/ll_rw_blk.creq->cmd == rw &&
cmd176kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd212kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
cmd278kernel/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) {
cmd257kernel/blk_drv/scsi/aha1542.cunchar *cmd = (unchar *) cmnd;
cmd262kernel/blk_drv/scsi/aha1542.cif (*cmd == READ_10 || *cmd == WRITE_10)
cmd263kernel/blk_drv/scsi/aha1542.ci = xscsi2int(cmd+2);
cmd264kernel/blk_drv/scsi/aha1542.celse if (*cmd == READ_6 || *cmd == WRITE_6)
cmd265kernel/blk_drv/scsi/aha1542.ci = scsi2int(cmd+2);
cmd269kernel/blk_drv/scsi/aha1542.cprintk("aha1542_queuecommand: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd271kernel/blk_drv/scsi/aha1542.cprintk("aha1542_command: dev %d cmd %02x pos %d len %d ", target, *cmd, i, bufflen);
cmd274kernel/blk_drv/scsi/aha1542.cfor (i = 0; i < (*cmd<=0x1f?6:10); i++) printk("%02x ", cmd[i]);
cmd276kernel/blk_drv/scsi/aha1542.cif (*cmd == WRITE_10 || *cmd == WRITE_6)
cmd281kernel/blk_drv/scsi/aha1542.cccb.cdblen = (*cmd<=0x1f)?6:10;  /* SCSI Command Descriptor Block Length */
cmd283kernel/blk_drv/scsi/aha1542.cmemcpy(ccb.cdb, cmd, ccb.cdblen);
cmd338kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[5] = {CMD_MBINIT, 1};
cmd342kernel/blk_drv/scsi/aha1542.cany2scsi((cmd+2), mb);
cmd344kernel/blk_drv/scsi/aha1542.caha1542_out(cmd, 5);
cmd408kernel/blk_drv/scsi/aha1542.cstatic unchar cmd[] = {  READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0};
cmd413kernel/blk_drv/scsi/aha1542.cif (!aha1542_command(i, cmd, buf, sizeof(buf))) {
cmd423kernel/blk_drv/scsi/aha1542.cunsigned char cmd[10];
cmd426kernel/blk_drv/scsi/aha1542.ccmd[0] = READ_10;
cmd427kernel/blk_drv/scsi/aha1542.ccmd[1] = 0;
cmd428kernel/blk_drv/scsi/aha1542.cxany2scsi(cmd+2, i);
cmd429kernel/blk_drv/scsi/aha1542.ccmd[6] = 0;
cmd430kernel/blk_drv/scsi/aha1542.ccmd[7] = 0;
cmd431kernel/blk_drv/scsi/aha1542.ccmd[8] = 1;
cmd432kernel/blk_drv/scsi/aha1542.ccmd[9] = 0;
cmd433kernel/blk_drv/scsi/aha1542.caha1542_command(0, cmd, buffer, 512);
cmd74kernel/blk_drv/scsi/scsi_ioctl.cchar cmd[10];
cmd88kernel/blk_drv/scsi/scsi_ioctl.cmemcpy_fromfs ((void *) cmd,  cmd_in, cmdlen = COMMAND_SIZE (opcode));
cmd106kernel/blk_drv/scsi/scsi_ioctl.cscsi_do_cmd(host,  dev->id, cmd, buf, ((outlen > MAX_BUF) ? 
cmd121kernel/blk_drv/scsi/scsi_ioctl.cprintk("%02x ", cmd[i]);
cmd137kernel/blk_drv/scsi/scsi_ioctl.cint scsi_ioctl (int dev, int cmd, void *arg)
cmd139kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd != 0 && dev > NR_SCSI_DEVICES) || dev < 0)
cmd141kernel/blk_drv/scsi/scsi_ioctl.cif ((cmd == 0 && dev > MAX_SCSI_HOSTS))
cmd144kernel/blk_drv/scsi/scsi_ioctl.cswitch (cmd) {
cmd165kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd196kernel/blk_drv/scsi/sd.cswitch (CURRENT->cmd)
cmd204kernel/blk_drv/scsi/sd.ccmd[0] = WRITE_6;
cmd207kernel/blk_drv/scsi/sd.ccmd[0] = READ_6;
cmd210kernel/blk_drv/scsi/sd.cprintk ("Unknown sd command %d\r\n", CURRENT->cmd);
cmd214kernel/blk_drv/scsi/sd.ccmd[1] = (LUN << 5) & 0xe0;
cmd221kernel/blk_drv/scsi/sd.ccmd[0] += READ_10 - READ_6 ;
cmd222kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) (block >> 24) & 0xff;
cmd223kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) (block >> 16) & 0xff;
cmd224kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) (block >> 8) & 0xff;
cmd225kernel/blk_drv/scsi/sd.ccmd[5] = (unsigned char) block & 0xff;
cmd226kernel/blk_drv/scsi/sd.ccmd[6] = cmd[9] = 0;
cmd227kernel/blk_drv/scsi/sd.ccmd[7] = (unsigned char) (this_count >> 8) & 0xff;
cmd228kernel/blk_drv/scsi/sd.ccmd[8] = (unsigned char) this_count & 0xff;
cmd235kernel/blk_drv/scsi/sd.ccmd[1] |= (unsigned char) ((block >> 16) & 0x1f);
cmd236kernel/blk_drv/scsi/sd.ccmd[2] = (unsigned char) ((block >> 8) & 0xff);
cmd237kernel/blk_drv/scsi/sd.ccmd[3] = (unsigned char) block & 0xff;
cmd238kernel/blk_drv/scsi/sd.ccmd[4] = (unsigned char) this_count;
cmd239kernel/blk_drv/scsi/sd.ccmd[5] = 0;
cmd242kernel/blk_drv/scsi/sd.cscsi_do_cmd (HOST, ID, (void *) cmd, CURRENT->buffer, this_count << 9, 
cmd259kernel/blk_drv/scsi/sd.cunsigned char cmd[10];
cmd267kernel/blk_drv/scsi/sd.ccmd[0] = READ_CAPACITY;
cmd269kernel/blk_drv/scsi/sd.ccmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0;
cmd270kernel/blk_drv/scsi/sd.cmemset ((void *) &cmd[2], 0, 8);
cmd278kernel/blk_drv/scsi/sd.c(void *) cmd, (void *) buffer,
cmd343kernel/blk_drv/scsi/sd.ccmd[0] = READ_6;
cmd344kernel/blk_drv/scsi/sd.ccmd[2] = cmd[3] = cmd[5] = 0; 
cmd345kernel/blk_drv/scsi/sd.ccmd[4] = 1;
cmd349kernel/blk_drv/scsi/sd.c(void *) cmd, (void *) buffer, 512, sd_init_done,  SD_TIMEOUT, 
cmd9kernel/blk_drv/scsi/sd_ioctl.cextern int scsi_ioctl (int 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(int 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);
cmd227kernel/chr_drv/tty_ioctl.cunsigned int cmd, unsigned int arg)
cmd249kernel/chr_drv/tty_ioctl.cswitch (cmd) {
cmd394kernel/chr_drv/tty_ioctl.creturn vt_ioctl(tty, dev, cmd, arg);
cmd72kernel/chr_drv/vt.cvt_ioctl(struct tty_struct *tty, int dev, int cmd, int arg)
cmd80kernel/chr_drv/vt.cswitch (cmd) {
cmd100kernel/chr_drv/vt.creturn sys_ioperm(arg, 1, (cmd == KDADDIO)) ? -ENXIO : 0;
cmd105kernel/chr_drv/vt.c(cmd == KDENABIO)) ? -ENXIO : 0;
cmd56net/kern_sock.hint (*ioctl)(struct socket *sock, unsigned int cmd, unsigned long arg);
cmd50net/socket.cunsigned int cmd, unsigned int arg);
cmd269net/socket.csock_ioctl(struct inode *inode, struct file *file, unsigned int cmd,
cmd274net/socket.cPRINTK("sock_ioctl: inode=0x%x cmd=0x%x arg=%d\n", inode, cmd, arg);
cmd279net/socket.cswitch (cmd) {
cmd289net/socket.creturn sock->ops->ioctl(sock, cmd, arg);
cmd57net/unix.cstatic int unix_proto_ioctl(struct socket *sock, unsigned int cmd,
cmd566net/unix.cunix_proto_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
cmd573net/unix.cswitch (cmd) {