Lines Matching defs:error

683 	 * It is an error to send received properties before pool version 22,
876 int error;
888 if ((error = send_iterate_fs(zhp, &sd)) != 0) {
893 return (error);
1043 VERIFY(0 == nvlist_add_uint64(thisdbg, "error", errno));
1052 /* Treat this as a warning rather than an error */
1101 int error = 0;
1120 * handle that error.
1123 error = zfs_hold(pzhp, thissnap, sdd->holdtag,
1130 return (error);
1291 * them get the error.
1656 * there was some error, because it might not be totally
2037 int error;
2052 if ((error = gather_nvlist(hdl, tofs, fromsnap, NULL,
2054 return (error);
2133 error = zfs_ioctl(hdl, ZFS_IOC_PROMOTE, &zc);
2134 if (error == 0) {
2185 error = recv_destroy(hdl, name,
2187 if (error)
2223 error = recv_rename(hdl, name, tryname,
2225 if (error)
2254 error = recv_destroy(hdl, name,
2256 if (error)
2303 error = recv_rename(hdl, name, tryname,
2305 if (error)
2317 error = recv_destroy(hdl, fsname, strlen(tofs) + 1,
2319 if (error)
2383 error = recv_rename(hdl, fsname, tryname,
2391 if (error)
2423 int error;
2440 error = recv_read_nvlist(hdl, rdp->infd, drr->drr_payloadlen,
2442 if (error) {
2443 error = zfs_error(hdl, EZFS_BADSTREAM, errbuf);
2454 error = zfs_error(hdl, EZFS_BADSTREAM, errbuf);
2461 if (0 != (error = recv_read(hdl, rdp->infd, &drre, sizeof (drre),
2476 error = zfs_error(hdl, EZFS_BADSTREAM, errbuf);
2482 error = zfs_error(hdl, EZFS_BADSTREAM, errbuf);
2496 error = zfs_error(hdl, EZFS_NOMEM, errbuf);
2579 * error, in which case do a recv_skip() and drive on.
2584 error = zfs_receive_impl(hdl, rdp, sendfs, stream_nv,
2586 if (error == ENODATA) {
2587 error = 0;
2590 anyerr |= error;
2591 } while (error == 0);
2607 error = -2;
2609 error = -1;
2610 return (error);
2615 const char *propname, int error)
2620 zfs_setprop_error(hdl, ZFS_TYPE_DATASET, propname, error, tbuf);
3458 "error receiving %s\n",
3502 * get a strange "does not exist" error message.