1RELAY_SWITCH_SUBBUF(9) relay interface support RELAY_SWITCH_SUBBUF(9)
2
3
4
6 relay_switch_subbuf - switch to a new sub-buffer
7
9 size_t relay_switch_subbuf(struct rchan_buf * buf, size_t length);
10
12 buf
13 channel buffer
14
15 length
16 size of current event
17
19 Returns either the length passed in or 0 if full.
20
21 Performs sub-buffer-switch tasks such as invoking callbacks, updating
22 padding counts, waking up readers, etc.
23
25Kernel Hackers Manual 2.6. June 2019 RELAY_SWITCH_SUBBUF(9)