Home
last modified time | relevance | path

Searched refs:read_pos (Results 1 – 1 of 1) sorted by relevance

/kernel/
Drelay.c879 size_t read_pos, in relay_file_read_consume() argument
896 if (!read_pos) in relay_file_read_consume()
899 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume()
956 static size_t relay_file_read_subbuf_avail(size_t read_pos, in relay_file_read_subbuf_avail() argument
965 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail()
966 read_offset = read_pos % subbuf_size; in relay_file_read_subbuf_avail()
992 size_t read_pos = (consumed * subbuf_size + buf->bytes_consumed) in relay_file_read_start_pos() local
995 read_subbuf = read_pos / subbuf_size; in relay_file_read_start_pos()
999 if (read_pos >= padding_start && read_pos < padding_end) { in relay_file_read_start_pos()
1001 read_pos = read_subbuf * subbuf_size; in relay_file_read_start_pos()
[all …]