Searched refs:ibuf (Results 1 – 2 of 2) sorted by relevance
1441 struct pipe_buffer *ibuf, *obuf; in splice_pipe_to_pipe() local1511 ibuf = &ipipe->bufs[i_tail & i_mask]; in splice_pipe_to_pipe()1514 if (len >= ibuf->len) { in splice_pipe_to_pipe()1518 *obuf = *ibuf; in splice_pipe_to_pipe()1519 ibuf->ops = NULL; in splice_pipe_to_pipe()1531 if (!pipe_buf_get(ipipe, ibuf)) { in splice_pipe_to_pipe()1536 *obuf = *ibuf; in splice_pipe_to_pipe()1546 ibuf->offset += len; in splice_pipe_to_pipe()1547 ibuf->len -= len; in splice_pipe_to_pipe()1578 struct pipe_buffer *ibuf, *obuf; in link_pipe() local[all …]
2041 struct pipe_buffer *ibuf; in fuse_dev_splice_write() local2047 ibuf = &pipe->bufs[tail & mask]; in fuse_dev_splice_write()2050 if (rem >= ibuf->len) { in fuse_dev_splice_write()2051 *obuf = *ibuf; in fuse_dev_splice_write()2052 ibuf->ops = NULL; in fuse_dev_splice_write()2056 if (!pipe_buf_get(pipe, ibuf)) in fuse_dev_splice_write()2059 *obuf = *ibuf; in fuse_dev_splice_write()2062 ibuf->offset += obuf->len; in fuse_dev_splice_write()2063 ibuf->len -= obuf->len; in fuse_dev_splice_write()