Home
last modified time | relevance | path

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

/kernel/
Drelay.c1164 static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed) in relay_consume_bytes() argument
1166 rbuf->bytes_consumed += bytes_consumed; in relay_consume_bytes()
1168 if (rbuf->bytes_consumed >= rbuf->chan->subbuf_size) { in relay_consume_bytes()
1169 relay_subbufs_consumed(rbuf->chan, rbuf->cpu, 1); in relay_consume_bytes()
1170 rbuf->bytes_consumed %= rbuf->chan->subbuf_size; in relay_consume_bytes()
1177 struct rchan_buf *rbuf; in relay_pipe_buf_release() local
1179 rbuf = (struct rchan_buf *)page_private(buf->page); in relay_pipe_buf_release()
1180 relay_consume_bytes(rbuf, buf->private); in relay_pipe_buf_release()
1204 struct rchan_buf *rbuf = in->private_data; in subbuf_splice_actor() local
1205 unsigned int subbuf_size = rbuf->chan->subbuf_size; in subbuf_splice_actor()
[all …]