Home
last modified time | relevance | path

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

/kernel/
Drelay.c916 size_t produced = buf->subbufs_produced; in relay_file_read_avail() local
924 if (produced == consumed) in relay_file_read_avail()
929 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()
930 consumed = produced - n_subbufs + 1; in relay_file_read_avail()
935 produced = (produced % n_subbufs) * subbuf_size + buf->offset; in relay_file_read_avail()
938 if (consumed > produced) in relay_file_read_avail()
939 produced += n_subbufs * subbuf_size; in relay_file_read_avail()
941 if (consumed == produced) { in relay_file_read_avail()