dt_ring_copy
int dt_ring_copy(struct dt_cpubuf *, struct uio *, size_t, size_t *);
error = dt_ring_copy(dc, uio, max, &count);