taglinefilesource code
req267drivers/block/blk.hstruct request *req = ide_cur_rq[HWIF];
req270drivers/block/blk.hstruct request *req = CURRENT;
req274drivers/block/blk.hreq->errors = 0;
req277drivers/block/blk.h(unsigned long)req->dev, req->sector);
req278drivers/block/blk.hreq->nr_sectors--;
req279drivers/block/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req280drivers/block/blk.hreq->sector += (BLOCK_SIZE / 512);
req281drivers/block/blk.hreq->sector &= ~SECTOR_MASK;    
req284drivers/block/blk.hif ((bh = req->bh) != NULL) {
req285drivers/block/blk.hreq->bh = bh->b_reqnext;
req290drivers/block/blk.hif ((bh = req->bh) != NULL) {
req291drivers/block/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req292drivers/block/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req293drivers/block/blk.hreq->nr_sectors = req->current_nr_sectors;
req296drivers/block/blk.hreq->buffer = bh->b_data;
req303drivers/block/blk.hDEVICE_OFF(req->dev);
req304drivers/block/blk.hCURRENT = req->next;
req306drivers/block/blk.hif (req->sem != NULL)
req307drivers/block/blk.hup(req->sem);
req308drivers/block/blk.hreq->dev = -1;
req564drivers/block/ide-cd.cstruct request req, **p, **pfirst;
req568drivers/block/ide-cd.creq.dev = MKDEV (major, (dev->select.b.drive) << PARTN_BITS);
req569drivers/block/ide-cd.creq.cmd = PACKET_COMMAND;
req570drivers/block/ide-cd.creq.errors = 0;
req571drivers/block/ide-cd.creq.sector = 0;
req572drivers/block/ide-cd.creq.nr_sectors = 0;
req573drivers/block/ide-cd.creq.current_nr_sectors = 0;
req574drivers/block/ide-cd.creq.buffer = (char *)pc;
req575drivers/block/ide-cd.creq.sem = &sem;
req576drivers/block/ide-cd.creq.bh = NULL;
req577drivers/block/ide-cd.creq.bhtail = NULL;
req578drivers/block/ide-cd.creq.next = NULL;
req589drivers/block/ide-cd.c*p = &req;
req109drivers/block/ll_rw_blk.cregister struct request *req, *limit;
req119drivers/block/ll_rw_blk.creq = prev_found;
req121drivers/block/ll_rw_blk.creq = ((req > all_requests) ? req : limit) - 1;
req122drivers/block/ll_rw_blk.cif (req->dev < 0)
req124drivers/block/ll_rw_blk.cif (req == prev_found)
req127drivers/block/ll_rw_blk.cprev_found = req;
req128drivers/block/ll_rw_blk.creq->dev = dev;
req129drivers/block/ll_rw_blk.creturn req;
req139drivers/block/ll_rw_blk.cregister struct request *req;
req141drivers/block/ll_rw_blk.cwhile ((req = get_request(n, dev)) == NULL)
req143drivers/block/ll_rw_blk.creturn req;
req176drivers/block/ll_rw_blk.cstatic void add_request(struct blk_dev_struct * dev, struct request * req)
req181drivers/block/ll_rw_blk.cswitch (MAJOR(req->dev)) {
req182drivers/block/ll_rw_blk.ccase SCSI_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0070) >> 4;
req187drivers/block/ll_rw_blk.ccase XT_DISK_MAJOR:  disk_index = (MINOR(req->dev) & 0x0040) >> 6;
req190drivers/block/ll_rw_blk.ccase IDE1_MAJOR:  disk_index = ((MINOR(req->dev) & 0x0040) >> 6) + 2;
req195drivers/block/ll_rw_blk.creq->next = NULL;
req197drivers/block/ll_rw_blk.cif (req->bh)
req198drivers/block/ll_rw_blk.cmark_buffer_clean(req->bh);
req200drivers/block/ll_rw_blk.cdev->current_request = req;
req206drivers/block/ll_rw_blk.cif ((IN_ORDER(tmp,req) ||
req208drivers/block/ll_rw_blk.cIN_ORDER(req,tmp->next))
req211drivers/block/ll_rw_blk.creq->next = tmp->next;
req212drivers/block/ll_rw_blk.ctmp->next = req;
req215drivers/block/ll_rw_blk.cif (scsi_major(MAJOR(req->dev)))
req224drivers/block/ll_rw_blk.cstruct request * req;
req280drivers/block/ll_rw_blk.c&& (req = blk_dev[major].current_request))
req287drivers/block/ll_rw_blk.creq = req->next;
req288drivers/block/ll_rw_blk.cwhile (req) {
req289drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req290drivers/block/ll_rw_blk.c!req->sem &&
req291drivers/block/ll_rw_blk.creq->cmd == rw &&
req292drivers/block/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
req293drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req295drivers/block/ll_rw_blk.creq->bhtail->b_reqnext = bh;
req296drivers/block/ll_rw_blk.creq->bhtail = bh;
req297drivers/block/ll_rw_blk.creq->nr_sectors += count;
req303drivers/block/ll_rw_blk.cif (req->dev == bh->b_dev &&
req304drivers/block/ll_rw_blk.c!req->sem &&
req305drivers/block/ll_rw_blk.creq->cmd == rw &&
req306drivers/block/ll_rw_blk.creq->sector - count == sector &&
req307drivers/block/ll_rw_blk.creq->nr_sectors < 244)
req309drivers/block/ll_rw_blk.creq->nr_sectors += count;
req310drivers/block/ll_rw_blk.cbh->b_reqnext = req->bh;
req311drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req312drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req313drivers/block/ll_rw_blk.creq->sector = sector;
req315drivers/block/ll_rw_blk.creq->bh = bh;
req320drivers/block/ll_rw_blk.creq = req->next;
req325drivers/block/ll_rw_blk.creq = get_request(max_req, bh->b_dev);
req328drivers/block/ll_rw_blk.cif (! req) {
req343drivers/block/ll_rw_blk.creq->cmd = rw;
req344drivers/block/ll_rw_blk.creq->errors = 0;
req345drivers/block/ll_rw_blk.creq->sector = sector;
req346drivers/block/ll_rw_blk.creq->nr_sectors = count;
req347drivers/block/ll_rw_blk.creq->current_nr_sectors = count;
req348drivers/block/ll_rw_blk.creq->buffer = bh->b_data;
req349drivers/block/ll_rw_blk.creq->sem = NULL;
req350drivers/block/ll_rw_blk.creq->bh = bh;
req351drivers/block/ll_rw_blk.creq->bhtail = bh;
req352drivers/block/ll_rw_blk.creq->next = NULL;
req353drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req358drivers/block/ll_rw_blk.cstruct request * req;
req373drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req376drivers/block/ll_rw_blk.creq->cmd = rw;
req377drivers/block/ll_rw_blk.creq->errors = 0;
req378drivers/block/ll_rw_blk.creq->sector = page<<3;
req379drivers/block/ll_rw_blk.creq->nr_sectors = 8;
req380drivers/block/ll_rw_blk.creq->current_nr_sectors = 8;
req381drivers/block/ll_rw_blk.creq->buffer = buffer;
req382drivers/block/ll_rw_blk.creq->sem = &sem;
req383drivers/block/ll_rw_blk.creq->bh = NULL;
req384drivers/block/ll_rw_blk.creq->next = NULL;
req385drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req486drivers/block/ll_rw_blk.cstruct request * req;
req509drivers/block/ll_rw_blk.creq = get_request_wait(NR_REQUEST, dev);
req511drivers/block/ll_rw_blk.creq->cmd = rw;
req512drivers/block/ll_rw_blk.creq->errors = 0;
req513drivers/block/ll_rw_blk.creq->sector = (b[i] * buffersize) >> 9;
req514drivers/block/ll_rw_blk.creq->nr_sectors = buffersize >> 9;
req515drivers/block/ll_rw_blk.creq->current_nr_sectors = buffersize >> 9;
req516drivers/block/ll_rw_blk.creq->buffer = buf;
req517drivers/block/ll_rw_blk.creq->sem = &sem;
req518drivers/block/ll_rw_blk.creq->bh = NULL;
req519drivers/block/ll_rw_blk.creq->next = NULL;
req520drivers/block/ll_rw_blk.cadd_request(major+blk_dev,req);
req527drivers/block/ll_rw_blk.cstruct request * req;
req529drivers/block/ll_rw_blk.creq = all_requests + NR_REQUEST;
req530drivers/block/ll_rw_blk.cwhile (--req >= all_requests) {
req531drivers/block/ll_rw_blk.creq->dev = -1;
req532drivers/block/ll_rw_blk.creq->next = NULL;
req2494drivers/char/serial.cint register_serial(struct serial_struct *req)
req2503drivers/char/serial.cif (rs_table[i].port == req->port)
req2520drivers/char/serial.c"device already open\n", i, req->port, req->irq);
req2523drivers/char/serial.cinfo->irq = req->irq;
req2524drivers/char/serial.cinfo->port = req->port;
req594drivers/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, Scsi_Device * device)
req603drivers/scsi/scsi.cif (req && req->dev <= 0)
req628drivers/scsi/scsi.cif (req) {
req629drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req631drivers/scsi/scsi.cbhp = bh = req->bh;
req635drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req638drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req639drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req643drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req645drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req647drivers/scsi/scsi.cbh = req->bh;
req650drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req651drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req652drivers/scsi/scsi.creq->buffer = bh->b_data;
req655drivers/scsi/scsi.creq->dev = -1;
req684drivers/scsi/scsi.cstruct request * req = NULL;
req695drivers/scsi/scsi.cif (reqp) req = *reqp;
req698drivers/scsi/scsi.cif (req && (dev = req->dev) <= 0) return NULL;
req728drivers/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) {
req744drivers/scsi/scsi.cif (req) {
req745drivers/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req747drivers/scsi/scsi.cbhp = bh = req->bh;
req751drivers/scsi/scsi.cwhile(req->nr_sectors && bh){
req754drivers/scsi/scsi.creq->nr_sectors -= bh->b_size >> 9;
req755drivers/scsi/scsi.creq->sector += bh->b_size >> 9;
req759drivers/scsi/scsi.cif(req->nr_sectors && bh && bh->b_reqnext){  /* Any leftovers? */
req761drivers/scsi/scsi.creq->bh = bh->b_reqnext; /* Divide request */
req763drivers/scsi/scsi.cbh = req->bh;
req765drivers/scsi/scsi.cSCpnt->request.nr_sectors -= req->nr_sectors;
req766drivers/scsi/scsi.creq->current_nr_sectors = bh->b_size >> 9;
req767drivers/scsi/scsi.creq->buffer = bh->b_data;
req772drivers/scsi/scsi.creq->dev = -1;
req773drivers/scsi/scsi.c*reqp = req->next;
req2411drivers/scsi/scsi.cstruct request * req;
req2413drivers/scsi/scsi.creq = blk_dev[i].current_request;
req2414drivers/scsi/scsi.cwhile(req) {
req2416drivers/scsi/scsi.creq->dev,
req2417drivers/scsi/scsi.creq->cmd,
req2418drivers/scsi/scsi.creq->sector,
req2419drivers/scsi/scsi.creq->nr_sectors,
req2420drivers/scsi/scsi.creq->current_nr_sectors);
req2421drivers/scsi/scsi.creq = req->next;
req532drivers/scsi/scsi.hstruct request * req;
req535drivers/scsi/scsi.hreq = &SCpnt->request;
req536drivers/scsi/scsi.hreq->errors = 0;
req539drivers/scsi/scsi.hreq->dev,req->sector);
req543drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req544drivers/scsi/scsi.hreq->bh = bh->b_reqnext;
req545drivers/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req546drivers/scsi/scsi.hreq->sector += bh->b_size >> 9;
req551drivers/scsi/scsi.hif ((bh = req->bh) != NULL) {
req552drivers/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req553drivers/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req554drivers/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req560drivers/scsi/scsi.hif (req->bh){
req561drivers/scsi/scsi.hreq->buffer = bh->b_data;
req564drivers/scsi/scsi.hDEVICE_OFF(req->dev);
req565drivers/scsi/scsi.hif (req->sem != NULL) {
req566drivers/scsi/scsi.hup(req->sem);
req568drivers/scsi/scsi.hreq->dev = -1;
req80drivers/scsi/scsi_ioctl.cstruct request * req;
req82drivers/scsi/scsi_ioctl.creq = &SCpnt->request;
req83drivers/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req85drivers/scsi/scsi_ioctl.cif (req->sem != NULL) {
req86drivers/scsi/scsi_ioctl.cup(req->sem);
req335drivers/scsi/sd.cstruct request * req = NULL;
req379drivers/scsi/sd.creq = CURRENT;
req380drivers/scsi/sd.cwhile(req){
req381drivers/scsi/sd.cSCpnt = request_queueable(req,
req382drivers/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device);
req384drivers/scsi/sd.creq1 = req;
req385drivers/scsi/sd.creq = req->next;
req387drivers/scsi/sd.cif (SCpnt && req->dev == -1) {
req388drivers/scsi/sd.cif (req == CURRENT) 
req391drivers/scsi/sd.creq1->next = req->next;
req812drivers/scsi/sd.cstruct request * req;
req814drivers/scsi/sd.creq = &SCpnt->request;
req815drivers/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req817drivers/scsi/sd.cif (req->sem != NULL) {
req818drivers/scsi/sd.cup(req->sem);
req439drivers/scsi/sr.cstruct request * req = NULL;
req471drivers/scsi/sr.creq = CURRENT;
req472drivers/scsi/sr.cwhile(req){
req473drivers/scsi/sr.cSCpnt = request_queueable(req,
req474drivers/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device);
req476drivers/scsi/sr.creq1 = req;
req477drivers/scsi/sr.creq = req->next;
req479drivers/scsi/sr.cif (SCpnt && req->dev == -1) {
req480drivers/scsi/sr.cif (req == CURRENT) 
req483drivers/scsi/sr.creq1->next = req->next;
req834drivers/scsi/sr.cstruct request * req;
req836drivers/scsi/sr.creq = &SCpnt->request;
req837drivers/scsi/sr.creq->dev = 0xfffe; /* Busy, but indicate request done */
req839drivers/scsi/sr.cif (req->sem != NULL) {
req840drivers/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);
req137include/linux/serial.hextern int register_serial(struct serial_struct *req);
req1031net/inet/arp.cstatic int arp_req_set(struct arpreq *req)
req1040net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1148net/inet/arp.cstatic int arp_req_get(struct arpreq *req)
req1158net/inet/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req1190net/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));