Lines Matching refs:ipipe
1276 static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe,
1303 struct pipe_inode_info *ipipe; in do_splice() local
1312 ipipe = get_pipe_info(in, true); in do_splice()
1315 if (ipipe && opipe) { in do_splice()
1320 if (ipipe == opipe) in do_splice()
1326 ret = splice_pipe_to_pipe(ipipe, opipe, len, flags); in do_splice()
1327 } else if (ipipe) { in do_splice()
1349 ret = do_splice_from(ipipe, out, &offset, len, flags); in do_splice()
1401 struct pipe_inode_info *ipipe; in __do_splice() local
1406 ipipe = get_pipe_info(in, true); in __do_splice()
1409 if (ipipe) { in __do_splice()
1716 static int splice_pipe_to_pipe(struct pipe_inode_info *ipipe, in splice_pipe_to_pipe() argument
1728 ret = ipipe_prep(ipipe, flags); in splice_pipe_to_pipe()
1741 pipe_double_lock(ipipe, opipe); in splice_pipe_to_pipe()
1743 i_tail = ipipe->tail; in splice_pipe_to_pipe()
1756 i_head = ipipe->head; in splice_pipe_to_pipe()
1759 if (pipe_empty(i_head, i_tail) && !ipipe->writers) in splice_pipe_to_pipe()
1782 pipe_unlock(ipipe); in splice_pipe_to_pipe()
1787 ibuf = pipe_buf(ipipe, i_tail); in splice_pipe_to_pipe()
1797 ipipe->tail = i_tail; in splice_pipe_to_pipe()
1807 if (!pipe_buf_get(ipipe, ibuf)) { in splice_pipe_to_pipe()
1832 pipe_unlock(ipipe); in splice_pipe_to_pipe()
1842 wakeup_pipe_writers(ipipe); in splice_pipe_to_pipe()
1850 static ssize_t link_pipe(struct pipe_inode_info *ipipe, in link_pipe() argument
1864 pipe_double_lock(ipipe, opipe); in link_pipe()
1866 i_tail = ipipe->tail; in link_pipe()
1877 i_head = ipipe->head; in link_pipe()
1888 ibuf = pipe_buf(ipipe, i_tail); in link_pipe()
1895 if (!pipe_buf_get(ipipe, ibuf)) { in link_pipe()
1920 pipe_unlock(ipipe); in link_pipe()
1941 struct pipe_inode_info *ipipe = get_pipe_info(in, true); in do_tee() local
1953 if (ipipe && opipe && ipipe != opipe) { in do_tee()
1961 ret = ipipe_prep(ipipe, flags); in do_tee()
1965 ret = link_pipe(ipipe, opipe, len, flags); in do_tee()