taglinefilesource code
req340drivers/block/blk.hstruct request *req = ide_cur_rq[HWIF];
req343drivers/block/blk.hstruct request *req = CURRENT;
req347drivers/block/blk.hreq->errors = 0;
req350drivers/block/blk.h(unsigned long)req->dev, req->sector);
req351drivers/block/blk.hreq->nr_sectors--;
req352drivers/block/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req353drivers/block/blk.hreq->sector += (BLOCK_SIZE / 512);
req354drivers/block/blk.hreq->sector &= ~SECTOR_MASK;    
req357drivers/block/blk.hif ((bh = req->bh) != NULL) {
req358drivers/block/blk.hreq->bh = bh->b_reqnext;
req363drivers/block/blk.hif ((bh = req->bh) != NULL) {
req364drivers/block/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req365drivers/block/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req366drivers/block/blk.hreq->nr_sectors = req->current_nr_sectors;
req369drivers/block/blk.hreq->buffer = bh->b_data;
req376drivers/block/blk.hDEVICE_OFF(req->dev);
req377drivers/block/blk.hCURRENT = req->next;
req379drivers/block/blk.hif (req->sem != NULL)
req380drivers/block/blk.hup(req->sem);
req381drivers/block/blk.hreq->dev = -1;
req1292drivers/block/ide-cd.cstruct request req, **p, **pfirst;
req1297drivers/block/ide-cd.creq.dev = MKDEV (major, (dev->select.b.drive) << PARTN_BITS);
req1298drivers/block/ide-cd.creq.cmd = PACKET_COMMAND;
req1299drivers/block/ide-cd.creq.errors = 0;
req1300drivers/block/ide-cd.creq.sector = 0;
req1301drivers/block/ide-cd.creq.nr_sectors = 0;
req1302drivers/block/ide-cd.creq.current_nr_sectors = 0;
req1303drivers/block/ide-cd.creq.buffer = (char *)pc;
req1304drivers/block/ide-cd.creq.sem = &sem;
req1305drivers/block/ide-cd.creq.bh = NULL;
req1306drivers/block/ide-cd.creq.bhtail = NULL;
req1307drivers/block/ide-cd.creq.next = NULL;
req1318drivers/block/ide-cd.c*p = &req;
req126drivers/block/ll_rw_blk.cstruct request * req;
req131drivers/block/ll_rw_blk.creq = dev->current_request;
req132drivers/block/ll_rw_blk.cif (req && req->dev == -1 && req->cmd == -1) {
req133drivers/block/ll_rw_blk.cdev->current_request = req->next;
req147drivers/block/ll_rw_blk.cregister struct request *req, *limit;
req157drivers/block/ll_rw_blk.creq = prev_found;
req159drivers/block/ll_rw_blk.creq = ((req > all_requests) ? req : limit) - 1;
req160drivers/block/ll_rw_blk.cif (req->dev < 0)
req162drivers/block/ll_rw_blk.cif (req == prev_found)
req165drivers/block/ll_rw_blk.cprev_found = req;
req166drivers/block/ll_rw_blk.creq->dev = dev;
req167drivers/block/ll_rw_blk.creturn req;
req175drivers/block/ll_rw_blk.cregister struct request *req;
req183drivers/block/ll_rw_blk.creq = get_request(n, dev);
req185drivers/block/ll_rw_blk.cif (req)
req191drivers/block/ll_rw_blk.creturn req;
req196drivers/block/ll_rw_blk.cregister struct request *req;
req199drivers/block/ll_rw_blk.creq = get_request(n, dev);
req201drivers/block/ll_rw_blk.cif (req)
req202drivers/block/ll_rw_blk.creturn req;
req236drivers/block/ll_rw_blk.cstatic void add_request(struct blk_dev_struct * dev, struct request * req)
req241drivers/block/ll_rw_blk.cswitch (MAJOR(req->dev)) {
req242drivers/block/ll_rw_blk.ccase SCSI_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0070) >> 4;
req247drivers/block/ll_rw_blk.ccase XT_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0040) >> 6;
req250drivers/block/ll_rw_blk.ccase IDE1_MAJOR:  disk_index = ((MINOR(req->dev) & 0x0040) >> 6) + 2;
req255drivers/block/ll_rw_blk.creq->next = NULL;
req257drivers/block/ll_rw_blk.cif (req->bh)
req258drivers/block/ll_rw_blk.cmark_buffer_clean(req->bh);
req260drivers/block/ll_rw_blk.cdev->current_request = req;
req266drivers/block/ll_rw_blk.cif ((IN_ORDER(tmp,req) ||
req268drivers/block/ll_rw_blk.cIN_ORDER(req,tmp->next))
req271drivers/block/ll_rw_blk.creq->next = tmp->next;
req272drivers/block/ll_rw_blk.ctmp->next = req;
req275drivers/block/ll_rw_blk.cif (scsi_major(MAJOR(req->dev)))
req284drivers/block/ll_rw_blk.cstruct request * req;
req338drivers/block/ll_rw_blk.c&& (req = blk_dev[major].current_request))
req345drivers/block/ll_rw_blk.creq = req->next;
req346drivers/block/ll_rw_blk.cwhile (req) {
req347drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req348drivers/block/ll_rw_blk.c!req->sem &&
req349drivers/block/ll_rw_blk.creq->cmd == rw &&
req350drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
req351drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req353drivers/block/ll_rw_blk.creq->bhtail->b_reqnext = bh;
req354drivers/block/ll_rw_blk.creq->bhtail = bh;
req355drivers/block/ll_rw_blk.creq->nr_sectors += count;
req361drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req362drivers/block/ll_rw_blk.c!req->sem &&
req363drivers/block/ll_rw_blk.creq->cmd == rw &&
req364drivers/block/ll_rw_blk.creq->sector - count == sector &&
req365drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req367drivers/block/ll_rw_blk.creq->nr_sectors += count;
req368drivers/block/ll_rw_blk.cbh->b_reqnext = req->bh;
req369drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req370drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req371drivers/block/ll_rw_blk.creq->sector = sector;
req373drivers/block/ll_rw_blk.creq->bh = bh;
req378drivers/block/ll_rw_blk.creq = req->next;
req383drivers/block/ll_rw_blk.creq = get_request(max_req, bh->b_dev);
req387drivers/block/ll_rw_blk.cif (!req) {
req392drivers/block/ll_rw_blk.creq = __get_request_wait(max_req, bh->b_dev);
req396drivers/block/ll_rw_blk.creq->cmd = rw;
req397drivers/block/ll_rw_blk.creq->errors = 0;
req398drivers/block/ll_rw_blk.creq->sector = sector;
req399drivers/block/ll_rw_blk.creq->nr_sectors = count;
req400drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req401drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req402drivers/block/ll_rw_blk.creq->sem = NULL;
req403drivers/block/ll_rw_blk.creq->bh = bh;
req404drivers/block/ll_rw_blk.creq->bhtail = bh;
req405drivers/block/ll_rw_blk.creq->next = NULL;
req406drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req411drivers/block/ll_rw_blk.cstruct request * req;
req426drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req428drivers/block/ll_rw_blk.creq->cmd = rw;
req429drivers/block/ll_rw_blk.creq->errors = 0;
req430drivers/block/ll_rw_blk.creq->sector = sector;
req431drivers/block/ll_rw_blk.creq->nr_sectors = PAGE_SIZE / 512;
req432drivers/block/ll_rw_blk.creq->current_nr_sectors = PAGE_SIZE / 512;
req433drivers/block/ll_rw_blk.creq->buffer = buffer;
req434drivers/block/ll_rw_blk.creq->sem = &sem;
req435drivers/block/ll_rw_blk.creq->bh = NULL;
req436drivers/block/ll_rw_blk.creq->next = NULL;
req437drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req525drivers/block/ll_rw_blk.cstruct request * req[8];
req550drivers/block/ll_rw_blk.creq[j] = get_request_wait(NR_REQUEST, dev);
req553drivers/block/ll_rw_blk.creq[j] = get_request(NR_REQUEST, dev);
req555drivers/block/ll_rw_blk.cif (req[j] == NULL)
req558drivers/block/ll_rw_blk.creq[j]->cmd = rw;
req559drivers/block/ll_rw_blk.creq[j]->errors = 0;
req560drivers/block/ll_rw_blk.creq[j]->sector = (b[i] * buffersize) >> 9;
req561drivers/block/ll_rw_blk.creq[j]->nr_sectors = buffersize >> 9;
req562drivers/block/ll_rw_blk.creq[j]->current_nr_sectors = buffersize >> 9;
req563drivers/block/ll_rw_blk.creq[j]->buffer = buf;
req564drivers/block/ll_rw_blk.creq[j]->sem = &sem;
req565drivers/block/ll_rw_blk.creq[j]->bh = NULL;
req566drivers/block/ll_rw_blk.creq[j]->next = NULL;
req567drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req[j]);
req578drivers/block/ll_rw_blk.cstruct request * req;
req580drivers/block/ll_rw_blk.creq = all_requests + NR_REQUEST;
req581drivers/block/ll_rw_blk.cwhile (--req >= all_requests) {
req582drivers/block/ll_rw_blk.creq->dev = -1;
req583drivers/block/ll_rw_blk.creq->next = NULL;
req2706drivers/char/serial.cint register_serial(struct serial_struct *req)
req2715drivers/char/serial.cif (rs_table[i].port == req->port)
req2732drivers/char/serial.c"device already open\n", i, req->port, req->irq);
req2735drivers/char/serial.cinfo->irq = req->irq;
req2736drivers/char/serial.cinfo->port = req->port;
req830drivers/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, Scsi_Device * device)
req840drivers/scsi/scsi.cif (req && req->dev <= 0)
req888drivers/scsi/scsi.cif (req) {
req889drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req891drivers/scsi/scsi.cbhp = bh = req->bh;
req897drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req900drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req901drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req905drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req907drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req909drivers/scsi/scsi.cbh = req->bh;
req912drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req913drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req914drivers/scsi/scsi.creq->buffer = bh->b_data;
req917drivers/scsi/scsi.creq->dev = -1;
req956drivers/scsi/scsi.cstruct request * req = NULL;
req968drivers/scsi/scsi.cif (reqp) req = *reqp;
req971drivers/scsi/scsi.cif (req && (dev = req->dev) <= 0) return NULL;
req1018drivers/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) {
req1034drivers/scsi/scsi.cif (req) {
req1035drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req1037drivers/scsi/scsi.cbhp = bh = req->bh;
req1043drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req1046drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req1047drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req1051drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){/* Any leftovers? */
req1053drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req1055drivers/scsi/scsi.cbh = req->bh;
req1057drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req1058drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req1059drivers/scsi/scsi.creq->buffer = bh->b_data;
req1064drivers/scsi/scsi.creq->dev = -1;
req1065drivers/scsi/scsi.c*reqp = req->next;
req3014drivers/scsi/scsi.cstruct request * req;
req3016drivers/scsi/scsi.creq = blk_dev[i].current_request;
req3017drivers/scsi/scsi.cwhile(req) {
req3019drivers/scsi/scsi.creq->dev,
req3020drivers/scsi/scsi.creq->cmd,
req3021drivers/scsi/scsi.creq->sector,
req3022drivers/scsi/scsi.creq->nr_sectors,
req3023drivers/scsi/scsi.creq->current_nr_sectors);
req3024drivers/scsi/scsi.creq = req->next;
req567drivers/scsi/scsi.hstruct request * req;
req570drivers/scsi/scsi.hreq = &SCpnt->request;
req571drivers/scsi/scsi.hreq->errors = 0;
req574drivers/scsi/scsi.hreq->dev,req->sector);
req578drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req579drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
req580drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req581drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
req586drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req587drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req588drivers/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req589drivers/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req595drivers/scsi/scsi.hif (req->bh){
req596drivers/scsi/scsi.hreq->buffer = bh->b_data;
req599drivers/scsi/scsi.hDEVICE_OFF(req->dev);
req600drivers/scsi/scsi.hif (req->sem != NULL) {
req601drivers/scsi/scsi.hup(req->sem);
req612drivers/scsi/scsi.hreq->dev = -1;
req100drivers/scsi/scsi_ioctl.cstruct request * req;
req102drivers/scsi/scsi_ioctl.creq = &SCpnt->request;
req103drivers/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req105drivers/scsi/scsi_ioctl.cif (req->sem != NULL) {
req106drivers/scsi/scsi_ioctl.cup(req->sem);
req386drivers/scsi/sd.cstruct request * req = NULL;
req438drivers/scsi/sd.creq = CURRENT;
req439drivers/scsi/sd.cwhile(req){
req440drivers/scsi/sd.cSCpnt = request_queueable(req, rscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
req442drivers/scsi/sd.creq1 = req;
req443drivers/scsi/sd.creq = req->next;
req445drivers/scsi/sd.cif (SCpnt && req->dev == -1) {
req446drivers/scsi/sd.cif (req == CURRENT) 
req449drivers/scsi/sd.creq1->next = req->next;
req887drivers/scsi/sd.cstruct request * req;
req889drivers/scsi/sd.creq = &SCpnt->request;
req890drivers/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req892drivers/scsi/sd.cif (req->sem != NULL) {
req893drivers/scsi/sd.cup(req->sem);
req553drivers/scsi/sr.cstruct request * req = NULL;
req585drivers/scsi/sr.creq = CURRENT;
req586drivers/scsi/sr.cwhile(req){
req587drivers/scsi/sr.cSCpnt = request_queueable(req,
req588drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
req590drivers/scsi/sr.creq1 = req;
req591drivers/scsi/sr.creq = req->next;
req593drivers/scsi/sr.cif (SCpnt && req->dev == -1) {
req594drivers/scsi/sr.cif (req == CURRENT) 
req597drivers/scsi/sr.creq1->next = req->next;
req939drivers/scsi/sr.cstruct request * req;
req941drivers/scsi/sr.creq = &SCpnt->request;
req942drivers/scsi/sr.creq->dev = 0xfffe; /* Busy, but indicate request done */
req944drivers/scsi/sr.cif (req->sem != NULL) {
req945drivers/scsi/sr.cup(req->sem);
req29drivers/scsi/sr_ioctl.cstruct request * req;
req31drivers/scsi/sr_ioctl.creq = &SCpnt->request;
req32drivers/scsi/sr_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req34drivers/scsi/sr_ioctl.cif (req->sem != NULL) {
req35drivers/scsi/sr_ioctl.cup(req->sem);
req181include/linux/serial.hextern int register_serial(struct serial_struct *req);
req1206net/ipv4/arp.cstatic int arp_req_set(struct arpreq *req)
req1215net/ipv4/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1343net/ipv4/arp.cstatic int arp_req_get(struct arpreq *req)
req1353net/ipv4/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1385net/ipv4/arp.cmemcpy_tofs(req, &r, sizeof(r));
req287net/ipv4/rarp.cstatic int rarp_req_set(struct arpreq *req)
req296net/ipv4/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req385net/ipv4/rarp.cstatic int rarp_req_get(struct arpreq *req)
req396net/ipv4/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req431net/ipv4/rarp.cmemcpy_tofs(req, &r, sizeof(r));