taglinefilesource code
req211kernel/blk_drv/blk.hstruct request * req;
req215kernel/blk_drv/blk.hreq = CURRENT;
req216kernel/blk_drv/blk.hreq->errors = 0;
req219kernel/blk_drv/blk.hprintk("dev %04x, sector %d\n",req->dev,req->sector);
req220kernel/blk_drv/blk.hreq->nr_sectors--;
req221kernel/blk_drv/blk.hreq->nr_sectors &= ~SECTOR_MASK;
req222kernel/blk_drv/blk.hreq->sector += (BLOCK_SIZE / 512);
req223kernel/blk_drv/blk.hreq->sector &= ~SECTOR_MASK;    
req226kernel/blk_drv/blk.hif ((bh = req->bh) != NULL) {
req227kernel/blk_drv/blk.hreq->bh = bh->b_reqnext;
req231kernel/blk_drv/blk.hif ((bh = req->bh) != NULL) {
req232kernel/blk_drv/blk.hreq->current_nr_sectors = bh->b_size >> 9;
req233kernel/blk_drv/blk.hif (req->nr_sectors < req->current_nr_sectors) {
req234kernel/blk_drv/blk.hreq->nr_sectors = req->current_nr_sectors;
req237kernel/blk_drv/blk.hreq->buffer = bh->b_data;
req241kernel/blk_drv/blk.hDEVICE_OFF(req->dev);
req242kernel/blk_drv/blk.hCURRENT = req->next;
req243kernel/blk_drv/blk.hif ((p = req->waiting) != NULL) {
req244kernel/blk_drv/blk.hreq->waiting = NULL;
req249kernel/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);
req416kernel/blk_drv/scsi/scsi.cScsi_Cmnd * request_queueable (struct request * req, int index)
req424kernel/blk_drv/scsi/scsi.cif (req && req->dev <= 0)
req441kernel/blk_drv/scsi/scsi.cif (req) {
req442kernel/blk_drv/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req443kernel/blk_drv/scsi/scsi.creq->dev = -1;
req467kernel/blk_drv/scsi/scsi.cstruct request * req = NULL;
req474kernel/blk_drv/scsi/scsi.cif (reqp) req = *reqp;
req477kernel/blk_drv/scsi/scsi.cif (req && (dev = req->dev) <= 0) return NULL;
req493kernel/blk_drv/scsi/scsi.cif (req && ((req->dev < 0) || (req->dev != dev))) {
req509kernel/blk_drv/scsi/scsi.cif (req) {
req510kernel/blk_drv/scsi/scsi.cmemcpy(&SCpnt->request, req, sizeof(struct request));
req511kernel/blk_drv/scsi/scsi.creq->dev = -1;
req512kernel/blk_drv/scsi/scsi.c*reqp = req->next;
req449kernel/blk_drv/scsi/scsi.hstruct request * req;
req453kernel/blk_drv/scsi/scsi.hreq = &SCpnt->request;
req454kernel/blk_drv/scsi/scsi.hreq->errors = 0;
req457kernel/blk_drv/scsi/scsi.hprintk("dev %04x, sector %d\n",req->dev,req->sector);
req461kernel/blk_drv/scsi/scsi.hif ((bh = req->bh) != NULL) {
req462kernel/blk_drv/scsi/scsi.hreq->bh = bh->b_reqnext;
req463kernel/blk_drv/scsi/scsi.hreq->nr_sectors -= bh->b_size >> 9;
req464kernel/blk_drv/scsi/scsi.hreq->sector += bh->b_size >> 9;
req469kernel/blk_drv/scsi/scsi.hif ((bh = req->bh) != NULL) {
req470kernel/blk_drv/scsi/scsi.hreq->current_nr_sectors = bh->b_size >> 9;
req471kernel/blk_drv/scsi/scsi.hif (req->nr_sectors < req->current_nr_sectors) {
req472kernel/blk_drv/scsi/scsi.hreq->nr_sectors = req->current_nr_sectors;
req478kernel/blk_drv/scsi/scsi.hif (req->bh){
req479kernel/blk_drv/scsi/scsi.hreq->buffer = bh->b_data;
req482kernel/blk_drv/scsi/scsi.hDEVICE_OFF(req->dev);
req483kernel/blk_drv/scsi/scsi.hif ((p = req->waiting) != NULL) {
req484kernel/blk_drv/scsi/scsi.hreq->waiting = NULL;
req489kernel/blk_drv/scsi/scsi.hreq->dev = -1;
req75kernel/blk_drv/scsi/scsi_ioctl.cstruct request * req;
req78kernel/blk_drv/scsi/scsi_ioctl.creq = &SCpnt->request;
req79kernel/blk_drv/scsi/scsi_ioctl.creq->dev = 0xfffe; /* Busy, but indicate request done */
req81kernel/blk_drv/scsi/scsi_ioctl.cif ((p = req->waiting) != NULL) {
req82kernel/blk_drv/scsi/scsi_ioctl.creq->waiting = NULL;
req322kernel/blk_drv/scsi/sd.cstruct request * req = NULL;
req361kernel/blk_drv/scsi/sd.creq = CURRENT;
req362kernel/blk_drv/scsi/sd.cwhile(req){
req363kernel/blk_drv/scsi/sd.cSCpnt = request_queueable(req,
req364kernel/blk_drv/scsi/sd.crscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index);
req366kernel/blk_drv/scsi/sd.creq1 = req;
req367kernel/blk_drv/scsi/sd.creq = req->next;
req370kernel/blk_drv/scsi/sd.cif (req == CURRENT) 
req373kernel/blk_drv/scsi/sd.creq1->next = req->next;
req656kernel/blk_drv/scsi/sd.cstruct request * req;
req659kernel/blk_drv/scsi/sd.creq = &SCpnt->request;
req660kernel/blk_drv/scsi/sd.creq->dev = 0xfffe; /* Busy, but indicate request done */
req662kernel/blk_drv/scsi/sd.cif ((p = req->waiting) != NULL) {
req663kernel/blk_drv/scsi/sd.creq->waiting = NULL;
req278kernel/blk_drv/scsi/sr.cstruct request * req = NULL;
req308kernel/blk_drv/scsi/sr.creq = CURRENT;
req309kernel/blk_drv/scsi/sr.cwhile(req){
req310kernel/blk_drv/scsi/sr.cSCpnt = request_queueable(req,
req311kernel/blk_drv/scsi/sr.cscsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index);
req313kernel/blk_drv/scsi/sr.creq1 = req;
req314kernel/blk_drv/scsi/sr.creq = req->next;
req317kernel/blk_drv/scsi/sr.cif (req == CURRENT) 
req320kernel/blk_drv/scsi/sr.creq1->next = req->next;
req614kernel/blk_drv/scsi/sr.cstruct request * req;
req617kernel/blk_drv/scsi/sr.creq = &SCpnt->request;
req618kernel/blk_drv/scsi/sr.creq->dev = 0xfffe; /* Busy, but indicate request done */
req620kernel/blk_drv/scsi/sr.cif ((p = req->waiting) != NULL) {
req621kernel/blk_drv/scsi/sr.creq->waiting = NULL;
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;
req563net/tcp/arp.cstatic int arpreq_check(struct arpreq *req)
req566net/tcp/arp.cif (req->arp_pa.sa_family != AF_INET) return -1;
req568net/tcp/arp.cif (req->arp_ha.sa_family != AF_UNSPEC) return -1;
req573net/tcp/arp.cint arp_ioctl_set(struct arpreq *req)
req578net/tcp/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req595net/tcp/arp.cint arp_ioctl_get(struct arpreq *req)
req600net/tcp/arp.cmemcpy_fromfs(&r, req, sizeof(r));
req610net/tcp/arp.cmemcpy_tofs(req, &r, sizeof(r));
req614net/tcp/arp.cint arp_ioctl_del(struct arpreq *req)
req618net/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);