taglinefilesource code
req200kernel/blk_drv/blk.hstruct request * req;
req204kernel/blk_drv/blk.hreq = CURRENT;
req205kernel/blk_drv/blk.hreq->errors = 0;
req208kernel/blk_drv/blk.hprintk("dev %04x, sector %d\n\r",req->dev,req->sector);
req209kernel/blk_drv/blk.hreq->nr_sectors--;
req210kernel/blk_drv/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req211kernel/blk_drv/blk.hreq->sector += (BLOCK_SIZE / 512);
req212kernel/blk_drv/blk.hreq->sector &= ~SECTOR_MASK;    
req215kernel/blk_drv/blk.hif ((bh = req->bh) != NULL) {
req216kernel/blk_drv/blk.hreq->bh = bh->b_reqnext;
req220kernel/blk_drv/blk.hif ((bh = req->bh) != NULL) {
req221kernel/blk_drv/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req222kernel/blk_drv/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req223kernel/blk_drv/blk.hreq->nr_sectors = req->current_nr_sectors;
req226kernel/blk_drv/blk.hreq->buffer = bh->b_data;
req230kernel/blk_drv/blk.hDEVICE_OFF(req->dev);
req231kernel/blk_drv/blk.hCURRENT = req->next;
req232kernel/blk_drv/blk.hif ((p = req->waiting) != NULL) {
req233kernel/blk_drv/blk.hreq->waiting = NULL;
req238kernel/blk_drv/blk.hreq->dev = -1;
req92kernel/blk_drv/ll_rw_blk.cstatic void add_request(struct blk_dev_struct * dev, struct request * req)
req96kernel/blk_drv/ll_rw_blk.creq->next = NULL;
req98kernel/blk_drv/ll_rw_blk.cif (req->bh)
req99kernel/blk_drv/ll_rw_blk.creq->bh->b_dirt = 0;
req101kernel/blk_drv/ll_rw_blk.cdev->current_request = req;
req107kernel/blk_drv/ll_rw_blk.cif ((IN_ORDER(tmp,req) ||
req109kernel/blk_drv/ll_rw_blk.cIN_ORDER(req,tmp->next))
req112kernel/blk_drv/ll_rw_blk.creq->next = tmp->next;
req113kernel/blk_drv/ll_rw_blk.ctmp->next = req;
req116kernel/blk_drv/ll_rw_blk.cif(MAJOR(req->dev) == 8 || 
req117kernel/blk_drv/ll_rw_blk.cMAJOR(req->dev) == 9 ||
req118kernel/blk_drv/ll_rw_blk.cMAJOR(req->dev) == 11)
req127kernel/blk_drv/ll_rw_blk.cstruct request * req;
req163kernel/blk_drv/ll_rw_blk.cif ((major == 3 ||  major == 8 || major == 11)&& (req = blk_dev[major].current_request)) {
req164kernel/blk_drv/ll_rw_blk.cif(major == 3) req = req->next;
req165kernel/blk_drv/ll_rw_blk.cwhile (req) {
req166kernel/blk_drv/ll_rw_blk.cif (req->dev == bh->b_dev &&
req167kernel/blk_drv/ll_rw_blk.c!req->waiting &&
req168kernel/blk_drv/ll_rw_blk.creq->cmd == rw &&
req169kernel/blk_drv/ll_rw_blk.creq->sector + req->nr_sectors == sector &&
req170kernel/blk_drv/ll_rw_blk.creq->nr_sectors < 254) {
req171kernel/blk_drv/ll_rw_blk.creq->bhtail->b_reqnext = bh;
req172kernel/blk_drv/ll_rw_blk.creq->bhtail = bh;
req173kernel/blk_drv/ll_rw_blk.creq->nr_sectors += count;
req178kernel/blk_drv/ll_rw_blk.creq = req->next;
req186kernel/blk_drv/ll_rw_blk.creq = request+NR_REQUEST;
req188kernel/blk_drv/ll_rw_blk.creq = request+(NR_REQUEST/2);
req190kernel/blk_drv/ll_rw_blk.cwhile (--req >= request)
req191kernel/blk_drv/ll_rw_blk.cif (req->dev < 0)
req205kernel/blk_drv/ll_rw_blk.creq->dev = bh->b_dev;
req207kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
req208kernel/blk_drv/ll_rw_blk.creq->errors = 0;
req209kernel/blk_drv/ll_rw_blk.creq->sector = sector;
req210kernel/blk_drv/ll_rw_blk.creq->nr_sectors = count;
req211kernel/blk_drv/ll_rw_blk.creq->current_nr_sectors = count;
req212kernel/blk_drv/ll_rw_blk.creq->buffer = bh->b_data;
req213kernel/blk_drv/ll_rw_blk.creq->waiting = NULL;
req214kernel/blk_drv/ll_rw_blk.creq->bh = bh;
req215kernel/blk_drv/ll_rw_blk.creq->bhtail = bh;
req216kernel/blk_drv/ll_rw_blk.creq->next = NULL;
req217kernel/blk_drv/ll_rw_blk.cadd_request(major+blk_dev,req);
req222kernel/blk_drv/ll_rw_blk.cstruct request * req;
req237kernel/blk_drv/ll_rw_blk.creq = request+NR_REQUEST;
req238kernel/blk_drv/ll_rw_blk.cwhile (--req >= request)
req239kernel/blk_drv/ll_rw_blk.cif (req->dev<0)
req241kernel/blk_drv/ll_rw_blk.cif (req < request) {
req247kernel/blk_drv/ll_rw_blk.creq->dev = dev;
req248kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
req249kernel/blk_drv/ll_rw_blk.creq->errors = 0;
req250kernel/blk_drv/ll_rw_blk.creq->sector = page<<3;
req251kernel/blk_drv/ll_rw_blk.creq->nr_sectors = 8;
req252kernel/blk_drv/ll_rw_blk.creq->current_nr_sectors = 8;
req253kernel/blk_drv/ll_rw_blk.creq->buffer = buffer;
req254kernel/blk_drv/ll_rw_blk.creq->waiting = current;
req255kernel/blk_drv/ll_rw_blk.creq->bh = NULL;
req256kernel/blk_drv/ll_rw_blk.creq->next = NULL;
req258kernel/blk_drv/ll_rw_blk.cadd_request(major+blk_dev,req);
req332kernel/blk_drv/ll_rw_blk.cstruct request * req;
req352kernel/blk_drv/ll_rw_blk.creq = request+NR_REQUEST;
req353kernel/blk_drv/ll_rw_blk.cwhile (--req >= request)
req354kernel/blk_drv/ll_rw_blk.cif (req->dev<0)
req356kernel/blk_drv/ll_rw_blk.cif (req < request) {
req361kernel/blk_drv/ll_rw_blk.creq->dev = dev;
req362kernel/blk_drv/ll_rw_blk.creq->cmd = rw;
req363kernel/blk_drv/ll_rw_blk.creq->errors = 0;
req364kernel/blk_drv/ll_rw_blk.creq->sector = b[i] << 1;
req365kernel/blk_drv/ll_rw_blk.creq->nr_sectors = 2;
req366kernel/blk_drv/ll_rw_blk.creq->current_nr_sectors = 2;
req367kernel/blk_drv/ll_rw_blk.creq->buffer = buf;
req368kernel/blk_drv/ll_rw_blk.creq->waiting = current;
req369kernel/blk_drv/ll_rw_blk.creq->bh = NULL;
req370kernel/blk_drv/ll_rw_blk.creq->next = NULL;
req372kernel/blk_drv/ll_rw_blk.cadd_request(major+blk_dev,req);
req409kernel/blk_drv/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, int index)
req417kernel/blk_drv/scsi/scsi.cif (req && req->dev <= 0)
req434kernel/blk_drv/scsi/scsi.cif (req) {
req435kernel/blk_drv/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req436kernel/blk_drv/scsi/scsi.creq->dev = -1;
req458kernel/blk_drv/scsi/scsi.cstruct request * req = NULL;
req465kernel/blk_drv/scsi/scsi.cif (reqp) req = *reqp;
req467kernel/blk_drv/scsi/scsi.cif (req && (dev = req->dev) <= 0)
req484kernel/blk_drv/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) return NULL;
req497kernel/blk_drv/scsi/scsi.cif (req) {
req498kernel/blk_drv/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req499kernel/blk_drv/scsi/scsi.creq->dev = -1;
req500kernel/blk_drv/scsi/scsi.c*reqp = req->next;
req418kernel/blk_drv/scsi/scsi.hstruct request * req;
req422kernel/blk_drv/scsi/scsi.hreq = &SCpnt->request;
req423kernel/blk_drv/scsi/scsi.hreq->errors = 0;
req426kernel/blk_drv/scsi/scsi.hprintk("dev %04x, sector %d\n\r",req->dev,req->sector);
req430kernel/blk_drv/scsi/scsi.hif ((bh = req->bh) != NULL) {
req431kernel/blk_drv/scsi/scsi.hreq->bh = bh->b_reqnext;
req432kernel/blk_drv/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req433kernel/blk_drv/scsi/scsi.hreq->sector += bh->b_size >> 9;
req438kernel/blk_drv/scsi/scsi.hif ((bh = req->bh) != NULL) {
req439kernel/blk_drv/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req440kernel/blk_drv/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req441kernel/blk_drv/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req447kernel/blk_drv/scsi/scsi.hif (req->bh){
req448kernel/blk_drv/scsi/scsi.hreq->buffer = bh->b_data;
req451kernel/blk_drv/scsi/scsi.hDEVICE_OFF(req->dev);
req452kernel/blk_drv/scsi/scsi.hif ((p = req->waiting) != NULL) {
req453kernel/blk_drv/scsi/scsi.hreq->waiting = NULL;
req458kernel/blk_drv/scsi/scsi.hreq->dev = -1;
req69kernel/blk_drv/scsi/scsi_ioctl.cstruct request * req;
req72kernel/blk_drv/scsi/scsi_ioctl.creq = &SCpnt->request;
req73kernel/blk_drv/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req75kernel/blk_drv/scsi/scsi_ioctl.cif ((p = req->waiting) != NULL) {
req76kernel/blk_drv/scsi/scsi_ioctl.creq->waiting = NULL;
req322kernel/blk_drv/scsi/sd.cstruct request * req = NULL;
req356kernel/blk_drv/scsi/sd.creq = CURRENT;
req357kernel/blk_drv/scsi/sd.cwhile(req){
req358kernel/blk_drv/scsi/sd.cSCpnt = request_queueable(req,
req359kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index);
req361kernel/blk_drv/scsi/sd.creq1 = req;
req362kernel/blk_drv/scsi/sd.creq = req->next;
req365kernel/blk_drv/scsi/sd.cif (req == CURRENT) 
req368kernel/blk_drv/scsi/sd.creq1->next = req->next;
req629kernel/blk_drv/scsi/sd.cstruct request * req;
req632kernel/blk_drv/scsi/sd.creq = &SCpnt->request;
req633kernel/blk_drv/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req635kernel/blk_drv/scsi/sd.cif ((p = req->waiting) != NULL) {
req636kernel/blk_drv/scsi/sd.creq->waiting = NULL;
req278kernel/blk_drv/scsi/sr.cstruct request * req = NULL;
req303kernel/blk_drv/scsi/sr.creq = CURRENT;
req304kernel/blk_drv/scsi/sr.cwhile(req){
req305kernel/blk_drv/scsi/sr.cSCpnt = request_queueable(req,
req306kernel/blk_drv/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index);
req308kernel/blk_drv/scsi/sr.creq1 = req;
req309kernel/blk_drv/scsi/sr.creq = req->next;
req312kernel/blk_drv/scsi/sr.cif (req == CURRENT) 
req315kernel/blk_drv/scsi/sr.creq1->next = req->next;
req22kernel/blk_drv/scsi/sr_ioctl.cstruct request * req;
req25kernel/blk_drv/scsi/sr_ioctl.creq = &SCpnt->request;
req26kernel/blk_drv/scsi/sr_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req28kernel/blk_drv/scsi/sr_ioctl.cif ((p = req->waiting) != NULL) {
req29kernel/blk_drv/scsi/sr_ioctl.creq->waiting = NULL;
req575net/tcp/arp.cstatic int arpreq_check(struct arpreq *req)
req578net/tcp/arp.cif (req->arp_pa.sa_family != AF_INET) return -1;
req580net/tcp/arp.cif (req->arp_ha.sa_family != AF_UNSPEC) return -1;
req585net/tcp/arp.cint arp_ioctl_set(struct arpreq *req)
req590net/tcp/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req607net/tcp/arp.cint arp_ioctl_get(struct arpreq *req)
req612net/tcp/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req622net/tcp/arp.cmemcpy_tofs(req, &r, sizeof(r));
req626net/tcp/arp.cint arp_ioctl_del(struct arpreq *req)
req630net/tcp/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req85net/tcp/arp.hint arp_ioctl_set(struct arpreq *req);
req86net/tcp/arp.hint arp_ioctl_get(struct arpreq *req);
req87net/tcp/arp.hint arp_ioctl_del(struct arpreq *req);