Lines Matching defs:error

646 		    TEXT_DOMAIN, "error parsing share"));
667 TEXT_DOMAIN, "error updating share properties"));
741 const char *name, int error)
746 (void) zfs_standard_error(hdl, NULL, ZFS_TYPE_DATASET, error, tbuf);
1135 * If only "error" is no sharing enabled, then validate is OK
1359 int error;
1376 error = zfs_get_filtered_share_props(zhp, &sp, &is_auto);
1377 if (error != 0)
1380 error = zfs_get_validated_share(zhp, sp, mntpnt, whatsnew, is_auto,
1383 if (error != 0)
1467 int error;
1483 if ((error = zfssa_mark_unused_protocols(zhp, props, protos_used)) != 0)
1484 return (error);
1516 if ((error = zcmd_write_src_nvlist(hdl, &zc,
1519 return (error);
1521 error = ioctl(hdl->libzfs_fd, ZFS_IOC_SET_PROP, &zc);
1522 if (error != 0) {
1525 error = SA_NO_PERMISSION;
1528 error = SA_READ_ONLY;
1531 error = SA_SYSTEM_ERR;
1534 error = zfssa_mark_protocols_used_again(zhp,
1540 return (error);
1623 int error = zfs_prop_set_unaliased(ds_zhp,
1627 if (error) {
1633 int error, len;
1691 error = zfs_prop_set_unaliased(ds_zhp,
1694 if (error) {
1789 "error writing share '%s': %s",
2073 "error creating share file: %s: %s",
2307 "error reading share: %s: %s",
2475 int error;
2488 error = zfs_prop_set(zhp, zfs_prop_to_name(prop), propval);
2489 if (error != 0) {
3644 * If there is an error in the share at publish time,
3808 int error;
3858 error = ioctl(hdl->libzfs_fd, ioc, &zc);
3860 if ((error != 0) && (errno == ENOENT))
3861 error = 0;
3865 return (error);
3904 int error;
3933 error = zfs_prop_set_unaliased(zhp,
3936 error = zfs_prop_set_unaliased(zhp,
3976 error = ioctl(hdl->libzfs_fd, ZFS_IOC_DESTROY, &zc);
3978 return (error);
4189 * If there is an error in the share at publish time,