Home
last modified time | relevance | path

Searched refs:bytes_consumed (Results 1 – 1 of 1) sorted by relevance

/kernel/
Drelay.c297 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()
[all …]