Searched refs:produced (Results 1 – 1 of 1) sorted by relevance
998 size_t produced = buf->subbufs_produced; in relay_file_read_avail() local1006 if (produced == consumed) in relay_file_read_avail()1011 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()1012 consumed = produced - n_subbufs + 1; in relay_file_read_avail()1017 produced = (produced % n_subbufs) * subbuf_size + buf->offset; in relay_file_read_avail()1020 if (consumed > produced) in relay_file_read_avail()1021 produced += n_subbufs * subbuf_size; in relay_file_read_avail()1023 if (consumed == produced) { in relay_file_read_avail()