Searched refs:read_offset (Results 1 – 1 of 1) sorted by relevance
960 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local966 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()970 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail()971 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()973 avail = (subbuf_size - padding) - read_offset; in relay_file_read_subbuf_avail()