taglinefilesource code
rq163drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq167drivers/block/ide-cd.cif (!uptodate && rq->bh != 0)
rq169drivers/block/ide-cd.cint adj = rq->current_nr_sectors - 1;
rq170drivers/block/ide-cd.crq->current_nr_sectors -= adj;
rq171drivers/block/ide-cd.crq->sector += adj;
rq192drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq212drivers/block/ide-cd.cif (rq->cmd == READ)
rq226drivers/block/ide-cd.cpc = (struct packet_command *)rq->buffer;
rq244drivers/block/ide-cd.cif ((++rq->errors > ERROR_MAX))
rq251drivers/block/ide-cd.celse if (rq->cmd == PACKET_COMMAND)
rq253drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq266drivers/block/ide-cd.celse if ((++rq->errors > ERROR_MAX))
rq433drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq447drivers/block/ide-cd.cif (rq->current_nr_sectors > 0)
rq450drivers/block/ide-cd.cdev->name, rq->current_nr_sectors);
rq479drivers/block/ide-cd.cnskip = MIN ((int)(rq->current_nr_sectors - (rq->bh->b_size >> SECTOR_BITS)),
rq488drivers/block/ide-cd.c--rq->current_nr_sectors;
rq500drivers/block/ide-cd.cif (rq->current_nr_sectors == 0 &&
rq501drivers/block/ide-cd.crq->nr_sectors > 0)
rq506drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq508drivers/block/ide-cd.ccdrom_buffer_sectors (dev, rq->sector, sectors_to_transfer);
rq517drivers/block/ide-cd.crq->current_nr_sectors);
rq522drivers/block/ide-cd.cIN_WORDS (rq->buffer, SECTOR_SIZE / 2);
rq523drivers/block/ide-cd.crq->buffer += SECTOR_SIZE;
rq524drivers/block/ide-cd.c--rq->nr_sectors;
rq525drivers/block/ide-cd.c--rq->current_nr_sectors;
rq526drivers/block/ide-cd.c++rq->sector;
rq546drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq553drivers/block/ide-cd.cwhile (rq->nr_sectors > 0 &&
rq554drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
rq555drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
rq557drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq560drivers/block/ide-cd.cmemcpy (rq->buffer,
rq562drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
rq564drivers/block/ide-cd.crq->buffer += SECTOR_SIZE;
rq565drivers/block/ide-cd.c--rq->current_nr_sectors;
rq566drivers/block/ide-cd.c--rq->nr_sectors;
rq567drivers/block/ide-cd.c++rq->sector;
rq571drivers/block/ide-cd.cif (rq->nr_sectors == 0)
rq578drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq585drivers/block/ide-cd.cif (rq->current_nr_sectors < (rq->bh->b_size >> SECTOR_BITS) &&
rq586drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
rq589drivers/block/ide-cd.cdev->name, rq->sector);
rq608drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq613drivers/block/ide-cd.cnsect = rq->nr_sectors;
rq616drivers/block/ide-cd.csector = rq->sector;
rq628drivers/block/ide-cd.cif (rq->current_nr_sectors != (rq->bh->b_size >> SECTOR_BITS))
rq631drivers/block/ide-cd.cdev->name, rq->current_nr_sectors);
rq639drivers/block/ide-cd.crq->current_nr_sectors += nskip;
rq687drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq691drivers/block/ide-cd.cif (rq->buffer != rq->bh->b_data)
rq693drivers/block/ide-cd.cint n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE;
rq694drivers/block/ide-cd.crq->buffer = rq->bh->b_data;
rq695drivers/block/ide-cd.crq->nr_sectors += n;
rq696drivers/block/ide-cd.crq->current_nr_sectors += n;
rq697drivers/block/ide-cd.crq->sector -= n;
rq700drivers/block/ide-cd.cif (rq->current_nr_sectors > (rq->bh->b_size >> SECTOR_BITS))
rq701drivers/block/ide-cd.crq->current_nr_sectors = rq->bh->b_size;
rq731drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq732drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq835drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq836drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq851drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq852drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq925drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq927drivers/block/ide-cd.cif (rq -> cmd == PACKET_COMMAND)
rq930drivers/block/ide-cd.cif (rq -> cmd != READ)
rq932drivers/block/ide-cd.cprintk ("ide-cd: bad cmd %d\n", rq -> cmd);
rq512drivers/block/ide.cstruct request *rq = ide_cur_rq[DEV_HWIF];
rq513drivers/block/ide.cbyte *args = (byte *) rq->buffer;
rq515drivers/block/ide.crq->errors = !OK_STAT(stat,READY_STAT,BAD_STAT);
rq523drivers/block/ide.cup(rq->sem);
rq606drivers/block/ide.cstruct request *rq;
rq610drivers/block/ide.cif ((rq = ide_cur_rq[DEV_HWIF]) == NULL || dev == NULL)
rq613drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {  /* never retry an explicit DRIVE_CMD */
rq619drivers/block/ide.crq->errors |= ERROR_RESET;
rq624drivers/block/ide.crq->errors = ERROR_MAX;
rq626drivers/block/ide.crq->errors |= ERROR_RECAL;
rq628drivers/block/ide.cif ((stat & DRQ_STAT) && rq->cmd == READ) {
rq635drivers/block/ide.crq->errors |= ERROR_RESET;  /* Mmmm.. timing problem */
rq637drivers/block/ide.cif (rq->errors >= ERROR_MAX)
rq640drivers/block/ide.cif ((rq->errors & ERROR_RESET) == ERROR_RESET)
rq642drivers/block/ide.celse if ((rq->errors & ERROR_RECAL) == ERROR_RECAL)
rq644drivers/block/ide.c++rq->errors;
rq653drivers/block/ide.cstruct request *rq;
rq663drivers/block/ide.crq = ide_cur_rq[DEV_HWIF];
rq665drivers/block/ide.cif ((nsect = rq->current_nr_sectors) > msect)
rq670drivers/block/ide.cIN_SECTORS(rq->buffer,nsect);
rq673drivers/block/ide.cdev->name, rq->sector, rq->sector+nsect-1,
rq674drivers/block/ide.c(unsigned long) rq->buffer+(nsect<<9), rq->nr_sectors-nsect);
rq676drivers/block/ide.crq->sector += nsect;
rq677drivers/block/ide.crq->buffer += nsect<<9;
rq678drivers/block/ide.crq->errors = 0;
rq679drivers/block/ide.ci = (rq->nr_sectors -= nsect);
rq680drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) <= 0)
rq696drivers/block/ide.cstruct request *rq = ide_cur_rq[DEV_HWIF];
rq701drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
rq702drivers/block/ide.crq->nr_sectors-1);
rq704drivers/block/ide.cif ((rq->nr_sectors == 1) ^ ((stat & DRQ_STAT) != 0)) {
rq705drivers/block/ide.crq->sector++;
rq706drivers/block/ide.crq->buffer += 512;
rq707drivers/block/ide.crq->errors = 0;
rq708drivers/block/ide.ci = --rq->nr_sectors;
rq709drivers/block/ide.c--rq->current_nr_sectors;
rq710drivers/block/ide.cif (rq->current_nr_sectors <= 0)
rq714drivers/block/ide.cOUT_SECTORS(rq->buffer,1);
rq728drivers/block/ide.cstruct request *rq = &ide_write_rq[DEV_HWIF];
rq732drivers/block/ide.cunsigned int nsect = rq->current_nr_sectors;
rq737drivers/block/ide.cOUT_SECTORS(rq->buffer,nsect);
rq740drivers/block/ide.cdev->name, rq->sector, (unsigned long) rq->buffer,
rq741drivers/block/ide.cnsect, rq->nr_sectors - nsect);
rq743drivers/block/ide.cif ((rq->nr_sectors -= nsect) <= 0)
rq745drivers/block/ide.cif ((rq->current_nr_sectors -= nsect) == 0) {
rq746drivers/block/ide.cif ((rq->bh = rq->bh->b_reqnext) != NULL) {
rq747drivers/block/ide.crq->current_nr_sectors = rq->bh->b_size>>9;
rq748drivers/block/ide.crq->buffer             = rq->bh->b_data;
rq754drivers/block/ide.crq->buffer += nsect << 9;
rq763drivers/block/ide.cstruct request *rq = &ide_write_rq[DEV_HWIF];
rq767drivers/block/ide.cif (rq->nr_sectors) {
rq774drivers/block/ide.cif (!rq->nr_sectors) {  /* all done? */
rq775drivers/block/ide.crq = ide_cur_rq[DEV_HWIF];
rq776drivers/block/ide.cfor (i = rq->nr_sectors; i > 0;){
rq777drivers/block/ide.ci -= rq->current_nr_sectors;
rq948drivers/block/ide.cstatic inline int do_rw_disk (ide_dev_t *dev, struct request *rq, unsigned long block)
rq951drivers/block/ide.cOUT_BYTE(rq->nr_sectors,HD_NSECTOR);
rq955drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", 
rq956drivers/block/ide.cblock, rq->nr_sectors, (unsigned long) rq->buffer);
rq974drivers/block/ide.cdev->name, (rq->cmd==READ)?"read":"writ", cyl,
rq975drivers/block/ide.chead, sect, rq->nr_sectors, (unsigned long) rq->buffer);
rq978drivers/block/ide.cif (rq->cmd == READ) {
rq983drivers/block/ide.cif (rq->cmd == WRITE) {
rq990drivers/block/ide.cide_write_rq[DEV_HWIF] = *rq; /* scratchpad */
rq994drivers/block/ide.cOUT_SECTORS(rq->buffer,1);
rq1000drivers/block/ide.cif (rq->cmd == IDE_DRIVE_CMD) {
rq1001drivers/block/ide.cbyte *args = rq->buffer;
rq1017drivers/block/ide.cprintk("%s: bad command: %d\n", dev->name, rq->cmd);
rq1038drivers/block/ide.cstruct request *rq;
rq1045drivers/block/ide.cif ((rq = ide_cur_rq[HWIF]) == NULL) {
rq1046drivers/block/ide.crq = blk_dev[ide_major[HWIF]].current_request;
rq1047drivers/block/ide.cif ((rq == NULL) || (rq->dev < 0)) {
rq1052drivers/block/ide.crq = blk_dev[ide_major[hwif^=1]].current_request;
rq1053drivers/block/ide.cif ((rq != NULL) && (rq->dev >= 0))
rq1059drivers/block/ide.cblk_dev[ide_major[HWIF]].current_request = rq->next;
rq1060drivers/block/ide.cide_cur_rq[HWIF] = rq;
rq1063drivers/block/ide.cprintk("%s: do_request: current=0x%08lx\n",ide_name[HWIF],(unsigned long)rq);
rq1065drivers/block/ide.cminor = MINOR(rq->dev);
rq1068drivers/block/ide.cif ((MAJOR(rq->dev) != ide_major[HWIF]) || (drive >= MAX_DRIVES)) {
rq1069drivers/block/ide.cprintk("%s: bad device number: 0x%04x\n", ide_name[HWIF], rq->dev);
rq1073drivers/block/ide.cif (rq->bh && !rq->bh->b_lock) {
rq1078drivers/block/ide.cblock    = rq->sector;
rq1079drivers/block/ide.cblockend = block + rq->nr_sectors;
rq1082drivers/block/ide.cdev->name, block, rq->nr_sectors);
rq1101drivers/block/ide.cif (do_rw_disk(dev, rq, block))
rq1356drivers/block/ide.cstruct request rq, *cur_rq;
rq1361drivers/block/ide.crq.buffer = args;
rq1362drivers/block/ide.crq.cmd = IDE_DRIVE_CMD;
rq1363drivers/block/ide.crq.errors = 0;
rq1364drivers/block/ide.crq.sector = 0;
rq1365drivers/block/ide.crq.nr_sectors = 0;
rq1366drivers/block/ide.crq.current_nr_sectors = 0;
rq1367drivers/block/ide.crq.sem = &sem;
rq1368drivers/block/ide.crq.bh = NULL;
rq1369drivers/block/ide.crq.bhtail = NULL;
rq1370drivers/block/ide.crq.next = NULL;
rq1371drivers/block/ide.crq.dev = dev;
rq1378drivers/block/ide.cbdev->current_request = &rq;  /* service ours immediately */
rq1383drivers/block/ide.ccur_rq->next = &rq;    /* add rq to the end */
rq1388drivers/block/ide.creturn rq.errors ? -EIO : 0;    /* return -EIO if errors */
rq328drivers/net/de4x5.cstatic int  de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd);
rq1792drivers/net/de4x5.cstatic int de4x5_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq1795drivers/net/de4x5.cstruct de4x5_ioctl *ioc = (struct de4x5_ioctl *) &rq->ifr_data;
rq297drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd);
rq1609drivers/net/ewrk3.cstatic int ewrk3_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq1612drivers/net/ewrk3.cstruct ewrk3_ioctl *ioc = (struct ewrk3_ioctl *) &rq->ifr_data;
rq1013drivers/net/plip.cplip_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq1016drivers/net/plip.cstruct plipconf *pc = (struct plipconf *) &rq->ifr_data;