buf_ring
buf_ring_dequeue_mc(struct buf_ring *br)
buf_ring_dequeue_sc(struct buf_ring *br)
buf_ring_advance_sc(struct buf_ring *br)
buf_ring_putback_sc(struct buf_ring *br, void *_new)
buf_ring_peek(struct buf_ring *br)
buf_ring_peek_clear_sc(struct buf_ring *br)
buf_ring_full(struct buf_ring *br)
buf_ring_empty(struct buf_ring *br)
buf_ring_count(struct buf_ring *br)
struct buf_ring *buf_ring_alloc(int count, struct malloc_type *type, int flags,
void buf_ring_free(struct buf_ring *br, struct malloc_type *type);
buf_ring_enqueue(struct buf_ring *br, void *buf)
struct buf_ring *
struct buf_ring *br;
br = malloc(sizeof(struct buf_ring) + count*sizeof(caddr_t),
buf_ring_free(struct buf_ring *br, struct malloc_type *type)