Lines Matching refs:opipe
1220 struct pipe_inode_info *opipe,
1224 struct pipe_inode_info *opipe, in splice_file_to_pipe() argument
1230 pipe_lock(opipe); in splice_file_to_pipe()
1231 ret = wait_for_space(opipe, flags); in splice_file_to_pipe()
1233 ret = vfs_splice_read(in, offset, opipe, len, flags); in splice_file_to_pipe()
1234 pipe_unlock(opipe); in splice_file_to_pipe()
1236 wakeup_pipe_readers(opipe); in splice_file_to_pipe()
1247 struct pipe_inode_info *opipe; in do_splice() local
1256 opipe = get_pipe_info(out, true); in do_splice()
1258 if (ipipe && opipe) { in do_splice()
1263 if (ipipe == opipe) in do_splice()
1269 ret = splice_pipe_to_pipe(ipipe, opipe, len, flags); in do_splice()
1299 } else if (opipe) { in do_splice()
1313 ret = splice_file_to_pipe(in, opipe, &offset, len, flags); in do_splice()
1341 struct pipe_inode_info *opipe; in __do_splice() local
1346 opipe = get_pipe_info(out, true); in __do_splice()
1353 if (opipe) { in __do_splice()
1674 struct pipe_inode_info *opipe, in splice_pipe_to_pipe() argument
1690 ret = opipe_prep(opipe, flags); in splice_pipe_to_pipe()
1699 pipe_double_lock(ipipe, opipe); in splice_pipe_to_pipe()
1703 o_head = opipe->head; in splice_pipe_to_pipe()
1704 o_mask = opipe->ring_size - 1; in splice_pipe_to_pipe()
1709 if (!opipe->readers) { in splice_pipe_to_pipe()
1717 o_tail = opipe->tail; in splice_pipe_to_pipe()
1727 pipe_full(o_head, o_tail, opipe->max_usage)) { in splice_pipe_to_pipe()
1743 pipe_unlock(opipe); in splice_pipe_to_pipe()
1748 obuf = &opipe->bufs[o_head & o_mask]; in splice_pipe_to_pipe()
1761 opipe->head = o_head; in splice_pipe_to_pipe()
1786 opipe->head = o_head; in splice_pipe_to_pipe()
1793 pipe_unlock(opipe); in splice_pipe_to_pipe()
1799 wakeup_pipe_readers(opipe); in splice_pipe_to_pipe()
1811 struct pipe_inode_info *opipe, in link_pipe() argument
1825 pipe_double_lock(ipipe, opipe); in link_pipe()
1829 o_head = opipe->head; in link_pipe()
1830 o_mask = opipe->ring_size - 1; in link_pipe()
1833 if (!opipe->readers) { in link_pipe()
1841 o_tail = opipe->tail; in link_pipe()
1848 pipe_full(o_head, o_tail, opipe->max_usage)) in link_pipe()
1852 obuf = &opipe->bufs[o_head & o_mask]; in link_pipe()
1879 opipe->head = o_head; in link_pipe()
1884 pipe_unlock(opipe); in link_pipe()
1890 wakeup_pipe_readers(opipe); in link_pipe()
1904 struct pipe_inode_info *opipe = get_pipe_info(out, true); in do_tee() local
1915 if (ipipe && opipe && ipipe != opipe) { in do_tee()
1925 ret = opipe_prep(opipe, flags); in do_tee()
1927 ret = link_pipe(ipipe, opipe, len, flags); in do_tee()