Searched refs:rbuf (Results 1 – 1 of 1) sorted by relevance
1177 static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed) in relay_consume_bytes() argument1179 rbuf->bytes_consumed += bytes_consumed; in relay_consume_bytes()1181 if (rbuf->bytes_consumed >= rbuf->chan->subbuf_size) { in relay_consume_bytes()1182 relay_subbufs_consumed(rbuf->chan, rbuf->cpu, 1); in relay_consume_bytes()1183 rbuf->bytes_consumed %= rbuf->chan->subbuf_size; in relay_consume_bytes()1190 struct rchan_buf *rbuf; in relay_pipe_buf_release() local1192 rbuf = (struct rchan_buf *)page_private(buf->page); in relay_pipe_buf_release()1193 relay_consume_bytes(rbuf, buf->private); in relay_pipe_buf_release()1221 struct rchan_buf *rbuf = in->private_data; in subbuf_splice_actor() local1222 unsigned int subbuf_size = rbuf->chan->subbuf_size; in subbuf_splice_actor()[all …]