Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Drelay.c247 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()
258 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
364 buf->subbufs_produced = 0; in __relay_reset()
757 old_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
759 buf->subbufs_produced++; in relay_switch_subbuf()
780 new_subbuf = buf->subbufs_produced % buf->chan->n_subbufs; in relay_switch_subbuf()
827 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()
828 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()
974 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()
989 if ((read_subbuf == buf->subbufs_produced % n_subbufs) && in relay_file_read_consume()
[all …]
/kernel/linux/linux-5.10/include/linux/
Drelay.h39 size_t subbufs_produced; /* count of sub-buffers produced */ member