Lines Matching refs:bytes_consumed
297 buf->bytes_consumed = 0; in __relay_reset()
880 size_t bytes_consumed) in relay_file_read_consume() argument
887 buf->offset == buf->bytes_consumed) in relay_file_read_consume()
890 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()
892 buf->bytes_consumed = 0; in relay_file_read_consume()
895 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()
900 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()
905 buf->bytes_consumed = 0; in relay_file_read_consume()
932 buf->bytes_consumed = 0; in relay_file_read_avail()
936 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()
992 size_t read_pos = (consumed * subbuf_size + buf->bytes_consumed) in relay_file_read_start_pos()