Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Drelay.c884 size_t read_subbuf; in relay_file_read_consume() local
897 read_subbuf = buf->subbufs_consumed % n_subbufs; in relay_file_read_consume()
899 read_subbuf = read_pos / buf->chan->subbuf_size; in relay_file_read_consume()
900 if (buf->bytes_consumed + buf->padding[read_subbuf] == subbuf_size) { in relay_file_read_consume()
901 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()
960 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local
965 read_subbuf = read_pos / subbuf_size; in relay_file_read_subbuf_avail()
967 padding = buf->padding[read_subbuf]; in relay_file_read_subbuf_avail()
969 if (read_subbuf == write_subbuf) { in relay_file_read_subbuf_avail()
988 size_t read_subbuf, padding, padding_start, padding_end; in relay_file_read_start_pos() local
[all …]