Lines Matching refs:errbuf

678 	char errbuf[1024];  in zfs_open()  local
681 (void) snprintf(errbuf, sizeof (errbuf), in zfs_open()
688 (void) zfs_error(hdl, EZFS_INVALIDNAME, errbuf); in zfs_open()
703 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open()
724 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open()
734 (void) zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_open()
739 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_open()
752 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_open()
961 boolean_t key_params_ok, const char *errbuf) in zfs_valid_proplist() argument
993 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1001 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1020 (void) zfs_error(hdl, EZFS_PROPTYPE, errbuf); in zfs_valid_proplist()
1037 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1051 errbuf); in zfs_valid_proplist()
1062 EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1077 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1102 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf); in zfs_valid_proplist()
1109 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1117 (void) zfs_error(hdl, EZFS_PROPTYPE, errbuf); in zfs_valid_proplist()
1127 (void) zfs_error(hdl, EZFS_PROPREADONLY, errbuf); in zfs_valid_proplist()
1132 &strval, &intval, errbuf) != 0) in zfs_valid_proplist()
1150 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1184 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1214 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1267 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1303 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1335 errbuf); in zfs_valid_proplist()
1346 (void) zfs_error(hdl, EZFS_ZONED, errbuf); in zfs_valid_proplist()
1388 errbuf); in zfs_valid_proplist()
1404 errbuf); in zfs_valid_proplist()
1417 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1431 errbuf); in zfs_valid_proplist()
1439 errbuf); in zfs_valid_proplist()
1450 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1485 errbuf); in zfs_valid_proplist()
1496 errbuf); in zfs_valid_proplist()
1510 errbuf); in zfs_valid_proplist()
1519 errbuf); in zfs_valid_proplist()
1541 errbuf); in zfs_valid_proplist()
1568 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_valid_proplist()
1682 char *errbuf) in zfs_setprop_error() argument
1698 (void) zfs_error(hdl, EZFS_PROPSPACE, errbuf); in zfs_setprop_error()
1705 (void) zfs_error(hdl, EZFS_PROPSPACE, errbuf); in zfs_setprop_error()
1709 (void) zfs_standard_error(hdl, err, errbuf); in zfs_setprop_error()
1715 (void) zfs_standard_error(hdl, EBUSY, errbuf); in zfs_setprop_error()
1719 (void) zfs_error(hdl, EZFS_DSREADONLY, errbuf); in zfs_setprop_error()
1725 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_setprop_error()
1732 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_setprop_error()
1741 (void) zfs_error(hdl, EZFS_NOTSUP, errbuf); in zfs_setprop_error()
1747 (void) zfs_error(hdl, EZFS_NOTSUP, errbuf); in zfs_setprop_error()
1749 (void) zfs_standard_error(hdl, err, errbuf); in zfs_setprop_error()
1755 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_setprop_error()
1757 (void) zfs_standard_error(hdl, err, errbuf); in zfs_setprop_error()
1765 (void) zfs_error(hdl, EZFS_BADPROP, errbuf); in zfs_setprop_error()
1767 (void) zfs_standard_error(hdl, err, errbuf); in zfs_setprop_error()
1777 (void) zfs_error(hdl, EZFS_VOLTOOBIG, errbuf); in zfs_setprop_error()
1783 (void) zfs_standard_error(hdl, err, errbuf); in zfs_setprop_error()
1794 char errbuf[1024]; in zfs_prop_set() local
1798 (void) snprintf(errbuf, sizeof (errbuf), in zfs_prop_set()
1828 char errbuf[1024]; in zfs_prop_set_list() local
1834 (void) snprintf(errbuf, sizeof (errbuf), in zfs_prop_set_list()
1840 B_FALSE, errbuf)) == NULL) in zfs_prop_set_list()
1899 ret = zfs_error(hdl, EZFS_ZONED, errbuf); in zfs_prop_set_list()
1924 (void) zfs_standard_error(hdl, errno, errbuf); in zfs_prop_set_list()
1936 zfs_setprop_error(hdl, prop, errno, errbuf); in zfs_prop_set_list()
1999 char errbuf[1024]; in zfs_prop_inherit() local
2002 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_prop_inherit()
2014 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_prop_inherit()
2021 return (zfs_standard_error(hdl, errno, errbuf)); in zfs_prop_inherit()
2030 return (zfs_error(hdl, EZFS_PROPREADONLY, errbuf)); in zfs_prop_inherit()
2033 return (zfs_error(hdl, EZFS_PROPNONINHERIT, errbuf)); in zfs_prop_inherit()
2039 return (zfs_error(hdl, EZFS_PROPTYPE, errbuf)); in zfs_prop_inherit()
2052 return (zfs_error(hdl, EZFS_ZONED, errbuf)); in zfs_prop_inherit()
2065 ret = zfs_error(hdl, EZFS_ZONED, errbuf); in zfs_prop_inherit()
2073 return (zfs_standard_error(hdl, errno, errbuf)); in zfs_prop_inherit()
3370 char errbuf[1024]; in check_parents() local
3373 (void) snprintf(errbuf, sizeof (errbuf), in check_parents()
3380 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in check_parents()
3392 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in check_parents()
3404 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in check_parents()
3409 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in check_parents()
3411 return (zfs_standard_error(hdl, errno, errbuf)); in check_parents()
3420 (void) zfs_standard_error(hdl, EPERM, errbuf); in check_parents()
3429 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in check_parents()
3547 char errbuf[1024]; in zfs_create_ancestors() local
3550 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_create_ancestors()
3560 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_create_ancestors()
3588 char errbuf[1024]; in zfs_create() local
3594 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_create()
3599 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_create()
3604 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_create()
3621 return (zfs_error(hdl, EZFS_EXISTS, errbuf)); in zfs_create()
3642 zoned, NULL, zpool_handle, B_TRUE, errbuf)) == 0) { in zfs_create()
3661 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_create()
3674 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_create()
3682 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_create()
3690 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_create()
3698 return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); in zfs_create()
3713 return (zfs_error(hdl, EZFS_NOENT, errbuf)); in zfs_create()
3718 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_create()
3724 return (zfs_error(hdl, EZFS_BADVERSION, errbuf)); in zfs_create()
3728 return (zfs_error(hdl, EZFS_BADPROP, errbuf)); in zfs_create()
3733 return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); in zfs_create()
3742 errbuf)); in zfs_create()
3746 return (zfs_standard_error(hdl, errno, errbuf)); in zfs_create()
3863 char errbuf[1024]; in zfs_destroy_snaps_nvl() local
3864 (void) snprintf(errbuf, sizeof (errbuf), in zfs_destroy_snaps_nvl()
3867 ret = zfs_standard_error(hdl, ret, errbuf); in zfs_destroy_snaps_nvl()
3871 char errbuf[1024]; in zfs_destroy_snaps_nvl() local
3872 (void) snprintf(errbuf, sizeof (errbuf), in zfs_destroy_snaps_nvl()
3880 ret = zfs_error(hdl, EZFS_EXISTS, errbuf); in zfs_destroy_snaps_nvl()
3883 ret = zfs_standard_error(hdl, errno, errbuf); in zfs_destroy_snaps_nvl()
3900 char errbuf[1024]; in zfs_clone() local
3906 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_clone()
3911 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_clone()
3930 zhp, zhp->zpool_hdl, B_TRUE, errbuf)) == NULL) in zfs_clone()
3940 return (zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf)); in zfs_clone()
3961 return (zfs_error(zhp->zfs_hdl, EZFS_NOENT, errbuf)); in zfs_clone()
3967 errbuf)); in zfs_clone()
3971 errbuf)); in zfs_clone()
3987 char errbuf[1024]; in zfs_promote() local
3989 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_promote()
3995 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_promote()
4001 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_promote()
4005 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_promote()
4016 return (zfs_error(hdl, EZFS_EXISTS, errbuf)); in zfs_promote()
4019 return (zfs_standard_error(hdl, ret, errbuf)); in zfs_promote()
4054 char errbuf[1024]; in zfs_remap_indirects() local
4056 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_remap_indirects()
4066 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_remap_indirects()
4069 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_remap_indirects()
4072 (void) zfs_standard_error(hdl, err, errbuf); in zfs_remap_indirects()
4088 char errbuf[1024]; in zfs_snapshot_nvl() local
4092 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_snapshot_nvl()
4102 (void) snprintf(errbuf, sizeof (errbuf), in zfs_snapshot_nvl()
4105 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_snapshot_nvl()
4121 props, B_FALSE, NULL, zpool_hdl, B_FALSE, errbuf)) == NULL) { in zfs_snapshot_nvl()
4134 (void) snprintf(errbuf, sizeof (errbuf), in zfs_snapshot_nvl()
4138 fnvpair_value_int32(elem), errbuf); in zfs_snapshot_nvl()
4147 (void) zfs_error(hdl, EZFS_EXISTS, errbuf); in zfs_snapshot_nvl()
4151 (void) zfs_standard_error(hdl, ret, errbuf); in zfs_snapshot_nvl()
4170 char errbuf[1024]; in zfs_snapshot() local
4172 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_snapshot()
4176 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_snapshot()
4306 char errbuf[1024]; in zfs_rollback() local
4308 (void) snprintf(errbuf, sizeof (errbuf), in zfs_rollback()
4316 (void) zfs_error(zhp->zfs_hdl, EZFS_EXISTS, errbuf); in zfs_rollback()
4322 (void) zfs_error(zhp->zfs_hdl, EZFS_NOENT, errbuf); in zfs_rollback()
4325 (void) zfs_error(zhp->zfs_hdl, EZFS_BADTYPE, errbuf); in zfs_rollback()
4328 (void) zfs_standard_error(zhp->zfs_hdl, err, errbuf); in zfs_rollback()
4367 char errbuf[1024]; in zfs_rename() local
4373 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_rename()
4378 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_rename()
4410 errbuf)); in zfs_rename()
4415 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_rename()
4420 return (zfs_error(hdl, EZFS_BADTYPE, errbuf)); in zfs_rename()
4424 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_rename()
4436 return (zfs_error(hdl, EZFS_CROSSTARGET, errbuf)); in zfs_rename()
4444 return (zfs_error(hdl, EZFS_INVALIDNAME, errbuf)); in zfs_rename()
4448 (void) snprintf(errbuf, sizeof (errbuf), in zfs_rename()
4455 return (zfs_error(hdl, EZFS_ZONED, errbuf)); in zfs_rename()
4471 return (zfs_error(hdl, EZFS_BUSY, errbuf)); in zfs_rename()
4498 (void) zfs_error(hdl, EZFS_ZONED, errbuf); in zfs_rename()
4522 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_rename()
4529 (void) zfs_error(hdl, EZFS_EXISTS, errbuf); in zfs_rename()
4534 (void) zfs_error(hdl, EZFS_CRYPTOFAILED, errbuf); in zfs_rename()
4536 (void) zfs_standard_error(zhp->zfs_hdl, errno, errbuf); in zfs_rename()
4841 char errbuf[1024]; in zfs_userspace() local
4854 (void) snprintf(errbuf, sizeof (errbuf), in zfs_userspace()
4857 return (zfs_standard_error_fmt(hdl, errno, errbuf)); in zfs_userspace()
4915 char errbuf[1024]; in zfs_hold() local
4919 (void) snprintf(errbuf, sizeof (errbuf), in zfs_hold()
4923 (void) zfs_standard_error(zhp->zfs_hdl, ret, errbuf); in zfs_hold()
4939 char errbuf[1024]; in zfs_hold_nvl() local
4953 (void) snprintf(errbuf, sizeof (errbuf), in zfs_hold_nvl()
4959 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_hold_nvl()
4962 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_hold_nvl()
4965 (void) zfs_standard_error(hdl, ret, errbuf); in zfs_hold_nvl()
4972 (void) snprintf(errbuf, sizeof (errbuf), in zfs_hold_nvl()
4983 (void) zfs_error(hdl, EZFS_TAGTOOLONG, errbuf); in zfs_hold_nvl()
4986 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_hold_nvl()
4989 (void) zfs_error(hdl, EZFS_REFTAG_HOLD, errbuf); in zfs_hold_nvl()
4993 fnvpair_value_int32(elem), errbuf); in zfs_hold_nvl()
5038 char errbuf[1024]; in zfs_release() local
5050 (void) snprintf(errbuf, sizeof (errbuf), in zfs_release()
5055 (void) zfs_error(hdl, EZFS_REFTAG_RELE, errbuf); in zfs_release()
5057 (void) zfs_standard_error(hdl, ret, errbuf); in zfs_release()
5073 (void) snprintf(errbuf, sizeof (errbuf), dgettext(TEXT_DOMAIN, in zfs_release()
5079 (void) zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_release()
5082 (void) zfs_standard_error_fmt(hdl, errno, errbuf); in zfs_release()
5089 (void) snprintf(errbuf, sizeof (errbuf), in zfs_release()
5095 (void) zfs_error(hdl, EZFS_REFTAG_RELE, errbuf); in zfs_release()
5098 (void) zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_release()
5102 fnvpair_value_int32(elem), errbuf); in zfs_release()
5118 char errbuf[1024]; in zfs_get_fsacl() local
5137 (void) snprintf(errbuf, sizeof (errbuf), in zfs_get_fsacl()
5149 err = zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_get_fsacl()
5152 err = zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_get_fsacl()
5155 err = zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_get_fsacl()
5158 err = zfs_standard_error_fmt(hdl, errno, errbuf); in zfs_get_fsacl()
5165 (void) snprintf(errbuf, sizeof (errbuf), dgettext( in zfs_get_fsacl()
5168 err = zfs_standard_error_fmt(hdl, rc, errbuf); in zfs_get_fsacl()
5183 char errbuf[1024]; in zfs_set_fsacl() local
5205 (void) snprintf(errbuf, sizeof (errbuf), in zfs_set_fsacl()
5212 err = zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_set_fsacl()
5215 err = zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_set_fsacl()
5218 err = zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_set_fsacl()
5221 err = zfs_standard_error_fmt(hdl, errno, errbuf); in zfs_set_fsacl()
5235 char errbuf[1024]; in zfs_get_holds() local
5242 (void) snprintf(errbuf, sizeof (errbuf), in zfs_get_holds()
5249 err = zfs_error(hdl, EZFS_BADVERSION, errbuf); in zfs_get_holds()
5252 err = zfs_error(hdl, EZFS_BADTYPE, errbuf); in zfs_get_holds()
5255 err = zfs_error(hdl, EZFS_NOENT, errbuf); in zfs_get_holds()
5258 err = zfs_standard_error_fmt(hdl, errno, errbuf); in zfs_get_holds()