taglinefilesource code
req285drivers/block/blk.hstruct request *req = ide_cur_rq[HWIF];
req288drivers/block/blk.hstruct request *req = CURRENT;
req292drivers/block/blk.hreq->errors = 0;
req295drivers/block/blk.h(unsigned long)req->dev, req->sector);
req296drivers/block/blk.hreq->nr_sectors--;
req297drivers/block/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req298drivers/block/blk.hreq->sector += (BLOCK_SIZE / 512);
req299drivers/block/blk.hreq->sector &= ~SECTOR_MASK;    
req302drivers/block/blk.hif ((bh = req->bh) != NULL) {
req303drivers/block/blk.hreq->bh = bh->b_reqnext;
req308drivers/block/blk.hif ((bh = req->bh) != NULL) {
req309drivers/block/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req310drivers/block/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req311drivers/block/blk.hreq->nr_sectors = req->current_nr_sectors;
req314drivers/block/blk.hreq->buffer = bh->b_data;
req321drivers/block/blk.hDEVICE_OFF(req->dev);
req322drivers/block/blk.hCURRENT = req->next;
req324drivers/block/blk.hif (req->sem != NULL)
req325drivers/block/blk.hup(req->sem);
req326drivers/block/blk.hreq->dev = -1;
req870drivers/block/ide-cd.cstruct request req, **p, **pfirst;
req874drivers/block/ide-cd.creq.dev = MKDEV (major, (dev->select.b.drive) << PARTN_BITS);
req875drivers/block/ide-cd.creq.cmd = PACKET_COMMAND;
req876drivers/block/ide-cd.creq.errors = 0;
req877drivers/block/ide-cd.creq.sector = 0;
req878drivers/block/ide-cd.creq.nr_sectors = 0;
req879drivers/block/ide-cd.creq.current_nr_sectors = 0;
req880drivers/block/ide-cd.creq.buffer = (char *)pc;
req881drivers/block/ide-cd.creq.sem = &sem;
req882drivers/block/ide-cd.creq.bh = NULL;
req883drivers/block/ide-cd.creq.bhtail = NULL;
req884drivers/block/ide-cd.creq.next = NULL;
req895drivers/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;
req425drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req427drivers/block/ll_rw_blk.creq->cmd = rw;
req428drivers/block/ll_rw_blk.creq->errors = 0;
req429drivers/block/ll_rw_blk.creq->sector = page<<3;
req430drivers/block/ll_rw_blk.creq->nr_sectors = 8;
req431drivers/block/ll_rw_blk.creq->current_nr_sectors = 8;
req432drivers/block/ll_rw_blk.creq->buffer = buffer;
req433drivers/block/ll_rw_blk.creq->sem = &sem;
req434drivers/block/ll_rw_blk.creq->bh = NULL;
req435drivers/block/ll_rw_blk.creq->next = NULL;
req436drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req524drivers/block/ll_rw_blk.cstruct request * req;
req546drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req547drivers/block/ll_rw_blk.creq->cmd = rw;
req548drivers/block/ll_rw_blk.creq->errors = 0;
req549drivers/block/ll_rw_blk.creq->sector = (b[i] * buffersize) >> 9;
req550drivers/block/ll_rw_blk.creq->nr_sectors = buffersize >> 9;
req551drivers/block/ll_rw_blk.creq->current_nr_sectors = buffersize >> 9;
req552drivers/block/ll_rw_blk.creq->buffer = buf;
req553drivers/block/ll_rw_blk.creq->sem = &sem;
req554drivers/block/ll_rw_blk.creq->bh = NULL;
req555drivers/block/ll_rw_blk.creq->next = NULL;
req556drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req563drivers/block/ll_rw_blk.cstruct request * req;
req565drivers/block/ll_rw_blk.creq = all_requests + NR_REQUEST;
req566drivers/block/ll_rw_blk.cwhile (--req >= all_requests) {
req567drivers/block/ll_rw_blk.creq->dev = -1;
req568drivers/block/ll_rw_blk.creq->next = NULL;
req2681drivers/char/serial.cint register_serial(struct serial_struct *req)
req2690drivers/char/serial.cif (rs_table[i].port == req->port)
req2707drivers/char/serial.c"device already open\n", i, req->port, req->irq);
req2710drivers/char/serial.cinfo->irq = req->irq;
req2711drivers/char/serial.cinfo->port = req->port;
req688drivers/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, Scsi_Device * device)
req697drivers/scsi/scsi.cif (req && req->dev <= 0)
req712drivers/scsi/scsi.cif (req) {
req713drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req715drivers/scsi/scsi.cbhp = bh = req->bh;
req719drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req722drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req723drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req727drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req729drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req731drivers/scsi/scsi.cbh = req->bh;
req734drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req735drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req736drivers/scsi/scsi.creq->buffer = bh->b_data;
req739drivers/scsi/scsi.creq->dev = -1;
req768drivers/scsi/scsi.cstruct request * req = NULL;
req779drivers/scsi/scsi.cif (reqp) req = *reqp;
req782drivers/scsi/scsi.cif (req && (dev = req->dev) <= 0) return NULL;
req801drivers/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) {
req817drivers/scsi/scsi.cif (req) {
req818drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req820drivers/scsi/scsi.cbhp = bh = req->bh;
req824drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req827drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req828drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req832drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req834drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req836drivers/scsi/scsi.cbh = req->bh;
req838drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req839drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req840drivers/scsi/scsi.creq->buffer = bh->b_data;
req845drivers/scsi/scsi.creq->dev = -1;
req846drivers/scsi/scsi.c*reqp = req->next;
req2530drivers/scsi/scsi.cstruct request * req;
req2532drivers/scsi/scsi.creq = blk_dev[i].current_request;
req2533drivers/scsi/scsi.cwhile(req) {
req2535drivers/scsi/scsi.creq->dev,
req2536drivers/scsi/scsi.creq->cmd,
req2537drivers/scsi/scsi.creq->sector,
req2538drivers/scsi/scsi.creq->nr_sectors,
req2539drivers/scsi/scsi.creq->current_nr_sectors);
req2540drivers/scsi/scsi.creq = req->next;
req547drivers/scsi/scsi.hstruct request * req;
req550drivers/scsi/scsi.hreq = &SCpnt->request;
req551drivers/scsi/scsi.hreq->errors = 0;
req554drivers/scsi/scsi.hreq->dev,req->sector);
req558drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req559drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
req560drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req561drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
req566drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req567drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req568drivers/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req569drivers/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req575drivers/scsi/scsi.hif (req->bh){
req576drivers/scsi/scsi.hreq->buffer = bh->b_data;
req579drivers/scsi/scsi.hDEVICE_OFF(req->dev);
req580drivers/scsi/scsi.hif (req->sem != NULL) {
req581drivers/scsi/scsi.hup(req->sem);
req592drivers/scsi/scsi.hreq->dev = -1;
req81drivers/scsi/scsi_ioctl.cstruct request * req;
req83drivers/scsi/scsi_ioctl.creq = &SCpnt->request;
req84drivers/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req86drivers/scsi/scsi_ioctl.cif (req->sem != NULL) {
req87drivers/scsi/scsi_ioctl.cup(req->sem);
req357drivers/scsi/sd.cstruct request * req = NULL;
req406drivers/scsi/sd.creq = CURRENT;
req407drivers/scsi/sd.cwhile(req){
req408drivers/scsi/sd.cSCpnt = request_queueable(req,
req409drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
req411drivers/scsi/sd.creq1 = req;
req412drivers/scsi/sd.creq = req->next;
req414drivers/scsi/sd.cif (SCpnt && req->dev == -1) {
req415drivers/scsi/sd.cif (req == CURRENT) 
req418drivers/scsi/sd.creq1->next = req->next;
req839drivers/scsi/sd.cstruct request * req;
req841drivers/scsi/sd.creq = &SCpnt->request;
req842drivers/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req844drivers/scsi/sd.cif (req->sem != NULL) {
req845drivers/scsi/sd.cup(req->sem);
req509drivers/scsi/sr.cstruct request * req = NULL;
req541drivers/scsi/sr.creq = CURRENT;
req542drivers/scsi/sr.cwhile(req){
req543drivers/scsi/sr.cSCpnt = request_queueable(req,
req544drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
req546drivers/scsi/sr.creq1 = req;
req547drivers/scsi/sr.creq = req->next;
req549drivers/scsi/sr.cif (SCpnt && req->dev == -1) {
req550drivers/scsi/sr.cif (req == CURRENT) 
req553drivers/scsi/sr.creq1->next = req->next;
req894drivers/scsi/sr.cstruct request * req;
req896drivers/scsi/sr.creq = &SCpnt->request;
req897drivers/scsi/sr.creq->dev = 0xfffe; /* Busy, but indicate request done */
req899drivers/scsi/sr.cif (req->sem != NULL) {
req900drivers/scsi/sr.cup(req->sem);
req25drivers/scsi/sr_ioctl.cstruct request * req;
req27drivers/scsi/sr_ioctl.creq = &SCpnt->request;
req28drivers/scsi/sr_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req30drivers/scsi/sr_ioctl.cif (req->sem != NULL) {
req31drivers/scsi/sr_ioctl.cup(req->sem);
req181include/linux/serial.hextern int register_serial(struct serial_struct *req);
req1048net/inet/arp.cstatic int arp_req_set(struct arpreq *req)
req1057net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1174net/inet/arp.cstatic int arp_req_get(struct arpreq *req)
req1184net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1216net/inet/arp.cmemcpy_tofs(req, &r, sizeof(r));
req233net/inet/rarp.cstatic int rarp_req_set(struct arpreq *req)
req242net/inet/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req331net/inet/rarp.cstatic int rarp_req_get(struct arpreq *req)
req342net/inet/rarp.cmemcpy_fromfs(&r, req, sizeof(r));
req377net/inet/rarp.cmemcpy_tofs(req, &r, sizeof(r));