taglinefilesource code
req225drivers/block/blk.hstruct request * req;
req228drivers/block/blk.hreq = CURRENT;
req229drivers/block/blk.hreq->errors = 0;
req233drivers/block/blk.h(unsigned long)req->dev, req->sector);
req234drivers/block/blk.hreq->nr_sectors--;
req235drivers/block/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req236drivers/block/blk.hreq->sector += (BLOCK_SIZE / 512);
req237drivers/block/blk.hreq->sector &= ~SECTOR_MASK;    
req240drivers/block/blk.hif ((bh = req->bh) != NULL) {
req241drivers/block/blk.hreq->bh = bh->b_reqnext;
req246drivers/block/blk.hif ((bh = req->bh) != NULL) {
req247drivers/block/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req248drivers/block/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req249drivers/block/blk.hreq->nr_sectors = req->current_nr_sectors;
req252drivers/block/blk.hreq->buffer = bh->b_data;
req256drivers/block/blk.hDEVICE_OFF(req->dev);
req257drivers/block/blk.hCURRENT = req->next;
req258drivers/block/blk.hif (req->sem != NULL)
req259drivers/block/blk.hup(req->sem);
req260drivers/block/blk.hreq->dev = -1;
req81drivers/block/ll_rw_blk.cregister struct request *req, *limit;
req91drivers/block/ll_rw_blk.creq = prev_found;
req93drivers/block/ll_rw_blk.creq = ((req > all_requests) ? req : limit) - 1;
req94drivers/block/ll_rw_blk.cif (req->dev < 0)
req96drivers/block/ll_rw_blk.cif (req == prev_found)
req99drivers/block/ll_rw_blk.cprev_found = req;
req100drivers/block/ll_rw_blk.creq->dev = dev;
req101drivers/block/ll_rw_blk.creturn req;
req111drivers/block/ll_rw_blk.cregister struct request *req;
req113drivers/block/ll_rw_blk.cwhile ((req = get_request(n, dev)) == NULL)
req115drivers/block/ll_rw_blk.creturn req;
req149drivers/block/ll_rw_blk.cstatic void add_request(struct blk_dev_struct * dev, struct request * req)
req153drivers/block/ll_rw_blk.creq->next = NULL;
req155drivers/block/ll_rw_blk.cif (req->bh)
req156drivers/block/ll_rw_blk.cmark_buffer_clean(req->bh);
req158drivers/block/ll_rw_blk.cdev->current_request = req;
req164drivers/block/ll_rw_blk.cif ((IN_ORDER(tmp,req) ||
req166drivers/block/ll_rw_blk.cIN_ORDER(req,tmp->next))
req169drivers/block/ll_rw_blk.creq->next = tmp->next;
req170drivers/block/ll_rw_blk.ctmp->next = req;
req173drivers/block/ll_rw_blk.cif (scsi_major(MAJOR(req->dev)))
req182drivers/block/ll_rw_blk.cstruct request * req;
req233drivers/block/ll_rw_blk.c&& (req = blk_dev[major].current_request))
req236drivers/block/ll_rw_blk.creq = req->next;
req237drivers/block/ll_rw_blk.cwhile (req) {
req238drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req239drivers/block/ll_rw_blk.c!req->sem &&
req240drivers/block/ll_rw_blk.creq->cmd == rw &&
req241drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
req242drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req244drivers/block/ll_rw_blk.creq->bhtail->b_reqnext = bh;
req245drivers/block/ll_rw_blk.creq->bhtail = bh;
req246drivers/block/ll_rw_blk.creq->nr_sectors += count;
req252drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req253drivers/block/ll_rw_blk.c!req->sem &&
req254drivers/block/ll_rw_blk.creq->cmd == rw &&
req255drivers/block/ll_rw_blk.creq->sector - count == sector &&
req256drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req258drivers/block/ll_rw_blk.creq->nr_sectors += count;
req259drivers/block/ll_rw_blk.cbh->b_reqnext = req->bh;
req260drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req261drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req262drivers/block/ll_rw_blk.creq->sector = sector;
req264drivers/block/ll_rw_blk.creq->bh = bh;
req269drivers/block/ll_rw_blk.creq = req->next;
req274drivers/block/ll_rw_blk.creq = get_request(max_req, bh->b_dev);
req277drivers/block/ll_rw_blk.cif (! req) {
req292drivers/block/ll_rw_blk.creq->cmd = rw;
req293drivers/block/ll_rw_blk.creq->errors = 0;
req294drivers/block/ll_rw_blk.creq->sector = sector;
req295drivers/block/ll_rw_blk.creq->nr_sectors = count;
req296drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req297drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req298drivers/block/ll_rw_blk.creq->sem = NULL;
req299drivers/block/ll_rw_blk.creq->bh = bh;
req300drivers/block/ll_rw_blk.creq->bhtail = bh;
req301drivers/block/ll_rw_blk.creq->next = NULL;
req302drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req307drivers/block/ll_rw_blk.cstruct request * req;
req322drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req325drivers/block/ll_rw_blk.creq->cmd = rw;
req326drivers/block/ll_rw_blk.creq->errors = 0;
req327drivers/block/ll_rw_blk.creq->sector = page<<3;
req328drivers/block/ll_rw_blk.creq->nr_sectors = 8;
req329drivers/block/ll_rw_blk.creq->current_nr_sectors = 8;
req330drivers/block/ll_rw_blk.creq->buffer = buffer;
req331drivers/block/ll_rw_blk.creq->sem = &sem;
req332drivers/block/ll_rw_blk.creq->bh = NULL;
req333drivers/block/ll_rw_blk.creq->next = NULL;
req334drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req435drivers/block/ll_rw_blk.cstruct request * req;
req458drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req460drivers/block/ll_rw_blk.creq->cmd = rw;
req461drivers/block/ll_rw_blk.creq->errors = 0;
req462drivers/block/ll_rw_blk.creq->sector = (b[i] * buffersize) >> 9;
req463drivers/block/ll_rw_blk.creq->nr_sectors = buffersize >> 9;
req464drivers/block/ll_rw_blk.creq->current_nr_sectors = buffersize >> 9;
req465drivers/block/ll_rw_blk.creq->buffer = buf;
req466drivers/block/ll_rw_blk.creq->sem = &sem;
req467drivers/block/ll_rw_blk.creq->bh = NULL;
req468drivers/block/ll_rw_blk.creq->next = NULL;
req469drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req476drivers/block/ll_rw_blk.cstruct request * req;
req478drivers/block/ll_rw_blk.creq = all_requests + NR_REQUEST;
req479drivers/block/ll_rw_blk.cwhile (--req >= all_requests) {
req480drivers/block/ll_rw_blk.creq->dev = -1;
req481drivers/block/ll_rw_blk.creq->next = NULL;
req2379drivers/char/serial.cint register_serial(struct serial_struct *req)
req2388drivers/char/serial.cif (rs_table[i].port == req->port)
req2405drivers/char/serial.c"device already open\n", i, req->port, req->irq);
req2408drivers/char/serial.cinfo->irq = req->irq;
req2409drivers/char/serial.cinfo->port = req->port;
req560drivers/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, Scsi_Device * device)
req569drivers/scsi/scsi.cif (req && req->dev <= 0)
req585drivers/scsi/scsi.cif (req) {
req586drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req588drivers/scsi/scsi.cbhp = bh = req->bh;
req592drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req595drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req596drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req600drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req602drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req604drivers/scsi/scsi.cbh = req->bh;
req607drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req608drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req609drivers/scsi/scsi.creq->buffer = bh->b_data;
req612drivers/scsi/scsi.creq->dev = -1;
req640drivers/scsi/scsi.cstruct request * req = NULL;
req650drivers/scsi/scsi.cif (reqp) req = *reqp;
req653drivers/scsi/scsi.cif (req && (dev = req->dev) <= 0) return NULL;
req669drivers/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) {
req685drivers/scsi/scsi.cif (req) {
req686drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req688drivers/scsi/scsi.cbhp = bh = req->bh;
req692drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req695drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req696drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req700drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req702drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req704drivers/scsi/scsi.cbh = req->bh;
req706drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req707drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req708drivers/scsi/scsi.creq->buffer = bh->b_data;
req713drivers/scsi/scsi.creq->dev = -1;
req714drivers/scsi/scsi.c*reqp = req->next;
req1920drivers/scsi/scsi.cstruct request * req;
req1922drivers/scsi/scsi.creq = blk_dev[i].current_request;
req1923drivers/scsi/scsi.cwhile(req) {
req1925drivers/scsi/scsi.creq->dev,
req1926drivers/scsi/scsi.creq->cmd,
req1927drivers/scsi/scsi.creq->sector,
req1928drivers/scsi/scsi.creq->nr_sectors,
req1929drivers/scsi/scsi.creq->current_nr_sectors);
req1930drivers/scsi/scsi.creq = req->next;
req520drivers/scsi/scsi.hstruct request * req;
req523drivers/scsi/scsi.hreq = &SCpnt->request;
req524drivers/scsi/scsi.hreq->errors = 0;
req527drivers/scsi/scsi.hreq->dev,req->sector);
req531drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req532drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
req533drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req534drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
req539drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req540drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req541drivers/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req542drivers/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req548drivers/scsi/scsi.hif (req->bh){
req549drivers/scsi/scsi.hreq->buffer = bh->b_data;
req552drivers/scsi/scsi.hDEVICE_OFF(req->dev);
req553drivers/scsi/scsi.hif (req->sem != NULL) {
req554drivers/scsi/scsi.hup(req->sem);
req556drivers/scsi/scsi.hreq->dev = -1;
req75drivers/scsi/scsi_ioctl.cstruct request * req;
req77drivers/scsi/scsi_ioctl.creq = &SCpnt->request;
req78drivers/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req80drivers/scsi/scsi_ioctl.cif (req->sem != NULL) {
req81drivers/scsi/scsi_ioctl.cup(req->sem);
req334drivers/scsi/sd.cstruct request * req = NULL;
req374drivers/scsi/sd.creq = CURRENT;
req375drivers/scsi/sd.cwhile(req){
req376drivers/scsi/sd.cSCpnt = request_queueable(req,
req377drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
req379drivers/scsi/sd.creq1 = req;
req380drivers/scsi/sd.creq = req->next;
req382drivers/scsi/sd.cif (SCpnt && req->dev == -1) {
req383drivers/scsi/sd.cif (req == CURRENT) 
req386drivers/scsi/sd.creq1->next = req->next;
req789drivers/scsi/sd.cstruct request * req;
req791drivers/scsi/sd.creq = &SCpnt->request;
req792drivers/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req794drivers/scsi/sd.cif (req->sem != NULL) {
req795drivers/scsi/sd.cup(req->sem);
req307drivers/scsi/sr.cstruct request * req = NULL;
req336drivers/scsi/sr.creq = CURRENT;
req337drivers/scsi/sr.cwhile(req){
req338drivers/scsi/sr.cSCpnt = request_queueable(req,
req339drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
req341drivers/scsi/sr.creq1 = req;
req342drivers/scsi/sr.creq = req->next;
req344drivers/scsi/sr.cif (SCpnt && req->dev == -1) {
req345drivers/scsi/sr.cif (req == CURRENT) 
req348drivers/scsi/sr.creq1->next = req->next;
req690drivers/scsi/sr.cstruct request * req;
req692drivers/scsi/sr.creq = &SCpnt->request;
req693drivers/scsi/sr.creq->dev = 0xfffe; /* Busy, but indicate request done */
req695drivers/scsi/sr.cif (req->sem != NULL) {
req696drivers/scsi/sr.cup(req->sem);
req23drivers/scsi/sr_ioctl.cstruct request * req;
req25drivers/scsi/sr_ioctl.creq = &SCpnt->request;
req26drivers/scsi/sr_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req28drivers/scsi/sr_ioctl.cif (req->sem != NULL) {
req29drivers/scsi/sr_ioctl.cup(req->sem);
req136include/linux/serial.hextern int register_serial(struct serial_struct *req);
req957net/inet/arp.cstatic int arp_req_set(struct arpreq *req)
req966net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1067net/inet/arp.cstatic int arp_req_get(struct arpreq *req)
req1077net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1108net/inet/arp.cmemcpy_tofs(req, &r, sizeof(r));
req232net/inet/rarp.cstatic int rarp_req_set(struct arpreq *req)
req241net/inet/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req330net/inet/rarp.cstatic int rarp_req_get(struct arpreq *req)
req341net/inet/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req376net/inet/rarp.cmemcpy_tofs(req, &r, sizeof(r));