Lines Matching defs:error

1070 	cvp->error = zonecfg_error_func;
1676 cvp.error = zonecfg_error_func;
1883 cvp.error = zonecfg_error_func;
1935 cvp.error = zonecfg_error_func;
2024 int error = Z_OK, res;
2033 if ((error = zonecfg_get_handle(zonename, handle)) != Z_OK)
2035 if ((error = operation_prep(handle)) != Z_OK)
2037 error = zonecfg_get_zonepath(handle, zonepath, sizeof (zonepath));
2038 if (error != Z_OK)
2041 error = Z_RESOLVED_PATH;
2053 if ((error = zonecfg_set_zonepath(handle, rpath)) != Z_OK)
2058 error = Z_MISC_FS;
2062 error = Z_MISC_FS;
2067 error = Z_MISC_FS;
2074 error = zonecfg_save_impl(handle, path);
2080 return (error);
3915 * This returns the number of mounts under rootpath, or -1 on error.
3920 * aborts with an error.
4496 "Miscellaneous file system error"));
4543 "Brand-specific error"));
4562 return (dgettext(TEXT_DOMAIN, "libpool(3LIB) error"));
4586 "Miscellaneous storage resource error"));
4597 return (dgettext(TEXT_DOMAIN, "Unknown error"));
4874 /* strtoull accepts '-'?! so we want to flag that as an error */
4907 /* if no units explicitly set, error */
5379 int error;
5384 error = zonecfg_get_pool(handle, poolname, sizeof (poolname));
5385 if (error == Z_NO_ENTRY || (error == Z_OK && strlen(poolname) == 0)) {
5393 if (error != Z_OK) {
5395 * Not an error, even though it shouldn't be happening.
5406 * Try to provide a sane error message if the requested pool doesn't
5427 /* if bind fails, return poolname for the error msg */
6537 * string into a privilege set. In the case of an error, either
6540 * appropriate error code but in the event of an invalid token,
7041 * exists but the file doesn't have a value set yet. Returns an error if the
7246 * channel and return an error. Since evsnts may be delayed, the critical_exit
7341 int error;
7372 error = do_callback(zevtchan, ev);
7384 if (error == EAGAIN) {
7390 return (error);
8285 * Return: 1 if ancestor, 0 if not, -1 on error.
8324 * locking process, -1 on error.
8350 * Return: 0 on success, -1 on error.
8406 * an error if we can't get the details.
8482 * an error if we can't get the details.
8588 int pstatus = 0, error = -1, release = 0;
8600 error = Z_OK;
8664 error = Z_OK;
8668 * Release the lock file. Only update the error status if
8671 if (error == Z_OK)
8672 error = zonecfg_release_lock_file(zone_name);
8676 return (error);
9527 * specific error in case a property was suspect.
9554 * Return Z_OK on match, Z_NO_ENTRY if not or specific error in case a
9566 return (Z_BAD_PROPERTY); /* internal error */