Searched refs:subbufs_produced (Results 1 – 2 of 2) sorted by relevance
235 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()246 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()298 buf->subbufs_produced = 0; in __relay_reset()672 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()674 buf->subbufs_produced++; in relay_switch_subbuf()695 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()742 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()743 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()889 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()904 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()[all …]
39 size_t subbufs_produced; /* count of sub-buffers produced */ member