| tag | line | file | source code |
| sccfreelist | 207 | drivers/char/scc.c | static struct sccbuf *sccfreelist[MAX_IBUFS] = {0}; |
| sccfreelist | 295 | drivers/char/scc.c | sccfreelist[i] = sccb; |
| sccfreelist | 296 | drivers/char/scc.c | sccfreelist[i]->bp = bp; |
| sccfreelist | 297 | drivers/char/scc.c | memset(sccfreelist[i]->bp ,0,sizeof(struct mbuf)); |
| sccfreelist | 298 | drivers/char/scc.c | sccfreelist[i]->inuse = 0; |
| sccfreelist | 299 | drivers/char/scc.c | sccfreelist[i]->bp->type = 0; |
| sccfreelist | 300 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
| sccfreelist | 301 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
| sccfreelist | 315 | drivers/char/scc.c | if (sccfreelist[i]->inuse) |
| sccfreelist | 317 | drivers/char/scc.c | switch (sccfreelist[i]->bp->type) |
| sccfreelist | 344 | drivers/char/scc.c | if(sccfreelist[i]->inuse == 0) |
| sccfreelist | 346 | drivers/char/scc.c | sccfreelist[i]->inuse = 1; |
| sccfreelist | 347 | drivers/char/scc.c | sccfreelist[i]->bp->type = type; |
| sccfreelist | 348 | drivers/char/scc.c | sccfreelist[i]->bp->next = NULLBUF; |
| sccfreelist | 349 | drivers/char/scc.c | sccfreelist[i]->bp->anext = NULLBUF; |
| sccfreelist | 350 | drivers/char/scc.c | sccfreelist[i]->bp->dup = NULLBUF; |
| sccfreelist | 351 | drivers/char/scc.c | sccfreelist[i]->bp->size = BUFSIZE; |
| sccfreelist | 352 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 1; |
| sccfreelist | 353 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
| sccfreelist | 354 | drivers/char/scc.c | sccfreelist[i]->bp->in_use = 0; |
| sccfreelist | 357 | drivers/char/scc.c | return sccfreelist[i]->bp; |
| sccfreelist | 388 | drivers/char/scc.c | if(sccfreelist[i]->bp == bp->dup) |
| sccfreelist | 390 | drivers/char/scc.c | if (sccfreelist[i]->bp->type != type) |
| sccfreelist | 393 | drivers/char/scc.c | type,sccfreelist[i]->bp->type); |
| sccfreelist | 396 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
| sccfreelist | 397 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
| sccfreelist | 398 | drivers/char/scc.c | sccfreelist[i]->bp->in_use = 0; |
| sccfreelist | 399 | drivers/char/scc.c | sccfreelist[i]->inuse = 0; |
| sccfreelist | 410 | drivers/char/scc.c | if(sccfreelist[i]->bp == bp) |
| sccfreelist | 412 | drivers/char/scc.c | if (sccfreelist[i]->bp->type != type) |
| sccfreelist | 415 | drivers/char/scc.c | type,sccfreelist[i]->bp->type); |
| sccfreelist | 418 | drivers/char/scc.c | sccfreelist[i]->bp->cnt = 0; |
| sccfreelist | 419 | drivers/char/scc.c | sccfreelist[i]->bp->refcnt = 0; |
| sccfreelist | 420 | drivers/char/scc.c | sccfreelist[i]->inuse = 0; |