Lines Matching refs:bufhead
202 bufhead.b_next = bufhead.b_prev = &bufhead;
223 bp->b_prev = &bufhead;
224 bp->b_next = bufhead.b_next;
225 bufhead.b_next->b_prev = bp;
226 bufhead.b_next = bp;
229 bufhead.b_size = i; /* save number of buffers */
248 for (bp = bufhead.b_prev; bp != NULL && bp != &bufhead; bp = nbp) {
265 if (bufhead.b_size != cnt)
267 bufhead.b_size - cnt);
278 for (bp = bufhead.b_next; bp != &bufhead; bp = bp->b_next)
282 for (bp = bufhead.b_prev; bp != &bufhead; bp = bp->b_prev)
285 if (bp == &bufhead) {
306 if (bufhead.b_next != bp) {
309 bp->b_prev = &bufhead;
310 bp->b_next = bufhead.b_next;
311 bufhead.b_next->b_prev = bp;
312 bufhead.b_next = bp;
1826 newbp->b_prev = &bufhead;
1827 newbp->b_next = bufhead.b_next;
1828 bufhead.b_next->b_prev = newbp;
1829 bufhead.b_next = newbp;
1830 bufhead.b_size++;