Searched refs:bytes_consumed (Results 1 – 1 of 1) sorted by relevance
364 buf->bytes_consumed = 0; in __relay_reset()941 size_t bytes_consumed) in relay_file_read_consume() argument948 buf->offset == buf->bytes_consumed) in relay_file_read_consume()951 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()953 buf->bytes_consumed = 0; in relay_file_read_consume()956 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()961 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()966 buf->bytes_consumed = 0; in relay_file_read_consume()993 buf->bytes_consumed = 0; in relay_file_read_avail()997 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()[all …]