Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance
961 size_t read_pos, in relay_file_read_consume() argument978 if (!read_pos) in relay_file_read_consume()981 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume()994 static int relay_file_read_avail(struct rchan_buf *buf, size_t read_pos) in relay_file_read_avail() argument1001 relay_file_read_consume(buf, read_pos, 0); in relay_file_read_avail()1038 static size_t relay_file_read_subbuf_avail(size_t read_pos, in relay_file_read_subbuf_avail() argument1047 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail()1048 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()1069 static size_t relay_file_read_start_pos(size_t read_pos, in relay_file_read_start_pos() argument1077 if (!read_pos) in relay_file_read_start_pos()[all …]