Lines Matching defs:infd
4090 * Restores a backup of tosnap from the file descriptor specified by infd.
4093 zfs_receive_one(libzfs_handle_t *hdl, int infd, const char *tosnap,
4651 err = recv_read(hdl, infd, buf, drr->drr_payloadlen,
4657 err = recv_skip(hdl, infd, flags->byteswap);
4663 raw, infd, drr_noswap, -1, &read_bytes, &errflags,
4762 err = ioctl_err = recv_skip(hdl, infd,
5000 const char *originsnap, recvflags_t *flags, int infd, const char *sendfs,
5034 if (0 != (err = recv_read(hdl, infd, &drr, sizeof (drr), B_FALSE,
5110 return (zfs_receive_one(hdl, infd, tosnap, originsnap, flags,
5116 return (zfs_receive_package(hdl, infd, tosnap, flags, &drr,
5122 * Restores a backup of tosnap from the file descriptor specified by infd.
5130 recvflags_t *flags, int infd, avl_tree_t *stream_avl)
5141 if (fstat(infd, &sb) == -1) {
5151 libzfs_set_pipe_max(infd);
5159 err = zfs_receive_impl(hdl, tosnap, originsnap, flags, infd, NULL, NULL,