Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
967 size_t read_pos, in relay_file_read_consume() argument984 if (!read_pos) in relay_file_read_consume()987 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume()1044 static size_t relay_file_read_subbuf_avail(size_t read_pos, in relay_file_read_subbuf_avail() argument1053 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail()1054 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()1080 size_t read_pos = (consumed * subbuf_size + buf->bytes_consumed) in relay_file_read_start_pos() local1083 read_subbuf = read_pos / subbuf_size; in relay_file_read_start_pos()1087 if (read_pos >= padding_start && read_pos < padding_end) { in relay_file_read_start_pos()1089 read_pos = read_subbuf * subbuf_size; in relay_file_read_start_pos()[all …]