Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/
Drelay.c246 return (buf->subbufs_produced - buf->subbufs_consumed) ? 0 : 1; in relay_buf_empty()
257 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full()
364 buf->subbufs_consumed = 0; in __relay_reset()
810 size_t subbufs_consumed) in relay_subbufs_consumed() argument
818 if (!buf || subbufs_consumed > chan->n_subbufs) in relay_subbufs_consumed()
821 if (subbufs_consumed > buf->subbufs_produced - buf->subbufs_consumed) in relay_subbufs_consumed()
822 buf->subbufs_consumed = buf->subbufs_produced; in relay_subbufs_consumed()
824 buf->subbufs_consumed += subbufs_consumed; in relay_subbufs_consumed()
968 if (buf->subbufs_produced == buf->subbufs_consumed && in relay_file_read_consume()
979 read_subbuf = buf->subbufs_consumed % n_subbufs; in relay_file_read_consume()
[all …]
/Linux-v5.4/include/linux/
Drelay.h40 size_t subbufs_consumed; /* count of sub-buffers consumed */ member
/Linux-v5.4/Documentation/filesystems/
Drelay.txt167 relay_subbufs_consumed(chan, cpu, subbufs_consumed)