Searched refs:bytes_consumed (Results 1 – 1 of 1) sorted by relevance
365 buf->bytes_consumed = 0; in __relay_reset()962 size_t bytes_consumed) in relay_file_read_consume() argument969 buf->offset == buf->bytes_consumed) in relay_file_read_consume()972 if (buf->bytes_consumed + bytes_consumed > subbuf_size) { in relay_file_read_consume()974 buf->bytes_consumed = 0; in relay_file_read_consume()977 buf->bytes_consumed += bytes_consumed; in relay_file_read_consume()982 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()987 buf->bytes_consumed = 0; in relay_file_read_consume()1014 buf->bytes_consumed = 0; in relay_file_read_avail()1018 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()[all …]