Searched refs:write_offset (Results 1 – 1 of 1) sorted by relevance
1021 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local1025 write_offset = buf->offset > subbuf_size ? subbuf_size : buf->offset; in relay_file_read_subbuf_avail()1031 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail()1032 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()