taglinefilesource code
rq155drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq159drivers/block/ide-cd.cif (!uptodate && rq->bh != 0)
rq161drivers/block/ide-cd.cint adj = rq->current_nr_sectors - 1;
rq162drivers/block/ide-cd.crq->current_nr_sectors -= adj;
rq163drivers/block/ide-cd.crq->sector += adj;
rq184drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq204drivers/block/ide-cd.cif (rq->cmd == READ)
rq218drivers/block/ide-cd.cpc = (struct packet_command *)rq->buffer;
rq236drivers/block/ide-cd.cif ((++rq->errors > ERROR_MAX))
rq243drivers/block/ide-cd.celse if (rq->cmd == PACKET_COMMAND)
rq245drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq258drivers/block/ide-cd.celse if ((++rq->errors > ERROR_MAX))
rq425drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq439drivers/block/ide-cd.cif (rq->current_nr_sectors > 0)
rq442drivers/block/ide-cd.cdev->name, rq->current_nr_sectors);
rq471drivers/block/ide-cd.cnskip = MIN ((int)(rq->current_nr_sectors - (rq->bh->b_size >> SECTOR_BITS)),
rq480drivers/block/ide-cd.c--rq->current_nr_sectors;
rq492drivers/block/ide-cd.cif (rq->current_nr_sectors == 0 &&
rq493drivers/block/ide-cd.crq->nr_sectors > 0)
rq498drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq500drivers/block/ide-cd.ccdrom_buffer_sectors (dev, rq->sector, sectors_to_transfer);
rq509drivers/block/ide-cd.crq->current_nr_sectors);
rq514drivers/block/ide-cd.cIN_WORDS (rq->buffer, SECTOR_SIZE / 2);
rq515drivers/block/ide-cd.crq->buffer += SECTOR_SIZE;
rq516drivers/block/ide-cd.c--rq->nr_sectors;
rq517drivers/block/ide-cd.c--rq->current_nr_sectors;
rq518drivers/block/ide-cd.c++rq->sector;
rq538drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq545drivers/block/ide-cd.cwhile (rq->nr_sectors > 0 &&
rq546drivers/block/ide-cd.crq->sector >= info->sector_buffered &&
rq547drivers/block/ide-cd.crq->sector < info->sector_buffered + info->nsectors_buffered)
rq549drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq552drivers/block/ide-cd.cmemcpy (rq->buffer,
rq554drivers/block/ide-cd.c(rq->sector - info->sector_buffered) * SECTOR_SIZE,
rq556drivers/block/ide-cd.crq->buffer += SECTOR_SIZE;
rq557drivers/block/ide-cd.c--rq->current_nr_sectors;
rq558drivers/block/ide-cd.c--rq->nr_sectors;
rq559drivers/block/ide-cd.c++rq->sector;
rq563drivers/block/ide-cd.cif (rq->nr_sectors == 0)
rq570drivers/block/ide-cd.cif (rq->current_nr_sectors == 0)
rq577drivers/block/ide-cd.cif (rq->current_nr_sectors < (rq->bh->b_size >> SECTOR_BITS) &&
rq578drivers/block/ide-cd.c(rq->sector % SECTORS_PER_FRAME) != 0)
rq581drivers/block/ide-cd.cdev->name, rq->sector);
rq600drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq605drivers/block/ide-cd.cnsect = rq->nr_sectors;
rq608drivers/block/ide-cd.csector = rq->sector;
rq620drivers/block/ide-cd.cif (rq->current_nr_sectors != (rq->bh->b_size >> SECTOR_BITS))
rq623drivers/block/ide-cd.cdev->name, rq->current_nr_sectors);
rq631drivers/block/ide-cd.crq->current_nr_sectors += nskip;
rq679drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq683drivers/block/ide-cd.cif (rq->buffer != rq->bh->b_data)
rq685drivers/block/ide-cd.cint n = (rq->buffer - rq->bh->b_data) / SECTOR_SIZE;
rq686drivers/block/ide-cd.crq->buffer = rq->bh->b_data;
rq687drivers/block/ide-cd.crq->nr_sectors += n;
rq688drivers/block/ide-cd.crq->current_nr_sectors += n;
rq689drivers/block/ide-cd.crq->sector -= n;
rq692drivers/block/ide-cd.cif (rq->current_nr_sectors > (rq->bh->b_size >> SECTOR_BITS))
rq693drivers/block/ide-cd.crq->current_nr_sectors = rq->bh->b_size;
rq723drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq724drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq827drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq828drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq843drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq844drivers/block/ide-cd.cstruct packet_command *pc = (struct packet_command *)rq->buffer;
rq917drivers/block/ide-cd.cstruct request *rq = ide_cur_rq[dev->hwif];
rq919drivers/block/ide-cd.cif (rq -> cmd == PACKET_COMMAND)
rq922drivers/block/ide-cd.cif (rq -> cmd != READ)
rq924drivers/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;
rq1024drivers/net/plip.cplip_ioctl(struct device *dev, struct ifreq *rq, int cmd)
rq1027drivers/net/plip.cstruct plipconf *pc = (struct plipconf *) &rq->ifr_data;