error 115 daemons/controld/controld_join_client.c log error; error 250 daemons/pacemakerd/pacemakerd.c GError *error = NULL; error 267 daemons/pacemakerd/pacemakerd.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 275 daemons/pacemakerd/pacemakerd.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", error 280 daemons/pacemakerd/pacemakerd.c pcmk__force_args(context, &error, "%s --xml-simple-list", g_get_prgname()); error 433 daemons/pacemakerd/pacemakerd.c pcmk__output_and_clear_error(error, out); error 769 include/config.h #if _GL_HAS_ATTRIBUTE (error) error 61 include/crm/cluster/internal.h pcmk__cs_err_str(int error) error 64 include/crm/cluster/internal.h switch (error) { error 167 include/crm/common/cmdline_internal.h pcmk__force_args(GOptionContext *context, GError **error, const char *format, ...); error 857 include/crm/common/output_internal.h void pcmk__output_and_clear_error(GError *error, pcmk__output_t *out); error 379 lib/cluster/cpg.c if (msg->header.error != CS_OK) { error 385 lib/cluster/cpg.c msg->header.error, error 949 lib/cluster/cpg.c msg->header.error = CS_OK; error 21 lib/common/cmdline.c bump_verbosity(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 276 lib/common/cmdline.c pcmk__force_args(GOptionContext *context, GError **error, const char *format, ...) { error 288 lib/common/cmdline.c if (!g_shell_parse_argv(buf, NULL, &extra_args, error)) { error 294 lib/common/cmdline.c retval = g_option_context_parse_strv(context, &extra_args, error); error 1108 lib/common/iso8601.c goto error; error 1113 lib/common/iso8601.c goto error; error 1129 lib/common/iso8601.c goto error; error 1134 lib/common/iso8601.c goto error; error 1171 lib/common/iso8601.c error: error 156 lib/common/output.c pcmk__output_and_clear_error(GError *error, pcmk__output_t *out) error 158 lib/common/output.c if (error == NULL) { error 163 lib/common/output.c out->err(out, "%s: %s", g_get_prgname(), error->message); error 165 lib/common/output.c fprintf(stderr, "%s: %s\n", g_get_prgname(), error->message); error 168 lib/common/output.c g_clear_error(&error); error 241 lib/common/remote.c goto error; error 246 lib/common/remote.c goto error; error 255 lib/common/remote.c goto error; error 266 lib/common/remote.c goto error; error 271 lib/common/remote.c error: error 307 lib/common/remote.c goto error; error 314 lib/common/remote.c goto error; error 322 lib/common/remote.c goto error; error 327 lib/common/remote.c error: error 897 lib/common/remote.c int error = 0; error 898 lib/common/remote.c socklen_t len = sizeof(error); error 900 lib/common/remote.c if (getsockopt(cb_data->sock, SOL_SOCKET, SO_ERROR, &error, &len) < 0) { error 904 lib/common/remote.c } else if (error != 0) { error 905 lib/common/remote.c rc = error; error 25 lib/common/results.c G_DEFINE_QUARK(pcmk-rc-error-quark, pcmk__rc_error) error 26 lib/common/results.c G_DEFINE_QUARK(pcmk-exitc-error-quark, pcmk__exitc_error) error 437 lib/common/schemas.c relaxng_invalid_stderr(void *userData, xmlErrorPtr error) error 457 lib/common/schemas.c crm_err("Structured error: line=%d, level=%d %s", error->line, error->level, error->message); error 61 lib/fencing/st_client.c char *error; error 209 lib/fencing/st_client.c if (action->error) { error 213 lib/fencing/st_client.c crm_log_output(LOG_WARNING, prefix, action->error); error 588 lib/fencing/st_client.c free(action->error); error 626 lib/fencing/st_client.c if (error_output && action->error) { error 627 lib/fencing/st_client.c *error_output = action->error; error 628 lib/fencing/st_client.c action->error = NULL; // hand off memory management to caller error 727 lib/fencing/st_client.c action->error = svc_action->stderr_data; error 813 lib/fencing/st_client.c free(action->error); error 814 lib/fencing/st_client.c action->error = NULL; error 836 lib/fencing/st_client.c action->error = svc_action->stderr_data; error 333 lib/services/dbus.c DBusError error; error 335 lib/services/dbus.c dbus_error_init(&error); error 338 lib/services/dbus.c dbus_set_error_const(&error, ERR_NO_REQUEST, "No request sent"); error 341 lib/services/dbus.c dbus_set_error_const(&error, ERR_NO_REPLY, "No reply"); error 361 lib/services/dbus.c dbus_set_error_const(&error, ERR_INVALID_REPLY, error 365 lib/services/dbus.c dbus_set_error_const(&error, ERR_INVALID_REPLY_METHOD, error 369 lib/services/dbus.c dbus_set_error_const(&error, ERR_INVALID_REPLY_SIGNAL, error 373 lib/services/dbus.c dbus_set_error_from_message(&error, reply); error 376 lib/services/dbus.c dbus_set_error(&error, ERR_INVALID_REPLY_TYPE, error 381 lib/services/dbus.c if (dbus_error_is_set(&error)) { error 383 lib/services/dbus.c error.name, error.message); error 386 lib/services/dbus.c dbus_move_error(&error, ret); error 388 lib/services/dbus.c dbus_error_free(&error); error 413 lib/services/dbus.c DBusError *error, int timeout) error 423 lib/services/dbus.c if (error) { error 424 lib/services/dbus.c dbus_error_init(error); error 434 lib/services/dbus.c if (error) { error 435 lib/services/dbus.c dbus_set_error(error, ERR_SEND_FAILED, error 451 lib/services/dbus.c (void) pcmk_dbus_find_error(pending, reply, error); error 591 lib/services/dbus.c DBusError error; error 598 lib/services/dbus.c if (pcmk_dbus_find_error((void*)&error, reply, &error)) { error 600 lib/services/dbus.c data->object, data->name, error.message); error 601 lib/services/dbus.c dbus_error_free(&error); error 30 lib/services/pcmk-dbus.h DBusMessage *pcmk_dbus_send_recv(DBusMessage *msg, DBusConnection *connection, DBusError *error, int timeout); error 43 lib/services/pcmk-dbus.h DBusError *error); error 635 lib/services/services_linux.c services__handle_exec_error(svc_action_t * op, int error) error 660 lib/services/services_linux.c switch (error) { /* see execve(2), stat(2) and fork(2) */ error 71 lib/services/services_private.h void services__handle_exec_error(svc_action_t * op, int error); error 52 lib/services/systemd.c systemd_send_recv(DBusMessage *msg, DBusError *error, int timeout) error 54 lib/services/systemd.c return pcmk_dbus_send_recv(msg, systemd_proxy, error, timeout); error 73 lib/services/systemd.c DBusError error; error 83 lib/services/systemd.c dbus_error_init(&error); error 84 lib/services/systemd.c reply = systemd_send_recv(msg, &error, DBUS_TIMEOUT_USE_DEFAULT); error 87 lib/services/systemd.c if (dbus_error_is_set(&error)) { error 89 lib/services/systemd.c method, error.message, error.name); error 90 lib/services/systemd.c dbus_error_free(&error); error 191 lib/services/systemd.c DBusError error; error 195 lib/services/systemd.c dbus_error_init(&error); error 200 lib/services/systemd.c if (pcmk_dbus_find_error(pending, reply, &error)) { error 201 lib/services/systemd.c crm_err("Could not issue systemd reload %d: %s", reload_count, error.message); error 202 lib/services/systemd.c dbus_error_free(&error); error 232 lib/services/systemd.c systemd_mask_error(svc_action_t *op, const char *error) error 234 lib/services/systemd.c crm_trace("Could not issue %s for %s: %s", op->action, op->rsc, error); error 235 lib/services/systemd.c if(strstr(error, "org.freedesktop.systemd1.InvalidName") error 236 lib/services/systemd.c || strstr(error, "org.freedesktop.systemd1.LoadFailed") error 237 lib/services/systemd.c || strstr(error, "org.freedesktop.systemd1.NoSuchUnit")) { error 259 lib/services/systemd.c DBusError error; error 261 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&path, reply, &error)) { error 262 lib/services/systemd.c if(op && !systemd_mask_error(op, error.name)) { error 264 lib/services/systemd.c op->agent, op->id, error.message); error 266 lib/services/systemd.c dbus_error_free(&error); error 548 lib/services/systemd.c DBusError error; error 550 lib/services/systemd.c if (pcmk_dbus_find_error((void*)&error, reply, &error)) { error 553 lib/services/systemd.c if (!systemd_mask_error(op, error.name)) { error 554 lib/services/systemd.c crm_err("Could not issue %s for %s: %s", op->action, op->rsc, error.message); error 556 lib/services/systemd.c dbus_error_free(&error); error 67 lib/services/upstart.c DBusError error; error 80 lib/services/upstart.c dbus_error_init(&error); error 82 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); error 85 lib/services/upstart.c if (dbus_error_is_set(&error)) { error 86 lib/services/upstart.c crm_err("Could not issue %s for %s: %s", method, arg_name, error.message); error 87 lib/services/upstart.c dbus_error_free(&error); error 157 lib/services/upstart.c DBusError error; error 168 lib/services/upstart.c dbus_error_init(&error); error 175 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, DBUS_TIMEOUT_USE_DEFAULT); error 178 lib/services/upstart.c if (dbus_error_is_set(&error)) { error 179 lib/services/upstart.c crm_err("Call to %s failed: %s", method, error.message); error 180 lib/services/upstart.c dbus_error_free(&error); error 241 lib/services/upstart.c DBusError error; error 247 lib/services/upstart.c dbus_error_init(&error); error 255 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, timeout); error 258 lib/services/upstart.c if (dbus_error_is_set(&error)) { error 259 lib/services/upstart.c crm_err("Call to %s failed: %s", method, error.message); error 260 lib/services/upstart.c dbus_error_free(&error); error 341 lib/services/upstart.c upstart_mask_error(svc_action_t *op, const char *error) error 343 lib/services/upstart.c crm_trace("Could not issue %s for %s: %s", op->action, op->rsc, error); error 344 lib/services/upstart.c if(strstr(error, UPSTART_06_API ".Error.UnknownInstance")) { error 357 lib/services/upstart.c && strstr(error, UPSTART_06_API ".Error.AlreadyStarted")) { error 369 lib/services/upstart.c DBusError error; error 373 lib/services/upstart.c dbus_error_init(&error); error 378 lib/services/upstart.c if (pcmk_dbus_find_error(pending, reply, &error)) { error 381 lib/services/upstart.c if (!upstart_mask_error(op, error.name)) { error 382 lib/services/upstart.c crm_err("%s for %s: %s", op->action, op->rsc, error.message); error 384 lib/services/upstart.c dbus_error_free(&error); error 425 lib/services/upstart.c DBusError error; error 521 lib/services/upstart.c dbus_error_init(&error); error 522 lib/services/upstart.c reply = pcmk_dbus_send_recv(msg, upstart_proxy, &error, op->timeout); error 524 lib/services/upstart.c if (dbus_error_is_set(&error)) { error 525 lib/services/upstart.c if(!upstart_mask_error(op, error.name)) { error 527 lib/services/upstart.c action, op->rsc, error.message, job); error 529 lib/services/upstart.c dbus_error_free(&error); error 448 libltdl/ltdl.c char *error; error 449 libltdl/ltdl.c LT__GETERROR(error); error 452 libltdl/ltdl.c error ? error : "(null)"); error 497 libltdl/ltdl.c int error = 0; error 529 libltdl/ltdl.c error += tryall_dlopen_module (handle, (const char *) 0, error 534 libltdl/ltdl.c ++error; error 538 libltdl/ltdl.c return error; error 650 libltdl/ltdl.c error_t error; error 656 libltdl/ltdl.c if ((error = argz_create_sep (path, LT_PATHSEP_CHAR, pargz, pargz_len))) error 658 libltdl/ltdl.c switch (error) error 1527 libltdl/ltdl.c const char *error = 0; error 1529 libltdl/ltdl.c LT__GETERROR (error); error 1530 libltdl/ltdl.c if (error == LT__STRERROR (FILE_NOT_FOUND)) error 1724 libltdl/ltdl.c error_t error; error 1729 libltdl/ltdl.c error = argz_insert (pargz, pargz_len, before, entry); error 1731 libltdl/ltdl.c error = argz_append (pargz, pargz_len, entry, 1 + strlen (entry)); error 1733 libltdl/ltdl.c if (error) error 1735 libltdl/ltdl.c switch (error) error 2110 libltdl/ltdl.c const char *error; error 2112 libltdl/ltdl.c LT__GETERROR (error); error 2115 libltdl/ltdl.c return error; error 66 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 78 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 99 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 111 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 127 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 311 tools/crm_attribute.c GError *error = NULL; error 318 tools/crm_attribute.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 523 tools/crm_attribute.c pcmk__output_and_clear_error(error, NULL); error 42 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 43 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 44 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 86 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 98 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 110 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 308 tools/crm_diff.c GError *error = NULL; error 314 tools/crm_diff.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 385 tools/crm_diff.c pcmk__output_and_clear_error(error, NULL); error 78 tools/crm_error.c GError *error = NULL; error 85 tools/crm_error.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 153 tools/crm_error.c pcmk__output_and_clear_error(error, NULL); error 79 tools/crm_mon.c static GError *error = NULL; error 219 tools/crm_mon.c apply_exclude(const gchar *excludes, GError **error) { error 234 tools/crm_mon.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 249 tools/crm_mon.c apply_include(const gchar *includes, GError **error) { error 276 tools/crm_mon.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 290 tools/crm_mon.c apply_include_exclude(GSList *lst, mon_output_format_t fmt, GError **error) { error 304 tools/crm_mon.c rc = apply_include(s+10, error); error 306 tools/crm_mon.c rc = apply_include(s+3, error); error 308 tools/crm_mon.c rc = apply_exclude(s+10, error); error 310 tools/crm_mon.c rc = apply_exclude(s+3, error); error 1261 tools/crm_mon.c g_propagate_error(&error, err); error 1266 tools/crm_mon.c g_propagate_error(&error, err); error 1271 tools/crm_mon.c g_propagate_error(&error, err); error 1277 tools/crm_mon.c g_propagate_error(&error, err); error 1336 tools/crm_mon.c g_propagate_error(&error, err); error 1349 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "CLUSTER CRIT: Connection to cluster failed: %s", error 1354 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "Error: remote-node not connected to cluster"); error 1356 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "Error: cluster is not available on this node"); error 1360 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "Connection to cluster failed: %s", pcmk_rc_str(rc)); error 1419 tools/crm_mon.c if (!pcmk__force_args(context, &error, "%s --html-title \"Cluster Status\"", error 1424 tools/crm_mon.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 1494 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, "--daemonize requires at least one of --output-to and --external-agent"); error 1529 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "Invalid CIB source"); error 1547 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_ERROR, "Error creating output format %s: %s", error 1557 tools/crm_mon.c apply_include_exclude(options.includes_excludes, output_format, &error); error 1563 tools/crm_mon.c if (!apply_include_exclude(options.user_includes_excludes, output_format, &error)) { error 1593 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, "CGI mode used with CIB file"); error 1596 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, "CGI mode cannot be used with --external-agent"); error 1599 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, "CGI mode cannot be used with -d"); error 2182 tools/crm_mon.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_CANTCREAT, "Critical: Unable to output html file"); error 2363 tools/crm_mon.c if ((error != NULL || exit_code == CRM_EX_USAGE) && output_format == mon_output_console) { error 2385 tools/crm_mon.c if (error != NULL) { error 2387 tools/crm_mon.c out->err(out, "%s: %s", g_get_prgname(), error->message); error 2391 tools/crm_mon.c fprintf(stderr, "%s: %s\n", g_get_prgname(), error->message); error 2394 tools/crm_mon.c g_clear_error(&error); error 40 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 41 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 42 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 94 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 106 tools/crm_node.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Unknown param passed to command_cb: %s\n", option_name); error 114 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 121 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 124 tools/crm_node.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "-R option requires an argument"); error 534 tools/crm_node.c GError *error = NULL; error 541 tools/crm_node.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 596 tools/crm_node.c pcmk__output_and_clear_error(error, NULL); error 128 tools/crm_resource.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_USAGE, \ error 138 tools/crm_resource.c gboolean agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 139 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 140 tools/crm_resource.c gboolean class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 141 tools/crm_resource.c gboolean cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 142 tools/crm_resource.c gboolean delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 143 tools/crm_resource.c gboolean expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 145 tools/crm_resource.c gpointer data, GError **error); error 147 tools/crm_resource.c gpointer data, GError **error); error 149 tools/crm_resource.c gpointer data, GError **error); error 151 tools/crm_resource.c gpointer data, GError **error); error 153 tools/crm_resource.c gpointer data, GError **error); error 155 tools/crm_resource.c gpointer data, GError **error); error 156 tools/crm_resource.c gboolean fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 157 tools/crm_resource.c gboolean flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 158 tools/crm_resource.c gboolean get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 159 tools/crm_resource.c gboolean list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 160 tools/crm_resource.c gboolean set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 161 tools/crm_resource.c gboolean set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 162 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 164 tools/crm_resource.c gpointer data, GError **error); error 166 tools/crm_resource.c gpointer data, GError **error); error 168 tools/crm_resource.c gpointer data, GError **error); error 169 tools/crm_resource.c gboolean wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 170 tools/crm_resource.c gboolean why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 177 tools/crm_resource.c static GError *error = NULL; error 198 tools/crm_resource.c pcmk__output_and_clear_error(error, out); error 245 tools/crm_resource.c if (error != NULL) { error 246 tools/crm_resource.c g_clear_error(&error); error 249 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_TIMEOUT, error 631 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 651 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 662 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 675 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 691 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 699 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 722 tools/crm_resource.c GError **error) error 731 tools/crm_resource.c GError **error) error 740 tools/crm_resource.c GError **error) error 751 tools/crm_resource.c gpointer data, GError **error) error 760 tools/crm_resource.c GError **error) error 769 tools/crm_resource.c GError **error) error 785 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 793 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 824 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 841 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 859 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 876 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 890 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 897 tools/crm_resource.c gpointer data, GError **error) error 911 tools/crm_resource.c g_set_error(error, G_OPTION_ERROR, CRM_EX_INVALID_PARAM, error 922 tools/crm_resource.c GError **error) error 931 tools/crm_resource.c GError **error) error 944 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 952 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 995 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1006 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1081 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1115 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1152 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1155 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1208 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, pcmk_rc_error, "Bug"); error 1216 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1221 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1281 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1343 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1349 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1397 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1403 tools/crm_resource.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1416 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1421 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1430 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1434 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1439 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, CRM_EX_USAGE, error 1446 tools/crm_resource.c if (error != NULL) { error 1544 tools/crm_resource.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 1554 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", error 1581 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "--expired requires --clear or -U"); error 1597 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1628 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "%s", msg); error 1652 tools/crm_resource.c pcmk__force_args(context, &error, "%s --xml-simple-list --xml-substitute", g_get_prgname()); error 1656 tools/crm_resource.c pcmk__force_args(context, &error, "%s --xml-substitute", g_get_prgname()); error 1662 tools/crm_resource.c pcmk__force_args(context, &error, "%s --text-fancy", g_get_prgname()); error 1676 tools/crm_resource.c if (error != NULL) { error 1689 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1695 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1719 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1727 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1748 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1764 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 1773 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 2019 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 2074 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 2082 tools/crm_resource.c g_prefix_error(&error, "To ignore quorum, use the force option.\n"); error 2101 tools/crm_resource.c if (error != NULL) { error 2103 tools/crm_resource.c error->message, crm_exit_str(exit_code)); error 2104 tools/crm_resource.c g_clear_error(&error); error 2105 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "%s", msg); error 2108 tools/crm_resource.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, error 41 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 71 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 238 tools/crm_rule.c GError *error = NULL; error 244 tools/crm_rule.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 369 tools/crm_rule.c pcmk__output_and_clear_error(error, NULL); error 85 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 93 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 103 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 110 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 117 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 125 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 133 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 140 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 151 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 162 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 173 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 180 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 187 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 194 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 201 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 208 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 215 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 222 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 233 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 243 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 506 tools/crm_simulate.c GError **error) error 512 tools/crm_simulate.c g_set_error(error, PCMK__RC_ERROR, errno, error 611 tools/crm_simulate.c setup_input(const char *input, const char *output, GError **error) error 634 tools/crm_simulate.c g_set_error(error, PCMK__RC_ERROR, rc, error 639 tools/crm_simulate.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_NOINPUT, error 680 tools/crm_simulate.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_CANTCREAT, error 864 tools/crm_simulate.c GError *error = NULL; error 875 tools/crm_simulate.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 892 tools/crm_simulate.c pcmk__force_args(context, &error, "%s --text-fancy", g_get_prgname()); error 894 tools/crm_simulate.c pcmk__force_args(context, &error, "%s --xml-simple-list --xml-substitute", g_get_prgname()); error 920 tools/crm_simulate.c g_set_error(&error, PCMK__RC_ERROR, rc, "Could not allocate working set"); error 939 tools/crm_simulate.c rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error); error 948 tools/crm_simulate.c g_set_error(&error, PCMK__RC_ERROR, rc, error 956 tools/crm_simulate.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1011 tools/crm_simulate.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1037 tools/crm_simulate.c g_set_error(&error, PCMK__RC_ERROR, rc, error 1085 tools/crm_simulate.c if (!create_dotfile(data_set, options.dot_file, options.all_actions, &error)) { error 1139 tools/crm_simulate.c pcmk__output_and_clear_error(error, NULL); error 116 tools/crm_verify.c GError *error = NULL; error 126 tools/crm_verify.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 136 tools/crm_verify.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", error 166 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Live CIB query failed: %s", pcmk_rc_str(rc)); error 171 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Live CIB query failed: empty result"); error 179 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file); error 187 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string); error 194 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input from STDIN."); error 200 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 208 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 261 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 264 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 272 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 275 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, error 296 tools/crm_verify.c pcmk__output_and_clear_error(error, NULL); error 46 tools/crmadmin.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 100 tools/crmadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) error 185 tools/crmadmin.c GError *error = NULL; error 195 tools/crmadmin.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 205 tools/crmadmin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", error 214 tools/crmadmin.c if (!pcmk__force_args(context, &error, "%s --xml-simple-list --xml-substitute", g_get_prgname())) { error 270 tools/crmadmin.c pcmk__output_and_clear_error(error, out); error 77 tools/stonith_admin.c gboolean add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 78 tools/stonith_admin.c gboolean add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 79 tools/stonith_admin.c gboolean add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 80 tools/stonith_admin.c gboolean add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 81 tools/stonith_admin.c gboolean set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); error 243 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 249 tools/stonith_admin.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid option: -e %s", optarg); error 261 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 267 tools/stonith_admin.c add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 273 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 285 tools/stonith_admin.c g_set_error(error, PCMK__RC_ERROR, rc, "Invalid option: -o %s: %s", optarg, pcmk_rc_str(rc)); error 298 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { error 346 tools/stonith_admin.c GError *error = NULL; error 356 tools/stonith_admin.c if (!g_option_context_parse_strv(context, &processed_args, &error)) { error 368 tools/stonith_admin.c g_set_error(&error, PCMK__EXITC_ERROR, exit_code, "Error creating output format %s: %s", error 610 tools/stonith_admin.c pcmk__output_and_clear_error(error, out);