Lines Matching refs:bfs
66 } bfs[2];
100 bfs[0].counter = BF_ALLOC; /* pass out the first buffer */
102 bfs[1].counter = BF_FREE;
104 return (struct tftphdr *)(void *)bfs[0].buf;
119 bfs[current].counter = BF_FREE; /* free old one */
122 b = &bfs[current]; /* look at new buffer */
146 b = &bfs[nextone]; /* look at "next" buffer */
187 bfs[current].counter = ct; /* set size of data to write */
189 if (bfs[current].counter != BF_FREE) /* if not free */
192 bfs[current].counter = BF_ALLOC; /* mark as alloc'd */
193 *dpp = (struct tftphdr *)(void *)bfs[current].buf;
214 b = &bfs[nextone];