Home
last modified time | relevance | path

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

/linux-5.19.10/kernel/
Drelay.c235 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()
246 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
298 buf->subbufs_produced = 0; in __relay_reset()
672 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
674 buf->subbufs_produced++; in relay_switch_subbuf()
695 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
742 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()
743 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()
889 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()
904 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()
[all …]
/linux-5.19.10/include/linux/
Drelay.h39 size_t subbufs_produced; /* count of sub-buffers produced */ member