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