Searched refs:consumed (Results 1 – 1 of 1) sorted by relevance
978 size_t consumed = buf->subbufs_consumed; in relay_file_read_avail() local982 consumed = buf->subbufs_consumed; in relay_file_read_avail()985 if (produced == consumed) in relay_file_read_avail()990 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()991 consumed = produced - n_subbufs + 1; in relay_file_read_avail()992 buf->subbufs_consumed = consumed; in relay_file_read_avail()997 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()999 if (consumed > produced) in relay_file_read_avail()1002 if (consumed == produced) { in relay_file_read_avail()1054 size_t consumed = buf->subbufs_consumed % n_subbufs; in relay_file_read_start_pos() local[all …]