taglinefilesource code
rq126drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq147drivers/block/ide-cd.cif (rq->cmd == READ)
rq161drivers/block/ide-cd.cpc = (struct packet_command *)rq->buffer;
rq180drivers/block/ide-cd.cif ((++rq->errors > ERROR_MAX))
rq187drivers/block/ide-cd.celse if (rq->cmd == PACKET_COMMAND)
rq189drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq202drivers/block/ide-cd.celse if ((++rq->errors > ERROR_MAX))
rq278drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq284drivers/block/ide-cd.cif (rq->current_nr_sectors <= 0)
rq289drivers/block/ide-cd.cif (rq->current_nr_sectors > 0)
rq291drivers/block/ide-cd.ccdrom_start_read (dev, rq->sector);
rq308drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq323drivers/block/ide-cd.cIN_WORDS (rq->buffer, len/2);
rq325drivers/block/ide-cd.crq->current_nr_sectors -= BLOCKS_PER_FRAME;
rq326drivers/block/ide-cd.crq->nr_sectors -= BLOCKS_PER_FRAME;
rq327drivers/block/ide-cd.crq->sector += BLOCKS_PER_FRAME;
rq328drivers/block/ide-cd.crq->buffer += CD_FRAMESIZE;
rq344drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq357drivers/block/ide-cd.cconv.l.l0 = rq->sector / BLOCKS_PER_FRAME;
rq382drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq384drivers/block/ide-cd.cif (rq->cmd == READ &&
rq385drivers/block/ide-cd.c(rq->current_nr_sectors != BLOCKS_PER_FRAME ||
rq386drivers/block/ide-cd.c(rq->sector & (BLOCKS_PER_FRAME-1)) != 0))
rq389drivers/block/ide-cd.crq->current_nr_sectors, rq->sector);
rq417drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq418drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq521drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq522drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq537drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq538drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq611drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq613drivers/block/ide-cd.cif (rq -> cmd == PACKET_COMMAND)
rq616drivers/block/ide-cd.cif (rq -> cmd != READ)
rq618drivers/block/ide-cd.cprintk ("ide-cd: bad cmd %d\n", rq -> cmd);
rq623drivers/block/ide-cd.cif (rq->cmd == READ)
rq627drivers/block/ide-cd.cif ((rq->nr_sectors & (BLOCKS_PER_FRAME-1)) == BLOCKS_PER_FRAME-1 &&
rq628drivers/block/ide-cd.c(rq->sector & (BLOCKS_PER_FRAME-1)) == 1 &&
rq629drivers/block/ide-cd.c(rq->current_nr_sectors & (BLOCKS_PER_FRAME-1)) == 0)
rq631drivers/block/ide-cd.crq->nr_sectors &= (BLOCKS_PER_FRAME-1);
rq632drivers/block/ide-cd.crq->sector = (rq->sector+BLOCKS_PER_FRAME) & (BLOCKS_PER_FRAME-1);
rq494drivers/block/ide.cstruct request *rq = ide_cur_rq[DEV_HWIF];
rq495drivers/block/ide.cbyte *args = (byte *) rq->buffer;
rq497drivers/block/ide.crq->errors = !OK_STAT(stat,READY_STAT,BAD_STAT);
rq505drivers/block/ide.cup(rq->sem);
rq588drivers/block/ide.cstruct request *rq;
rq592drivers/block/ide.cif ((rq = ide_cur_rq[DEV_HWIF]) == NULL || dev == NULL)
rq595drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {  /* never retry an explicit DRIVE_CMD */
rq603drivers/block/ide.crq->errors = ERROR_MAX;
rq605drivers/block/ide.crq->errors |= ERROR_RECAL;
rq607drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd == READ) {
rq613drivers/block/ide.crq->errors |= ERROR_RESET;  /* Mmmm.. timing problem */
rq615drivers/block/ide.cif (rq->errors >= ERROR_MAX)
rq618drivers/block/ide.cif ((rq->errors & ERROR_RESET) == ERROR_RESET)
rq620drivers/block/ide.celse if ((rq->errors & ERROR_RECAL) == ERROR_RECAL)
rq622drivers/block/ide.c++rq->errors;
rq631drivers/block/ide.cstruct request *rq;
rq641drivers/block/ide.crq = ide_cur_rq[DEV_HWIF];
rq643drivers/block/ide.cif ((nsect = rq->current_nr_sectors) > msect)
rq648drivers/block/ide.cIN_SECTORS(rq->buffer,nsect);
rq651drivers/block/ide.cdev->name, rq->sector, rq->sector+nsect-1,
rq652drivers/block/ide.c(unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect);
rq654drivers/block/ide.crq->sector += nsect;
rq655drivers/block/ide.crq->buffer += nsect<<9;
rq656drivers/block/ide.crq->errors = 0;
rq657drivers/block/ide.ci = (rq->nr_sectors -= nsect);
rq658drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) <= 0)
rq674drivers/block/ide.cstruct request *rq = ide_cur_rq[DEV_HWIF];
rq679drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
rq680drivers/block/ide.crq->nr_sectors-1);
rq682drivers/block/ide.cif ((rq->nr_sectors == 1) ^ ((stat & DRQ_STAT) != 0)) {
rq683drivers/block/ide.crq->sector++;
rq684drivers/block/ide.crq->buffer += 512;
rq685drivers/block/ide.crq->errors = 0;
rq686drivers/block/ide.ci = --rq->nr_sectors;
rq687drivers/block/ide.c--rq->current_nr_sectors;
rq688drivers/block/ide.cif (rq->current_nr_sectors <= 0)
rq692drivers/block/ide.cOUT_SECTORS(rq->buffer,1);
rq706drivers/block/ide.cstruct request *rq = &ide_write_rq[DEV_HWIF];
rq710drivers/block/ide.cunsigned int nsect = rq->current_nr_sectors;
rq715drivers/block/ide.cOUT_SECTORS(rq->buffer,nsect);
rq718drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
rq719drivers/block/ide.cnsect, rq->nr_sectors - nsect);
rq721drivers/block/ide.cif ((rq->nr_sectors -= nsect) <= 0)
rq723drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) == 0) {
rq724drivers/block/ide.cif ((rq->bh = rq->bh->b_reqnext) != NULL) {
rq725drivers/block/ide.crq->current_nr_sectors = rq->bh->b_size>>9;
rq726drivers/block/ide.crq->buffer             = rq->bh->b_data;
rq732drivers/block/ide.crq->buffer += nsect << 9;
rq741drivers/block/ide.cstruct request *rq = &ide_write_rq[DEV_HWIF];
rq745drivers/block/ide.cif (rq->nr_sectors) {
rq752drivers/block/ide.cif (!rq->nr_sectors) {  /* all done? */
rq753drivers/block/ide.crq = ide_cur_rq[DEV_HWIF];
rq754drivers/block/ide.cfor (i = rq->nr_sectors; i > 0;){
rq755drivers/block/ide.ci -= rq->current_nr_sectors;
rq927drivers/block/ide.cstatic inline int do_rw_disk (ide_dev_t *dev, struct request *rq, unsigned long block)
rq930drivers/block/ide.cOUT_BYTE(rq->nr_sectors,HD_NSECTOR);
rq934drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", 
rq935drivers/block/ide.cblock, rq->nr_sectors, (unsigned long) rq->buffer);
rq953drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", cyl,
rq954drivers/block/ide.chead, sect, rq->nr_sectors, (unsigned long) rq->buffer);
rq957drivers/block/ide.cif (rq->cmd == READ) {
rq962drivers/block/ide.cif (rq->cmd == WRITE) {
rq969drivers/block/ide.cide_write_rq[DEV_HWIF] = *rq; /* scratchpad */
rq973drivers/block/ide.cOUT_SECTORS(rq->buffer,1);
rq979drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {
rq980drivers/block/ide.cbyte *args = rq->buffer;
rq996drivers/block/ide.cprintk("%s: bad command: %d\n", dev->name, rq->cmd);
rq1017drivers/block/ide.cstruct request *rq;
rq1024drivers/block/ide.cif ((rq = ide_cur_rq[HWIF]) == NULL) {
rq1025drivers/block/ide.crq = blk_dev[ide_major[HWIF]].current_request;
rq1026drivers/block/ide.cif ((rq == NULL) || (rq->dev < 0)) {
rq1031drivers/block/ide.crq = blk_dev[ide_major[hwif^=1]].current_request;
rq1032drivers/block/ide.cif ((rq != NULL) && (rq->dev >= 0))
rq1038drivers/block/ide.cblk_dev[ide_major[HWIF]].current_request = rq->next;
rq1039drivers/block/ide.cide_cur_rq[HWIF] = rq;
rq1042drivers/block/ide.cprintk("%s: do_request: current=0x%08lx\n",ide_name[HWIF],(unsigned long)rq);
rq1044drivers/block/ide.cminor = MINOR(rq->dev);
rq1047drivers/block/ide.cif ((MAJOR(rq->dev) != ide_major[HWIF]) || (drive >= MAX_DRIVES)) {
rq1048drivers/block/ide.cprintk("%s: bad device number: 0x%04x\n", ide_name[HWIF], rq->dev);
rq1052drivers/block/ide.cif (rq->bh && !rq->bh->b_lock) {
rq1057drivers/block/ide.cblock    = rq->sector;
rq1058drivers/block/ide.cblockend = block + rq->nr_sectors;
rq1061drivers/block/ide.cdev->name, block, rq->nr_sectors);
rq1080drivers/block/ide.cif (do_rw_disk(dev, rq, block))
rq1335drivers/block/ide.cstruct request rq, *cur_rq;
rq1340drivers/block/ide.crq.buffer = args;
rq1341drivers/block/ide.crq.cmd = IDE_DRIVE_CMD;
rq1342drivers/block/ide.crq.errors = 0;
rq1343drivers/block/ide.crq.sector = 0;
rq1344drivers/block/ide.crq.nr_sectors = 0;
rq1345drivers/block/ide.crq.current_nr_sectors = 0;
rq1346drivers/block/ide.crq.sem = &sem;
rq1347drivers/block/ide.crq.bh = NULL;
rq1348drivers/block/ide.crq.bhtail = NULL;
rq1349drivers/block/ide.crq.next = NULL;
rq1350drivers/block/ide.crq.dev = dev;
rq1357drivers/block/ide.cbdev->current_request = &rq;  /* service ours immediately */
rq1362drivers/block/ide.ccur_rq->next = &rq;    /* add rq to the end */
rq1367drivers/block/ide.creturn rq.errors ? -EIO : 0;    /* return -EIO if errors */
rq296drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd);
rq1608drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq1611drivers/net/ewrk3.cstruct ewrk3_ioctl *ioc = (struct ewrk3_ioctl *) &rq->ifr_data;
rq889drivers/net/plip.cstatic int plip_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq892drivers/net/plip.cstruct plipconf *pc = (struct plipconf *) &rq->ifr_data;