Lines Matching refs:subbufs_produced
246 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()
257 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
363 buf->subbufs_produced = 0; in __relay_reset()
751 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
753 buf->subbufs_produced++; in relay_switch_subbuf()
774 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
821 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()
822 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()
968 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()
983 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()
998 size_t produced = buf->subbufs_produced; in relay_file_read_avail()
1025 buf->subbufs_produced > buf->subbufs_consumed) in relay_file_read_avail()
1221 if (rbuf->subbufs_produced == rbuf->subbufs_consumed) in subbuf_splice_actor()