Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
940 size_t read_pos, in relay_file_read_consume() argument957 if (!read_pos) in relay_file_read_consume()960 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume()973 static int relay_file_read_avail(struct rchan_buf *buf, size_t read_pos) in relay_file_read_avail() argument980 relay_file_read_consume(buf, read_pos, 0); in relay_file_read_avail()1017 static size_t relay_file_read_subbuf_avail(size_t read_pos, in relay_file_read_subbuf_avail() argument1026 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail()1027 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()1048 static size_t relay_file_read_start_pos(size_t read_pos, in relay_file_read_start_pos() argument1056 if (!read_pos) in relay_file_read_start_pos()[all …]