Home
last modified time | relevance | path

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

/kernel/
Drelay.c977 size_t produced = buf->subbufs_produced; in relay_file_read_avail() local
985 if (produced == consumed) in relay_file_read_avail()
990 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()
991 consumed = produced - n_subbufs + 1; in relay_file_read_avail()
996 produced = (produced % n_subbufs) * subbuf_size + buf->offset; in relay_file_read_avail()
999 if (consumed > produced) in relay_file_read_avail()
1000 produced += n_subbufs * subbuf_size; in relay_file_read_avail()
1002 if (consumed == produced) { in relay_file_read_avail()