taglinefilesource code
sccfreelist142drivers/char/scc.cstatic struct sccbuf *sccfreelist[MAX_IBUFS] = {0};
sccfreelist229drivers/char/scc.csccfreelist[i] = sccb;
sccfreelist230drivers/char/scc.csccfreelist[i]->bp = bp;
sccfreelist231drivers/char/scc.cmemset(sccfreelist[i]->bp ,0,sizeof(struct mbuf));
sccfreelist232drivers/char/scc.csccfreelist[i]->inuse = 0;
sccfreelist233drivers/char/scc.csccfreelist[i]->bp->type = 0;
sccfreelist234drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist235drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
sccfreelist249drivers/char/scc.cif (sccfreelist[i]->inuse)
sccfreelist251drivers/char/scc.cswitch (sccfreelist[i]->bp->type)
sccfreelist278drivers/char/scc.cif(sccfreelist[i]->inuse == 0)
sccfreelist280drivers/char/scc.csccfreelist[i]->inuse = 1;
sccfreelist281drivers/char/scc.csccfreelist[i]->bp->type = type;
sccfreelist282drivers/char/scc.csccfreelist[i]->bp->next = NULLBUF;
sccfreelist283drivers/char/scc.csccfreelist[i]->bp->anext = NULLBUF;
sccfreelist284drivers/char/scc.csccfreelist[i]->bp->dup = NULLBUF;
sccfreelist285drivers/char/scc.csccfreelist[i]->bp->size = BUFSIZE;
sccfreelist286drivers/char/scc.csccfreelist[i]->bp->refcnt = 1;
sccfreelist287drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist288drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
sccfreelist291drivers/char/scc.creturn sccfreelist[i]->bp;
sccfreelist322drivers/char/scc.cif(sccfreelist[i]->bp == bp->dup)
sccfreelist324drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
sccfreelist327drivers/char/scc.ctype,sccfreelist[i]->bp->type);
sccfreelist330drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist331drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist332drivers/char/scc.csccfreelist[i]->bp->in_use = 0;
sccfreelist333drivers/char/scc.csccfreelist[i]->inuse = 0;
sccfreelist344drivers/char/scc.cif(sccfreelist[i]->bp == bp)
sccfreelist346drivers/char/scc.cif (sccfreelist[i]->bp->type != type)
sccfreelist349drivers/char/scc.ctype,sccfreelist[i]->bp->type);
sccfreelist352drivers/char/scc.csccfreelist[i]->bp->cnt = 0;
sccfreelist353drivers/char/scc.csccfreelist[i]->bp->refcnt = 0;
sccfreelist354drivers/char/scc.csccfreelist[i]->inuse = 0;