Home
last modified time | relevance | path

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

/kernel/
Drelay.c1076 static void relay_consume_bytes(struct rchan_buf *rbuf, int bytes_consumed) in relay_consume_bytes() argument
1078 rbuf->bytes_consumed += bytes_consumed; in relay_consume_bytes()
1080 if (rbuf->bytes_consumed >= rbuf->chan->subbuf_size) { in relay_consume_bytes()
1081 relay_subbufs_consumed(rbuf->chan, rbuf->cpu, 1); in relay_consume_bytes()
1082 rbuf->bytes_consumed %= rbuf->chan->subbuf_size; in relay_consume_bytes()
1089 struct rchan_buf *rbuf; in relay_pipe_buf_release() local
1091 rbuf = (struct rchan_buf *)page_private(buf->page); in relay_pipe_buf_release()
1092 relay_consume_bytes(rbuf, buf->private); in relay_pipe_buf_release()
1116 struct rchan_buf *rbuf = in->private_data; in subbuf_splice_actor() local
1117 unsigned int subbuf_size = rbuf->chan->subbuf_size; in subbuf_splice_actor()
[all …]