Lines Matching defs:pipe
864 static int pipe_to_sg(struct pipe_inode_info *pipe, struct pipe_buffer *buf,
874 if (pipe_buf_try_steal(pipe, buf)) {
908 static ssize_t port_fops_splice_write(struct pipe_inode_info *pipe,
933 pipe_lock(pipe);
935 if (pipe_empty(pipe->head, pipe->tail))
942 occupancy = pipe_occupancy(pipe->head, pipe->tail);
955 ret = __splice_from_pipe(pipe, &sd, pipe_to_sg);
956 pipe_unlock(pipe);
965 pipe_unlock(pipe);