Lines Matching defs:errbuf
555 char errbuf[1024];
557 (void) snprintf(errbuf, sizeof (errbuf),
567 (void) zfs_error(hdl, EZFS_INVALIDNAME, errbuf);
575 errno, errbuf);
585 errno, errbuf);
591 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf);
857 const char *propname, uint64_t zoned, const char *errbuf,
879 return (zfs_error(hdl, EZFS_ZONED, errbuf));
887 return (zfs_error(hdl, EZFS_ZONED, errbuf));
893 return (zfs_error(hdl, EZFS_ZONED, errbuf));
899 return (zfs_error(hdl, EZFS_ZONED, errbuf));
910 return (zfs_error(hdl, EZFS_ZONED, errbuf));
925 const char *errbuf, zfs_proplist_flags_t flags)
991 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1006 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1024 (void) zfs_error(hdl, EZFS_PROPTYPE, errbuf);
1042 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1052 errbuf);
1063 EZFS_BADPROP, errbuf);
1078 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1104 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1112 (void) zfs_error(hdl, EZFS_PROPTYPE, errbuf);
1125 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf);
1151 errbuf, NULL, -1) != 0)
1168 errbuf);
1189 errbuf);
1206 &strval, &intval, errbuf) != 0)
1224 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1247 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1290 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1319 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1340 errbuf);
1362 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1378 errbuf);
1389 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1459 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1470 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1512 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1523 errbuf);
1531 (void) zfs_error(hdl, EZFS_ZONED, errbuf);
1575 (void) zfs_error(hdl, err, errbuf);
1581 (void) zfs_error(hdl, err, errbuf);
1618 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1632 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1654 errbuf, strval, intval) != 0)
1683 errbuf);
1710 errbuf);
1728 errbuf);
1741 EZFS_PROPREADONLY, errbuf);
1764 EZFS_PROPREADONLY, errbuf);
1778 (void) zfs_error(hdl, EZFS_KEYERR, errbuf);
1787 (void) zfs_error(hdl, EZFS_KEYERR, errbuf);
1815 EZFS_OPENFAILED, errbuf);
1831 errbuf);
1857 errbuf);
1871 errbuf);
1880 errbuf);
1912 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1935 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
1995 const char *propname, int err, char *errbuf)
2017 (void) zfs_error(hdl, EZFS_PROPSPACE, errbuf);
2024 (void) zfs_error(hdl, EZFS_PROPSPACE, errbuf);
2028 (void) zfs_standard_error(hdl, NULL, type, err, errbuf);
2034 (void) zfs_standard_error(hdl, NULL, type, EBUSY, errbuf);
2038 (void) zfs_error(hdl, EZFS_DSREADONLY, errbuf);
2045 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf);
2053 (void) zfs_error(hdl, EZFS_NOTSUP, errbuf);
2055 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf);
2057 (void) zfs_standard_error(hdl, NULL, type, err, errbuf);
2063 (void) zfs_error(hdl, EZFS_BADPROP, errbuf);
2065 (void) zfs_standard_error(hdl, NULL, type, err, errbuf);
2075 (void) zfs_error(hdl, EZFS_VOLTOOBIG, errbuf);
2081 (void) zfs_standard_error(hdl, NULL, type, err, errbuf);
2101 char errbuf[1024];
2113 (void) snprintf(errbuf, sizeof (errbuf),
2120 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
2151 return (zfs_error(hdl, EZFS_PROPNONINHERIT, errbuf));
2183 errbuf, proplist_flags)) == NULL) {
2212 ret = zfs_error(hdl, EZFS_ZONED, errbuf);
2219 ret = zfs_error(hdl, EZFS_BADPROP, errbuf);
2247 zfs_setprop_error(hdl, zhp->zfs_type, propname, errno, errbuf);
2293 char errbuf[1024];
2300 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
2306 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
2336 return (zfs_error(hdl, ret, errbuf));
2352 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
2355 errno, errbuf));
2376 return (zfs_error(hdl, EZFS_PROPREADONLY, errbuf));
2382 return (zfs_error(hdl, EZFS_PROPNONINHERIT, errbuf));
2388 return (zfs_error(hdl, EZFS_PROPTYPE, errbuf));
2397 return (zfs_error(hdl, EZFS_PROPREADONLY, errbuf));
2406 return (zfs_error(hdl, EZFS_ZONED, errbuf));
2423 ret = zfs_error(hdl, EZFS_ZONED, errbuf);
2430 errbuf);
2453 errbuf);
2470 errbuf);
2484 ret = zfs_error(hdl, EZFS_BADPROP, errbuf);
2494 errno, errbuf));
4673 char errbuf[1024];
4676 (void) snprintf(errbuf, sizeof (errbuf),
4683 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
4695 return (zfs_error(hdl, EZFS_NOENT, errbuf));
4708 return (zfs_error(hdl, EZFS_NOENT, errbuf));
4713 return (zfs_error(hdl, EZFS_NOENT, errbuf));
4716 ZFS_TYPE_FILESYSTEM, errno, errbuf));
4726 ZFS_TYPE_FILESYSTEM, EPERM, errbuf);
4735 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf);
4884 char errbuf[1024];
4887 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
4892 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
4909 return (zfs_error(hdl, EZFS_EXISTS, errbuf));
4930 NULL, parent_zhp, errbuf, 0);
4949 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
4962 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
4970 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
4978 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
5004 return (zfs_error(hdl, EZFS_NOENT, errbuf));
5009 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
5018 return (zfs_error(hdl, EZFS_BADPROP, errbuf));
5024 return (zfs_error(hdl, EZFS_BADVERSION, errbuf));
5029 return (zfs_error(hdl, EZFS_KEYERR, errbuf));
5037 errbuf));
5042 errno, errbuf));
5077 char errbuf[1024];
5078 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5086 errbuf));
5175 char errbuf[1024];
5177 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5184 return (zfs_error(zhp->zfs_hdl, EZFS_EXISTS, errbuf));
5188 ZFS_TYPE_SNAPSHOT, errno, errbuf));
5204 char errbuf[1024];
5211 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5216 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5238 NULL, parent_zhp, errbuf, 0);
5280 return (zfs_error(zhp->zfs_hdl, EZFS_NOENT, errbuf));
5286 errbuf));
5290 zhp->zfs_type, errno, errbuf));
5307 char errbuf[1024];
5309 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5315 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
5322 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
5339 return (zfs_error(hdl, EZFS_EXISTS, errbuf));
5343 zhp->zfs_type, save_errno, errbuf));
5361 char errbuf[1024];
5363 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5368 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5372 props, B_FALSE, NULL, NULL, errbuf, 0)) == NULL)
5410 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5413 errno, errbuf);
5624 char errbuf[1024];
5631 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5664 errbuf));
5668 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5677 return (zfs_error(hdl, EZFS_NOTMOUNTED, errbuf));
5688 errbuf));
5694 errbuf));
5712 errbuf));
5733 errbuf));
5737 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5749 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5755 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
5759 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5771 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf));
5779 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf));
5783 (void) snprintf(errbuf, sizeof (errbuf),
5792 return (zfs_error(hdl, EZFS_ZONED, errbuf));
5819 (void) zfs_error(hdl, EZFS_ZONED, errbuf);
5832 ret = zfs_error(hdl, EZFS_BADPROP, errbuf);
5848 (void) zfs_error(zhp->zfs_hdl, EZFS_KEYERR, errbuf);
5857 (void) zfs_error(zhp->zfs_hdl, EZFS_OPENFAILED, errbuf);
5868 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
5875 (void) zfs_error(hdl, EZFS_EXISTS, errbuf);
5878 zhp->zfs_type, errno, errbuf);
6321 fsid_preop_check(libzfs_handle_t *hdl, const char *fsname, char *errbuf)
6333 error = zfs_error(hdl, EZFS_BADTYPE, errbuf);
6342 error = zfs_error(hdl, EZFS_NOENT, errbuf);
6347 ZFS_TYPE_FILESYSTEM, errno, errbuf);
6385 char errbuf[1024];
6388 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
6391 error = fsid_preop_check(hdl, fsname, errbuf);
6409 error = zfs_error(hdl, EZFS_EXISTS, errbuf);
6414 error = zfs_error(hdl, EZFS_INVALIDNAME, errbuf);
6417 ZFS_TYPE_FILESYSTEM, errno, errbuf);
6453 char errbuf[1024];
6456 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
6459 error = fsid_preop_check(hdl, fsname, errbuf);
6472 error = zfs_error(hdl, EZFS_INVALIDNAME, errbuf);
6475 ZFS_TYPE_FILESYSTEM, errno, errbuf);
6499 char errbuf[1024];
6502 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
6505 error = fsid_preop_check(hdl, fsname, errbuf);
6518 error = zfs_error(hdl, EZFS_INVALIDNAME, errbuf);
6521 ZFS_TYPE_FILESYSTEM, errno, errbuf);
6538 error = zfs_error(hdl, EZFS_INVALIDNAME, errbuf);
6541 ZFS_TYPE_FILESYSTEM, errno, errbuf);
6606 char errbuf[ZFS_MAXNAMELEN+32];
6612 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
6622 return (zfs_error(hdl, EZFS_TAGTOOLONG, errbuf));
6626 return (zfs_error(hdl, EZFS_BADVERSION, errbuf));
6628 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
6630 return (zfs_error(hdl, EZFS_REFTAG_HOLD, errbuf));
6637 ZFS_TYPE_SNAPSHOT, errno, errbuf));
6659 char errbuf[ZFS_MAXNAMELEN+32];
6665 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN,
6670 return (zfs_error(hdl, EZFS_REFTAG_RELE, errbuf));
6674 return (zfs_error(hdl, EZFS_BADVERSION, errbuf));
6676 return (zfs_error(hdl, EZFS_BADTYPE, errbuf));
6679 ZFS_TYPE_SNAPSHOT, errno, errbuf));