taglinefilesource code
sccfreelist207drivers/char/scc.cstatic struct sccbuf *sccfreelist[MAX_IBUFS] = {0};
sccfreelist295drivers/char/scc.csccfreelist[i] = sccb;
sccfreelist296drivers/char/scc.csccfreelist[i]->bp = bp;
sccfreelist297drivers/char/scc.cmemset(sccfreelist[i]->bp ,0,sizeof(struct mbuf));
sccfreelist298drivers/char/scc.csccfreelist[i]->inuse = 0;
sccfreelist299drivers/char/scc.csccfreelist[i]->bp->type = 0;
sccfreelist300drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist301drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
sccfreelist315drivers/char/scc.cif (sccfreelist[i]->inuse)
sccfreelist317drivers/char/scc.cswitch (sccfreelist[i]->bp->type)
sccfreelist344drivers/char/scc.cif(sccfreelist[i]->inuse == 0)
sccfreelist346drivers/char/scc.csccfreelist[i]->inuse = 1;
sccfreelist347drivers/char/scc.csccfreelist[i]->bp->type = type;
sccfreelist348drivers/char/scc.csccfreelist[i]->bp->next = NULLBUF;
sccfreelist349drivers/char/scc.csccfreelist[i]->bp->anext = NULLBUF;
sccfreelist350drivers/char/scc.csccfreelist[i]->bp->dup = NULLBUF;
sccfreelist351drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
sccfreelist352drivers/char/scc.csccfreelist[i]->bp->refcnt = 1;
sccfreelist353drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist354drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
sccfreelist357drivers/char/scc.creturn sccfreelist[i]->bp;
sccfreelist388drivers/char/scc.cif(sccfreelist[i]->bp == bp->dup)
sccfreelist390drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
sccfreelist393drivers/char/scc.ctype,sccfreelist[i]->bp->type);
sccfreelist396drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist397drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist398drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
sccfreelist399drivers/char/scc.csccfreelist[i]->inuse = 0;
sccfreelist410drivers/char/scc.cif(sccfreelist[i]->bp == bp)
sccfreelist412drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
sccfreelist415drivers/char/scc.ctype,sccfreelist[i]->bp->type);
sccfreelist418drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist419drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist420drivers/char/scc.csccfreelist[i]->inuse = 0;