1RELAY_SUBBUFS_CONSUM(9) relay interface support RELAY_SUBBUFS_CONSUM(9)
2
3
4
6 relay_subbufs_consumed - update the buffer's sub-buffers-consumed count
7
9 void relay_subbufs_consumed(struct rchan * chan, unsigned int cpu,
10 size_t subbufs_consumed);
11
13 chan
14 the channel
15
16 cpu
17 the cpu associated with the channel buffer to update
18
19 subbufs_consumed
20 number of sub-buffers to add to current buf's count
21
23 Adds to the channel buffer's consumed sub-buffer count.
24 subbufs_consumed should be the number of sub-buffers newly consumed,
25 not the total consumed.
26
27 NOTE. Kernel clients don't need to call this function if the channel
28 mode is 'overwrite'.
29
31Kernel Hackers Manual 3.10 June 2019 RELAY_SUBBUFS_CONSUM(9)