Lines Matching full:bfs
185 static struct bf bfs[2];
433 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
435 bfs[1].counter = BF_FREE;
437 return &bfs[0].buf.hdr;
458 bfs[current].counter = BF_FREE; /* free old one */
461 b = &bfs[current]; /* look at new buffer */
482 b = &bfs[nextone]; /* look at "next" buffer */
536 bfs[current].counter = ct; /* set size of data to write */
538 if (bfs[current].counter != BF_FREE) /* if not free */
540 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
541 *dpp = &bfs[current].buf.hdr;
561 b = &bfs[nextone];