Lines Matching refs:pipe

539 	int pipe[2];
544 close(llp->pipe[0]);
545 close(llp->pipe[1]);
553 int rv = pipe(fds);
585 res = fuse_pipe(llp->pipe);
620 fuse_log(FUSE_LOG_ERR, "fuse: internal error: failed to read back from pipe: %s\n", strerror(errno));
624 fuse_log(FUSE_LOG_ERR, "fuse: internal error: short read back from pipe: %i from %zi\n", res, len);
637 maxfd = open("/proc/sys/fs/pipe-max-size", O_RDONLY);
703 * Heuristic for the required pipe size, does not work if the
710 res = fcntl(llp->pipe[0], F_SETPIPE_SZ, pipesize);
712 res = grow_pipe_to_max(llp->pipe[0]);
725 res = vmsplice(llp->pipe[1], iov, iov_count, SPLICE_F_NONBLOCK);
731 fuse_log(FUSE_LOG_ERR, "fuse: short vmsplice to pipe: %u/%zu\n", res,
737 pipe_buf.buf[0].fd = llp->pipe[1];
747 * returned even if the pipe itself is not
774 * the pipe because of small buffer fragments.
789 * back the data from the pipe and then fall
798 res = read_back(llp->pipe[0], tmpbuf, headerlen);
804 res = read_back(llp->pipe[0], mbuf, now_len);
835 res = se->io->splice_send(llp->pipe[0], NULL,
839 res = splice(llp->pipe[0], NULL, ch ? ch->fd : se->fd, NULL,
844 perror("fuse: splice from pipe");
849 fuse_log(FUSE_LOG_ERR, "fuse: short splice from pipe: %u/%u\n",
1440 /* Need to reset the pipe if ->write_buf() didn't consume all data */
2630 fuse_log(FUSE_LOG_ERR, "fuse: copy from pipe: %s\n", strerror(-res));
2634 fuse_log(FUSE_LOG_ERR, "fuse: copy from pipe: short read\n");
2866 res = fcntl(llp->pipe[0], F_SETPIPE_SZ, bufsize);
2869 res = grow_pipe_to_max(llp->pipe[0]);
2882 llp->pipe[1], NULL, bufsize, 0,
2885 res = splice(ch ? ch->fd : se->fd, NULL, llp->pipe[1], NULL,
2913 .fd = llp->pipe[0],
2940 fuse_log(FUSE_LOG_ERR, "fuse: copy from pipe: %s\n",
2946 fuse_log(FUSE_LOG_ERR, "fuse: copy from pipe: short read\n");