Home
last modified time | relevance | path

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

/linux-6.1.9/kernel/
Drelay.c232 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()
243 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
295 buf->subbufs_produced = 0; in __relay_reset()
669 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
671 buf->subbufs_produced++; in relay_switch_subbuf()
692 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
739 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()
740 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()
886 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()
901 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()
[all …]
/linux-6.1.9/include/linux/
Drelay.h39 size_t subbufs_produced; /* count of sub-buffers produced */ member