Searched refs:rbuf (Results 1 – 1 of 1) sorted by relevance
1164 static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed) in relay_consume_bytes() argument1166 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() local1179 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()1205 struct rchan_buf *rbuf = in->private_data; in subbuf_splice_actor() local1206 unsigned int subbuf_size = rbuf->chan->subbuf_size; in subbuf_splice_actor()[all …]