options 109 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) options 112 daemons/based/based_common.c if ((options & cib_no_children) options 120 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) options 128 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) options 135 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) options 358 daemons/based/based_common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output) options 361 daemons/based/based_common.c return cib_server_ops[call_type].cleanup(options, input, output); options 52 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req, options 76 daemons/based/based_messages.c cib_process_default(const char *op, int options, const char *section, xmlNode * req, options 97 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req, options 152 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 200 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 207 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 221 daemons/based/based_messages.c op, options, section, req, input, existing_cib, result_cib, answer); options 255 daemons/based/based_messages.c op, options, section, up, input, existing_cib, result_cib, answer); options 299 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req, options 307 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req, options 341 daemons/based/based_messages.c rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer); options 352 daemons/based/based_messages.c if (options & cib_force_diff) { options 369 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req, options 375 daemons/based/based_messages.c cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer); options 383 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req, options 42 daemons/based/based_notify.c static void do_cib_notify(int options, const char *op, xmlNode *update, options 137 daemons/based/based_notify.c cib_diff_notify(int options, const char *client, const char *call_id, const char *op, options 175 daemons/based/based_notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); options 179 daemons/based/based_notify.c do_cib_notify(int options, const char *op, xmlNode * update, options 99 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section, options 103 daemons/based/pacemaker-based.h int cib_process_default(const char *op, int options, const char *section, options 106 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section, options 109 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section, options 112 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section, options 115 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section, options 118 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section, options 121 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section, options 124 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options, options 128 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section, options 141 daemons/based/pacemaker-based.h int cib_op_cleanup(int call_type, int options, xmlNode **input, options 145 daemons/based/pacemaker-based.h void cib_diff_notify(int options, const char *client, const char *call_id, options 246 daemons/controld/controld_based.c int options) options 284 daemons/controld/controld_based.c cib__set_call_options(options, "node state deletion", options 286 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); options 683 daemons/controld/controld_control.c controller_option(GHashTable *options, const char *name) options 685 daemons/controld/controld_control.c return pcmk__cluster_option(options, controller_options, options 609 daemons/controld/controld_execd_state.c const char *agent, char **output, enum lrmd_call_options options) options 635 daemons/controld/controld_execd_state.c class, provider, agent, output, options, params); options 656 daemons/controld/controld_execd_state.c lrm_state_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id, enum lrmd_call_options options) options 670 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); options 739 daemons/controld/controld_execd_state.c const char *provider, const char *agent, enum lrmd_call_options options) options 755 daemons/controld/controld_execd_state.c agent, options); options 760 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) options 778 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); options 887 daemons/controld/controld_fencing.c uint32_t options = st_opt_none; // Group of enum stonith_call_options options 892 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); options 895 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, options 149 daemons/controld/controld_lrm.h const char *agent, char **output, enum lrmd_call_options options); options 158 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 162 daemons/controld/controld_lrm.h const char *provider, const char *agent, enum lrmd_call_options options); options 164 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 22 daemons/controld/controld_utils.h # define fsa_cib_update(section, data, options, call_id, user_name) \ options 26 daemons/controld/controld_utils.h NULL, options, user_name); \ options 112 daemons/controld/controld_utils.h enum controld_section_e section, int options); options 55 daemons/execd/cts-exec-helper.c } options; options 59 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); options 66 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_orig_only; options 68 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_changes_only; options 83 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 92 daemons/execd/cts-exec-helper.c { "api-call", 'c', 0, G_OPTION_ARG_STRING, &options.api_call, options 96 daemons/execd/cts-exec-helper.c { "is-running", 'R', 0, G_OPTION_ARG_NONE, &options.is_running, options 100 daemons/execd/cts-exec-helper.c { "listen", 'l', 0, G_OPTION_ARG_STRING, &options.listen, options 104 daemons/execd/cts-exec-helper.c { "no-wait", 'w', 0, G_OPTION_ARG_NONE, &options.no_wait, options 116 daemons/execd/cts-exec-helper.c { "tls", 'S', 0, G_OPTION_ARG_NONE, &options.use_tls, options 124 daemons/execd/cts-exec-helper.c { "action", 'a', 0, G_OPTION_ARG_STRING, &options.action, options 127 daemons/execd/cts-exec-helper.c { "cancel-call-id", 'x', 0, G_OPTION_ARG_INT, &options.cancel_call_id, options 130 daemons/execd/cts-exec-helper.c { "class", 'C', 0, G_OPTION_ARG_STRING, &options.class, options 142 daemons/execd/cts-exec-helper.c { "provider", 'P', 0, G_OPTION_ARG_STRING, &options.provider, options 145 daemons/execd/cts-exec-helper.c { "rsc-id", 'r', 0, G_OPTION_ARG_STRING, &options.rsc_id, options 148 daemons/execd/cts-exec-helper.c { "start-delay", 's', 0, G_OPTION_ARG_INT, &options.start_delay, options 151 daemons/execd/cts-exec-helper.c { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout, options 154 daemons/execd/cts-exec-helper.c { "type", 'T', 0, G_OPTION_ARG_STRING, &options.type, options 173 daemons/execd/cts-exec-helper.c if (!options.quiet) { \ options 197 daemons/execd/cts-exec-helper.c if (options.listen) { options 198 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.listen, event_buf_v0, pcmk__str_casei)) { options 213 daemons/execd/cts-exec-helper.c if (!options.listen) { options 274 daemons/execd/cts-exec-helper.c if (!options.no_connect) { options 283 daemons/execd/cts-exec-helper.c if (options.timeout) { options 284 daemons/execd/cts-exec-helper.c g_timeout_add(options.timeout, timeout_err, NULL); options 287 daemons/execd/cts-exec-helper.c if (!options.api_call) { options 291 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) { options 293 daemons/execd/cts-exec-helper.c options.rsc_id, options 294 daemons/execd/cts-exec-helper.c options.action, options 296 daemons/execd/cts-exec-helper.c options.interval_ms, options 297 daemons/execd/cts-exec-helper.c options.timeout, options 298 daemons/execd/cts-exec-helper.c options.start_delay, options 299 daemons/execd/cts-exec-helper.c options.exec_call_opts, options 300 daemons/execd/cts-exec-helper.c options.params); options 307 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "register_rsc", pcmk__str_casei)) { options 309 daemons/execd/cts-exec-helper.c options.rsc_id, options 310 daemons/execd/cts-exec-helper.c options.class, options.provider, options.type, 0); options 311 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_rsc_info", pcmk__str_casei)) { options 314 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); options 326 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "unregister_rsc", pcmk__str_casei)) { options 327 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); options 328 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) { options 329 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, options 330 daemons/execd/cts-exec-helper.c options.interval_ms); options 331 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) { options 335 daemons/execd/cts-exec-helper.c options.class, options 336 daemons/execd/cts-exec-helper.c options.provider, options.type, &output, 0); options 341 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) { options 345 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); options 358 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_ocf_providers", pcmk__str_casei)) { options 362 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); options 376 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_standards", pcmk__str_casei)) { options 394 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_recurring_ops", pcmk__str_casei)) { options 397 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, options 410 daemons/execd/cts-exec-helper.c } else if (options.api_call) { options 411 daemons/execd/cts-exec-helper.c print_result("API-CALL FAILURE unknown action '%s'", options.action); options 417 daemons/execd/cts-exec-helper.c options.api_call, rc); options 421 daemons/execd/cts-exec-helper.c if (options.api_call && rc == pcmk_ok) { options 422 daemons/execd/cts-exec-helper.c print_result("API-CALL SUCCESSFUL for '%s'", options.api_call); options 423 daemons/execd/cts-exec-helper.c if (!options.listen) { options 428 daemons/execd/cts-exec-helper.c if (options.no_wait) { options 455 daemons/execd/cts-exec-helper.c if (options.params != NULL) { options 482 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 496 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); options 508 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, crm_name, value); options 562 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", options 564 daemons/execd/cts-exec-helper.c options.no_connect = TRUE; options 567 daemons/execd/cts-exec-helper.c if (options.is_running) { options 570 daemons/execd/cts-exec-helper.c if (options.rsc_id == NULL) { options 577 daemons/execd/cts-exec-helper.c options.interval_ms = 0; options 578 daemons/execd/cts-exec-helper.c if (options.timeout == 0) { options 579 daemons/execd/cts-exec-helper.c options.timeout = 30000; options 590 daemons/execd/cts-exec-helper.c options.api_call = "exec"; options 591 daemons/execd/cts-exec-helper.c options.action = "monitor"; options 592 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_orig_only; options 595 daemons/execd/cts-exec-helper.c if (!options.api_call && !options.listen) { options 603 daemons/execd/cts-exec-helper.c if (options.use_tls) { options 55 daemons/fenced/cts-fence-helper.c } options = { options 62 daemons/fenced/cts-fence-helper.c options.mode = test_api_mainloop; options 64 daemons/fenced/cts-fence-helper.c options.mode = test_api_sanity; options 66 daemons/fenced/cts-fence-helper.c options.mode = test_passive; options 658 daemons/fenced/cts-fence-helper.c switch (options.mode) { options 86 daemons/fenced/fenced_commands.c int options; options 368 daemons/fenced/fenced_commands.c crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options)); options 2627 daemons/fenced/fenced_commands.c stonith_send_reply(reply, cmd->options, cmd->origin, client); options 2890 daemons/fenced/fenced_commands.c if (pcmk_is_set(cmd->options, st_opt_cs_nodeid)) { options 2997 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); options 459 daemons/fenced/fenced_history.c const char *remote_peer, int options) options 467 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { options 479 daemons/fenced/fenced_history.c if (options & st_opt_cleanup) { options 485 daemons/fenced/fenced_history.c } else if (options & st_opt_broadcast) { options 1344 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options) options 1347 daemons/fenced/fenced_remote.c gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE; options 1358 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); options 1359 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 1362 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 264 daemons/fenced/pacemaker-fenced.h const char *remote_peer, int options); options 39 daemons/pacemakerd/pacemakerd.c } options; options 94 daemons/pacemakerd/pacemakerd.c options.standby = TRUE; options 100 daemons/pacemakerd/pacemakerd.c { "features", 'F', 0, G_OPTION_ARG_NONE, &options.features, options 103 daemons/pacemakerd/pacemakerd.c { "foreground", 'f', 0, G_OPTION_ARG_NONE, &options.foreground, options 109 daemons/pacemakerd/pacemakerd.c { "shutdown", 'S', 0, G_OPTION_ARG_NONE, &options.shutdown, options 304 daemons/pacemakerd/pacemakerd.c if (options.features) { options 317 daemons/pacemakerd/pacemakerd.c if (options.shutdown) { options 336 daemons/pacemakerd/pacemakerd.c if (options.shutdown) { options 31 daemons/schedulerd/pacemaker-schedulerd.c } options; options 54 daemons/schedulerd/pacemaker-schedulerd.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 97 daemons/schedulerd/pacemaker-schedulerd.c if (options.remainder) { options 98 daemons/schedulerd/pacemaker-schedulerd.c if (g_strv_length(options.remainder) == 1 && options 99 daemons/schedulerd/pacemaker-schedulerd.c pcmk__str_eq("metadata", options.remainder[0], pcmk__str_casei)) { options 149 daemons/schedulerd/pacemaker-schedulerd.c g_strfreev(options.remainder); options 90 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib); options 91 include/crm/cib/internal.h void verify_cib_options(GHashTable * options); options 159 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req, options 163 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req, options 167 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req, options 171 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 175 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req, options 179 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req, options 183 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req, options 187 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req, options 191 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 217 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section, options 266 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, options 45 include/crm/cib/util.h int delete_attr_delegate(cib_t * the_cib, int options, options 60 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); options 72 include/crm/common/ipc_attrd_internal.h uint32_t options); options 88 include/crm/common/ipc_attrd_internal.h uint32_t options); options 120 include/crm/common/ipc_attrd_internal.h uint32_t options); options 162 include/crm/common/ipc_attrd_internal.h const char *user_name, uint32_t options); options 189 include/crm/common/ipc_attrd_internal.h const char *user_name, uint32_t options); options 96 include/crm/common/options_internal.h const char *pcmk__cluster_option(GHashTable *options, options 105 include/crm/common/options_internal.h void pcmk__validate_cluster_options(GHashTable *options, options 140 include/crm/common/output_internal.h GOptionEntry *options; options 584 include/crm/common/output_internal.h const GOptionEntry *options); options 378 include/crm/lrmd.h enum lrmd_call_options options); options 390 include/crm/lrmd.h enum lrmd_call_options options); options 404 include/crm/lrmd.h enum lrmd_call_options options, GList **output); options 421 include/crm/lrmd.h enum lrmd_call_options options); options 458 include/crm/lrmd.h int start_delay, enum lrmd_call_options options, options 505 include/crm/lrmd.h char **output, enum lrmd_call_options options); options 592 include/crm/lrmd.h char **output, enum lrmd_call_options options, options 144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); options 249 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options); options 268 include/crm/pengine/internal.h void native_print(pe_resource_t *rsc, const char *pre_text, long options, options 272 include/crm/pengine/internal.h void group_print(pe_resource_t *rsc, const char *pre_text, long options, options 276 include/crm/pengine/internal.h void clone_print(pe_resource_t *rsc, const char *pre_text, long options, options 280 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 552 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options, options 554 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options); options 562 include/crm/pengine/internal.h pe_node_t *node, long options, void *print_data); options 563 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); options 564 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); options 190 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); options 208 include/crm/stonith-ng.h int (*register_device)(stonith_t *st, int options, const char *id, options 223 include/crm/stonith-ng.h int (*remove_level)(stonith_t *st, int options, const char *node, options 238 include/crm/stonith-ng.h int (*register_level)(stonith_t *st, int options, const char *node, options 429 include/crm/stonith-ng.h int options, void *user_data, options 467 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, options 494 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, options 370 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, options 400 lib/cib/cib_attrs.c NULL, options|cib_quorum_override, user_name); options 504 lib/cib/cib_attrs.c delete_attr_delegate(cib_t *cib, int options, const char *section, const char *node_uuid, options 517 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, options 30 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 39 lib/cib/cib_ops.c if (options & cib_xpath) { options 40 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 56 lib/cib/cib_ops.c } else if (options & cib_no_children) { options 76 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 93 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 116 lib/cib/cib_ops.c !(options & cib_verbose)); options 128 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 171 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 181 lib/cib/cib_ops.c if (options & cib_xpath) { options 182 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 284 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 291 lib/cib/cib_ops.c if (options & cib_xpath) { options 292 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 319 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 326 lib/cib/cib_ops.c if (options & cib_xpath) { options 327 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 356 lib/cib/cib_ops.c if (options & cib_can_create) { options 363 lib/cib/cib_ops.c if(options & cib_mixed_update) { options 535 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 562 lib/cib/cib_ops.c return cib_process_modify(op, options, section, req, input, existing_cib, result_cib, options 601 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 612 lib/cib/cib_ops.c (pcmk_is_set(options, cib_force_diff)? " (global update)" : "")); options 692 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, options 727 lib/cib/cib_ops.c if (pcmk_is_set(options, cib_multiple) options 753 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 760 lib/cib/cib_ops.c } else if ((options & cib_multiple) == 0) { options 770 lib/cib/cib_ops.c if (options & cib_no_children) { options 780 lib/cib/cib_ops.c } else if (options & cib_xpath_address) { options 825 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 132 lib/cib/cib_utils.c GHashTable *options = pcmk__strkey_table(free, free); options 134 lib/cib/cib_utils.c cib_read_config(options, xml); options 135 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); options 137 lib/cib/cib_utils.c g_hash_table_destroy(options); options 587 lib/cib/cib_utils.c verify_cib_options(GHashTable * options) options 589 lib/cib/cib_utils.c pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts)); options 593 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) options 595 lib/cib/cib_utils.c return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts), options 600 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib) options 605 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { options 611 lib/cib/cib_utils.c g_hash_table_remove_all(options); options 616 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); options 619 lib/cib/cib_utils.c verify_cib_options(options); options 66 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNodePtr data, int options, GString *buffer, int depth); options 85 lib/common/crmcommon_private.h int options); options 206 lib/common/ipc_attrd.c uint32_t options) options 224 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 261 lib/common/ipc_attrd.c uint32_t options) options 276 lib/common/ipc_attrd.c options &= ~pcmk__node_attr_delay; options 277 lib/common/ipc_attrd.c options |= pcmk__node_attr_value; options 279 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); options 325 lib/common/ipc_attrd.c uint32_t options) options 403 lib/common/ipc_attrd.c add_op_attr(xmlNode *op, uint32_t options) options 405 lib/common/ipc_attrd.c if (pcmk_all_flags_set(options, pcmk__node_attr_value | pcmk__node_attr_delay)) { options 407 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_value)) { options 409 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_delay)) { options 416 lib/common/ipc_attrd.c const char *dampen, const char *set, uint32_t options) options 418 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_pattern)) { options 424 lib/common/ipc_attrd.c add_op_attr(op, options); options 431 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 433 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_private)); options 439 lib/common/ipc_attrd.c const char *user_name, uint32_t options) options 457 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); options 486 lib/common/ipc_attrd.c uint32_t options) options 527 lib/common/ipc_attrd.c add_op_attr(request, options); options 543 lib/common/ipc_attrd.c set, options); options 546 lib/common/ipc_attrd.c dampen, set, user_name, options); options 494 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *), options 503 lib/common/options.c if (options) { options 504 lib/common/options.c value = g_hash_table_lookup(options, name); options 507 lib/common/options.c value = g_hash_table_lookup(options, old_name); options 516 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 549 lib/common/options.c if (options) { options 551 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 568 lib/common/options.c pcmk__cluster_option(GHashTable *options, options 576 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, options 719 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options, options 723 lib/common/options.c cluster_option_value(options, option_list[lpc].is_valid, options 93 lib/common/output.c const GOptionEntry *options) options 101 lib/common/output.c if (options != NULL && group != NULL) { options 102 lib/common/output.c g_option_group_add_entries(group, options); options 118 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); options 469 lib/common/patchset.c int options = xml_log_option_formatted; options 598 lib/common/patchset.c options |= xml_log_option_diff_short; options 605 lib/common/patchset.c 0, options|xml_log_option_diff_minus); options 618 lib/common/patchset.c 0, options|xml_log_option_diff_plus); options 74 lib/common/xml.c insert_prefix(int options, GString *buffer, int depth) options 78 lib/common/xml.c if (!pcmk_is_set(options, xml_log_option_formatted)) { options 1492 lib/common/xml.c dump_xml_attr(const xmlAttr *attr, int options, GString *buffer) options 1520 lib/common/xml.c const xmlNode *data, int depth, int options) options 1539 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_open)) { options 1540 lib/common/xml.c insert_prefix(options, buffer, depth); options 1560 lib/common/xml.c } else if (pcmk_any_flags_set(options, options 1581 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1599 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1605 lib/common/xml.c options|xml_log_option_open options 1610 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_close)) { options 1613 lib/common/xml.c insert_prefix(options, buffer, depth); options 1624 lib/common/xml.c const char *prefix, const xmlNode *data, int depth, int options) options 1632 lib/common/xml.c data, depth, options); options 1640 lib/common/xml.c const char *prefix, const xmlNode *data, int depth, int options) options 1658 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1667 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1685 lib/common/xml.c options|xml_log_option_open); options 1724 lib/common/xml.c depth + 1, options); options 1728 lib/common/xml.c options|xml_log_option_close); options 1734 lib/common/xml.c depth + 1, options); options 1745 lib/common/xml.c int options) options 1766 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_dirty_add)) { options 1768 lib/common/xml.c options); options 1772 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1773 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_plus) options 1775 lib/common/xml.c options |= xml_log_option_diff_all; options 1780 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_diff_minus) options 1782 lib/common/xml.c options |= xml_log_option_diff_all; options 1789 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_short) options 1790 lib/common/xml.c && !pcmk_is_set(options, xml_log_option_diff_all)) { options 1794 lib/common/xml.c log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options); options 1798 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1813 lib/common/xml.c dump_filtered_xml(const xmlNode *data, int options, GString *buffer) options 1819 lib/common/xml.c dump_xml_attr(a, options, buffer); options 1834 lib/common/xml.c dump_xml_element(const xmlNode *data, int options, GString *buffer, int depth) options 1848 lib/common/xml.c insert_prefix(options, buffer, depth); options 1851 lib/common/xml.c if (options & xml_log_option_filtered) { options 1852 lib/common/xml.c dump_filtered_xml(data, options, buffer); options 1858 lib/common/xml.c dump_xml_attr(a, options, buffer); options 1869 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1876 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, depth + 1); options 1879 lib/common/xml.c insert_prefix(options, buffer, depth); options 1882 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1898 lib/common/xml.c dump_xml_text(const xmlNode *data, int options, GString *buffer, int depth) options 1907 lib/common/xml.c insert_prefix(options, buffer, depth); options 1910 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1925 lib/common/xml.c dump_xml_cdata(const xmlNode *data, int options, GString *buffer, int depth) options 1934 lib/common/xml.c insert_prefix(options, buffer, depth); options 1938 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1953 lib/common/xml.c dump_xml_comment(const xmlNode *data, int options, GString *buffer, int depth) options 1962 lib/common/xml.c insert_prefix(options, buffer, depth); options 1965 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1982 lib/common/xml.c pcmk__xml2text(xmlNodePtr data, int options, GString *buffer, int depth) options 1990 lib/common/xml.c if (!pcmk_is_set(options, xml_log_option_filtered) options 1991 lib/common/xml.c && pcmk_is_set(options, xml_log_option_full_fledged)) { options 2023 lib/common/xml.c (options & xml_log_option_formatted), NULL); options 2048 lib/common/xml.c dump_xml_element(data, options, buffer, depth); options 2052 lib/common/xml.c if (options & xml_log_option_text) { options 2053 lib/common/xml.c dump_xml_text(data, options, buffer, depth); options 2057 lib/common/xml.c dump_xml_comment(data, options, buffer, depth); options 2060 lib/common/xml.c dump_xml_cdata(data, options, buffer, depth); options 362 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, options 386 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); options 393 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) options 395 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, options 454 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t *st, int options, const char *node, options 464 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); options 471 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, options 474 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, options 1296 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, options 1311 lib/fencing/st_client.c if (!(options & st_opt_report_only_success)) { options 1327 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; options 1330 lib/fencing/st_client.c blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE; options 518 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 530 lib/lrmd/lrmd_client.c crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options); options 537 lib/lrmd/lrmd_client.c op, (long)options, options); options 849 lib/lrmd/lrmd_client.c enum lrmd_call_options options, gboolean expect_reply) options 869 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); options 1681 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) options 1701 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); options 1708 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1715 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); options 1756 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1767 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); options 1806 lib/lrmd/lrmd_client.c enum lrmd_call_options options, GList **output) options 1824 lib/lrmd/lrmd_client.c timeout_ms, options, TRUE); options 1928 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 1931 lib/lrmd/lrmd_client.c output, options, NULL); options 1937 lib/lrmd/lrmd_client.c char **output, enum lrmd_call_options options, options 1996 lib/lrmd/lrmd_client.c enum lrmd_call_options options, lrmd_key_value_t * params) options 2015 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); options 288 lib/pengine/bundle.c if (mount->options != NULL) { options 289 lib/pengine/bundle.c pcmk__g_strcat(buffer, ":", mount->options, NULL); options 298 lib/pengine/bundle.c (mount->options != NULL)? "," : "", options 299 lib/pengine/bundle.c pcmk__s(mount->options, ""), options 633 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) options 640 lib/pengine/bundle.c pcmk__str_update(&mount->options, options); options 650 lib/pengine/bundle.c free(mount->options); options 861 lib/pengine/bundle.c const char *options = crm_element_value(xml_child, "options"); options 871 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); options 1163 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options, options 1167 lib/pengine/bundle.c if (options & pe_print_html) { options 1170 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); options 1171 lib/pengine/bundle.c if (options & pe_print_html) { options 1182 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 1211 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1212 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1213 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1214 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1579 lib/pengine/bundle.c long options, void *print_data) options 1604 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); options 1612 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 1619 lib/pengine/bundle.c if (options & pe_print_xml) { options 1620 lib/pengine/bundle.c bundle_print_xml(rsc, pre_text, options, print_data); options 1635 lib/pengine/bundle.c if (options & pe_print_html) { options 1645 lib/pengine/bundle.c if (options & pe_print_html) { options 1649 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit)) { options 1654 lib/pengine/bundle.c if (options & pe_print_html) { options 1657 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1658 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1659 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1660 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1661 lib/pengine/bundle.c if (options & pe_print_html) { options 1666 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); options 1670 lib/pengine/bundle.c if (options & pe_print_html) { options 1674 lib/pengine/bundle.c if (options & pe_print_html) { options 411 lib/pengine/clone.c const char *suffix, long options, void *print_data) options 418 lib/pengine/clone.c if (options & pe_print_html) { options 423 lib/pengine/clone.c if (options & pe_print_html) { options 426 lib/pengine/clone.c } else if (options & pe_print_suppres_nl) { options 428 lib/pengine/clone.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 464 lib/pengine/clone.c clone_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 488 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 531 lib/pengine/clone.c clone_print(pe_resource_t *rsc, const char *pre_text, long options, options 549 lib/pengine/clone.c if (options & pe_print_xml) { options 550 lib/pengine/clone.c clone_print_xml(rsc, pre_text, options, print_data); options 564 lib/pengine/clone.c if (options & pe_print_html) { options 567 lib/pengine/clone.c } else if ((options & pe_print_log) == 0) { options 576 lib/pengine/clone.c if (options & pe_print_clone_details) { options 588 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 597 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 640 lib/pengine/clone.c if (options & pe_print_html) { options 643 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 644 lib/pengine/clone.c if (options & pe_print_html) { options 661 lib/pengine/clone.c PROMOTED_INSTANCES, NULL, options, print_data); options 682 lib/pengine/clone.c options, print_data); options 685 lib/pengine/clone.c UNPROMOTED_INSTANCES, NULL, options, print_data); options 690 lib/pengine/clone.c NULL, options, print_data); options 696 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 735 lib/pengine/clone.c NULL, options, print_data); options 739 lib/pengine/clone.c if (options & pe_print_html) { options 301 lib/pengine/common.c verify_pe_options(GHashTable * options) options 303 lib/pengine/common.c pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts)); options 307 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) options 309 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); options 255 lib/pengine/group.c group_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 268 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 280 lib/pengine/group.c group_print(pe_resource_t *rsc, const char *pre_text, long options, options 290 lib/pengine/group.c if (options & pe_print_xml) { options 291 lib/pengine/group.c group_print_xml(rsc, pre_text, options, print_data); options 299 lib/pengine/group.c if (options & pe_print_html) { options 302 lib/pengine/group.c } else if ((options & pe_print_log) == 0) { options 306 lib/pengine/group.c if (options & pe_print_brief) { options 307 lib/pengine/group.c print_rscs_brief(rsc->children, child_text, options, print_data, TRUE); options 313 lib/pengine/group.c if (options & pe_print_html) { options 316 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 317 lib/pengine/group.c if (options & pe_print_html) { options 323 lib/pengine/group.c if (options & pe_print_html) { options 362 lib/pengine/native.c long options; options 448 lib/pengine/native.c native_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 453 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, pcmk_is_set(options, pe_print_pending)); options 480 lib/pengine/native.c if (options & pe_print_pending) { options 489 lib/pengine/native.c if (options & pe_print_rsconly) { options 772 lib/pengine/native.c pe_node_t *node, long options, void *print_data) options 783 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 791 lib/pengine/native.c if (options & pe_print_xml) { options 792 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 796 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { options 800 lib/pengine/native.c if (options & pe_print_html) { options 822 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, options 828 lib/pengine/native.c if (pcmk_is_set(options, pe_print_html)) { options 832 lib/pengine/native.c if (!pcmk_is_set(options, pe_print_rsconly) options 838 lib/pengine/native.c if (options & pe_print_html) { options 840 lib/pengine/native.c } else if ((options & pe_print_printf) options 841 lib/pengine/native.c || (options & pe_print_ncurses)) { options 850 lib/pengine/native.c if (options & pe_print_html) { options 853 lib/pengine/native.c } else if ((options & pe_print_printf) options 854 lib/pengine/native.c || (options & pe_print_ncurses)) { options 857 lib/pengine/native.c } else if ((options & pe_print_log)) { options 863 lib/pengine/native.c if (options & pe_print_html) { options 869 lib/pengine/native.c if (options & pe_print_html) { options 871 lib/pengine/native.c } else if ((options & pe_print_printf) options 872 lib/pengine/native.c || (options & pe_print_ncurses)) { options 877 lib/pengine/native.c if (options & pe_print_html) { options 879 lib/pengine/native.c } else if (options & pe_print_suppres_nl) { options 881 lib/pengine/native.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 891 lib/pengine/native.c native_print(pe_resource_t *rsc, const char *pre_text, long options, options 897 lib/pengine/native.c if (options & pe_print_xml) { options 898 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 909 lib/pengine/native.c common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data); options 1204 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options, options 1233 lib/pengine/native.c if (options & pe_print_rsconly) { options 1237 lib/pengine/native.c if (options & pe_print_html) { options 1252 lib/pengine/native.c if (options & pe_print_html) { options 1258 lib/pengine/native.c if (options & pe_print_html) { options 1266 lib/pengine/native.c if (options & pe_print_html) { options 27 lib/pengine/pe_status_private.h if(options & pe_print_html) { \ options 30 lib/pengine/pe_status_private.h } else if(options & pe_print_printf || options & pe_print_ncurses) { \ options 33 lib/pengine/pe_status_private.h } else if(options & pe_print_xml) { \ options 36 lib/pengine/pe_status_private.h } else if(options & pe_print_log) { \ options 61 lib/pengine/variant.h char *options; options 174 libltdl/loaders/dyld.c unsigned long options) = 0; options 177 libltdl/loaders/dyld.c unsigned long options) = 0; options 445 maint/gnulib/lib/argp-help.c const struct argp_option *opts = argp->options; options 295 maint/gnulib/lib/argp-parse.c const struct argp_option *real = argp->options; options 434 maint/gnulib/lib/argp-parse.c const struct argp_option *opt = argp->options; options 220 maint/gnulib/lib/argp.h const struct argp_option *options; options 78 maint/gnulib/lib/exclude.c int options; options 105 maint/gnulib/lib/exclude.c int options; /* common options for this segment */ options 143 maint/gnulib/lib/exclude.c fnmatch_pattern_has_wildcards (const char *str, int options) options 154 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 159 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 162 maint/gnulib/lib/exclude.c str += ! (options & FNM_NOESCAPE) && *str; options 166 maint/gnulib/lib/exclude.c if (options & FNM_EXTMATCH && *str == '(') options 255 maint/gnulib/lib/exclude.c new_exclude_segment (struct exclude *ex, enum exclude_type type, int options) options 259 maint/gnulib/lib/exclude.c sp->options = options; options 267 maint/gnulib/lib/exclude.c (options & FNM_CASEFOLD) ? options 270 maint/gnulib/lib/exclude.c (options & FNM_CASEFOLD) ? options 289 maint/gnulib/lib/exclude.c if (seg->v.pat.exclude[i].options & EXCLUDE_REGEX) options 331 maint/gnulib/lib/exclude.c fnmatch_no_wildcards (char const *pattern, char const *f, int options) options 333 maint/gnulib/lib/exclude.c if (! (options & FNM_LEADING_DIR)) options 334 maint/gnulib/lib/exclude.c return ((options & FNM_CASEFOLD) options 337 maint/gnulib/lib/exclude.c else if (! (options & FNM_CASEFOLD)) options 376 maint/gnulib/lib/exclude.c exclude_fnmatch (char const *pattern, char const *f, int options) options 379 maint/gnulib/lib/exclude.c (options & EXCLUDE_WILDCARDS options 382 maint/gnulib/lib/exclude.c bool matched = ((*matcher) (pattern, f, options) == 0); options 385 maint/gnulib/lib/exclude.c if (! (options & EXCLUDE_ANCHORED)) options 388 maint/gnulib/lib/exclude.c matched = ((*matcher) (pattern, p + 1, options) == 0); options 396 maint/gnulib/lib/exclude.c int options = opts->options; options 398 maint/gnulib/lib/exclude.c return (options & EXCLUDE_REGEX) options 400 maint/gnulib/lib/exclude.c : exclude_fnmatch (opts->v.pattern, f, options); options 426 maint/gnulib/lib/exclude.c int options = seg->options; options 438 maint/gnulib/lib/exclude.c if (options & FNM_LEADING_DIR) options 450 maint/gnulib/lib/exclude.c if (!(options & EXCLUDE_ANCHORED)) options 509 maint/gnulib/lib/exclude.c return invert ^ ! (seg->options & EXCLUDE_INCLUDE); options 515 maint/gnulib/lib/exclude.c add_exclude (struct exclude *ex, char const *pattern, int options) options 521 maint/gnulib/lib/exclude.c if ((options & (EXCLUDE_REGEX|EXCLUDE_WILDCARDS)) options 522 maint/gnulib/lib/exclude.c && fnmatch_pattern_has_wildcards (pattern, options)) options 525 maint/gnulib/lib/exclude.c && ((ex->head->options & EXCLUDE_INCLUDE) options 526 maint/gnulib/lib/exclude.c == (options & EXCLUDE_INCLUDE)))) options 527 maint/gnulib/lib/exclude.c new_exclude_segment (ex, exclude_pattern, options); options 537 maint/gnulib/lib/exclude.c patopts->options = options; options 538 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 542 maint/gnulib/lib/exclude.c ((options & FNM_CASEFOLD) ? REG_ICASE : 0); options 544 maint/gnulib/lib/exclude.c if (options & FNM_LEADING_DIR) options 574 maint/gnulib/lib/exclude.c if (options & EXCLUDE_ALLOC) options 588 maint/gnulib/lib/exclude.c && ((ex->head->options & exclude_hash_flags) options 589 maint/gnulib/lib/exclude.c == (options & exclude_hash_flags)))) options 590 maint/gnulib/lib/exclude.c new_exclude_segment (ex, exclude_hash, options); options 594 maint/gnulib/lib/exclude.c if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS) options 609 maint/gnulib/lib/exclude.c struct exclude *ex, FILE *fp, int options, options 655 maint/gnulib/lib/exclude.c (*add_func) (ex, pattern, options, data); options 666 maint/gnulib/lib/exclude.c call_addfn (struct exclude *ex, char const *pattern, int options, void *data) options 669 maint/gnulib/lib/exclude.c (*addfnptr) (ex, pattern, options); options 674 maint/gnulib/lib/exclude.c struct exclude *ex, char const *file_name, int options, options 678 maint/gnulib/lib/exclude.c return add_exclude_fp (call_addfn, ex, stdin, options, line_end, &add_func); options 683 maint/gnulib/lib/exclude.c int rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func); options 360 maint/gnulib/lib/fts.c register int options, options 371 maint/gnulib/lib/fts.c if (options & ~FTS_OPTIONMASK) { options 375 maint/gnulib/lib/fts.c if ((options & FTS_NOCHDIR) && (options & FTS_CWDFD)) { options 379 maint/gnulib/lib/fts.c if ( ! (options & (FTS_LOGICAL | FTS_PHYSICAL))) { options 389 maint/gnulib/lib/fts.c sp->fts_options = options; options 469 maint/gnulib/lib/fts.c if ( ! (options & FTS_VERBATIM)) options 28 maint/gnulib/lib/getopt1.c getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, options 31 maint/gnulib/lib/getopt1.c return _getopt_internal (argc, (char **) argv, options, long_options, options 36 maint/gnulib/lib/getopt1.c _getopt_long_r (int argc, char **argv, const char *options, options 40 maint/gnulib/lib/getopt1.c return _getopt_internal_r (argc, argv, options, long_options, opt_index, options 51 maint/gnulib/lib/getopt1.c const char *options, options 54 maint/gnulib/lib/getopt1.c return _getopt_internal (argc, (char **) argv, options, long_options, options 59 maint/gnulib/lib/getopt1.c _getopt_long_only_r (int argc, char **argv, const char *options, options 63 maint/gnulib/lib/getopt1.c return _getopt_internal_r (argc, argv, options, long_options, opt_index, options 412 maint/gnulib/lib/human.c humblock (char const *spec, uintmax_t *block_size, int *options) options 441 maint/gnulib/lib/human.c *options = 0; options 457 maint/gnulib/lib/human.c *options = opts; options 88 maint/gnulib/lib/mkdir-p.c void *options, options 105 maint/gnulib/lib/mkdir-p.c prefix_len = mkancesdirs (dir, wd, make_ancestor, options); options 136 maint/gnulib/lib/mkdir-p.c announce (dir, options); options 29 maint/gnulib/lib/mkdir-p.h void *options, options 1002 maint/gnulib/lib/mountlist.c char *options, *ignore; options 1029 maint/gnulib/lib/mountlist.c options = thisent + vmp->vmt_data[VMT_ARGS].vmt_off; options 1030 maint/gnulib/lib/mountlist.c ignore = strstr (options, "ignore"); options 1032 maint/gnulib/lib/mountlist.c && (ignore == options || ignore[-1] == ',') options 871 maint/gnulib/lib/quotearg.c struct quoting_options const *options) options 898 maint/gnulib/lib/quotearg.c int flags = options->flags | QA_ELIDE_NULL_BYTES; options 900 maint/gnulib/lib/quotearg.c options->style, flags, options 901 maint/gnulib/lib/quotearg.c options->quote_these_too, options 902 maint/gnulib/lib/quotearg.c options->left_quote, options 903 maint/gnulib/lib/quotearg.c options->right_quote); options 911 maint/gnulib/lib/quotearg.c quotearg_buffer_restyled (val, size, arg, argsize, options->style, options 912 maint/gnulib/lib/quotearg.c flags, options->quote_these_too, options 913 maint/gnulib/lib/quotearg.c options->left_quote, options 914 maint/gnulib/lib/quotearg.c options->right_quote); options 976 maint/gnulib/lib/quotearg.c struct quoting_options options; options 977 maint/gnulib/lib/quotearg.c options = default_quoting_options; options 978 maint/gnulib/lib/quotearg.c set_char_quoting (&options, ch, 1); options 979 maint/gnulib/lib/quotearg.c return quotearg_n_options (0, arg, argsize, &options); options 1003 maint/gnulib/lib/quotearg.c struct quoting_options options; options 1004 maint/gnulib/lib/quotearg.c options = quoting_options_from_style (s); options 1005 maint/gnulib/lib/quotearg.c set_char_quoting (&options, ':', 1); options 1006 maint/gnulib/lib/quotearg.c return quotearg_n_options (n, arg, SIZE_MAX, &options); options 68 maint/gnulib/lib/readutmp.c desirable_utmp_entry (STRUCT_UTMP const *u, int options) options 71 maint/gnulib/lib/readutmp.c if ((options & READ_UTMP_USER_PROCESS) && !user_proc) options 73 maint/gnulib/lib/readutmp.c if ((options & READ_UTMP_CHECK_PIDS) options 92 maint/gnulib/lib/readutmp.c int options) options 108 maint/gnulib/lib/readutmp.c if (desirable_utmp_entry (u, options)) options 128 maint/gnulib/lib/readutmp.c int options) options 145 maint/gnulib/lib/readutmp.c n_read += desirable_utmp_entry (&utmp[n_read], options); options 221 maint/gnulib/lib/readutmp.h int options); options 101 maint/gnulib/lib/regex-quote.c regex_quote_spec_pcre (int options, bool anchored) options 109 maint/gnulib/lib/regex-quote.c if (options & PCRE_EXTENDED) options 125 maint/gnulib/lib/regex-quote.c result.anchored = (options & PCRE_ANCHORED ? 0 : anchored); options 70 maint/gnulib/lib/regex-quote.h regex_quote_spec_pcre (int options, bool anchored); options 99 maint/gnulib/lib/savewd.c savewd_chdir (struct savewd *wd, char const *dir, int options, options 108 maint/gnulib/lib/savewd.c || (options & (HAVE_WORKING_O_NOFOLLOW ? SAVEWD_CHDIR_NOFOLLOW : 0))) options 112 maint/gnulib/lib/savewd.c | (options & SAVEWD_CHDIR_NOFOLLOW ? O_NOFOLLOW : 0))); options 124 maint/gnulib/lib/savewd.c if (result == 0 && ! (0 <= fd && options & SAVEWD_CHDIR_SKIP_READABLE)) options 269 maint/gnulib/lib/savewd.c void *options) options 285 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); options 302 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); options 111 maint/gnulib/lib/savewd.h int savewd_chdir (struct savewd *wd, char const *dir, int options, options 149 maint/gnulib/lib/savewd.h void *options); options 60 maint/gnulib/lib/se-label.in.h _GL_ATTRIBUTE_MAYBE_UNUSED struct selinux_opt *options, options 115 maint/gnulib/lib/sys_wait.in.h _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); options 119 maint/gnulib/lib/sys_wait.in.h _GL_CXXALIAS_SYS_CAST (waitpid, pid_t, (pid_t pid, int *statusp, int options)); options 126 maint/gnulib/lib/utimecmp.c int options) options 128 maint/gnulib/lib/utimecmp.c return utimecmpat (AT_FDCWD, dst_name, dst_stat, src_stat, options); options 135 maint/gnulib/lib/utimecmp.c int options) options 158 maint/gnulib/lib/utimecmp.c if (options & UTIMECMP_TRUNCATE_SOURCE) options 27 maint/gnulib/lib/waitpid.c waitpid (pid_t pid, int *statusp, int options) options 25 maint/gnulib/tests/test-fnmatch-h.c int options[] = { FNM_PATHNAME, FNM_PERIOD, FNM_NOESCAPE }; options 34 maint/gnulib/tests/test-getopt.h const char *options, options 43 maint/gnulib/tests/test-getopt.h while ((c = getopt (argc, (char **) argv, options)) != -1) options 61 maint/gnulib/tests/test-getopt.h ASSERT (options[0] == '-'); options 66 maint/gnulib/tests/test-getopt.h ASSERT (options[0] == ':' options 67 maint/gnulib/tests/test-getopt.h || ((options[0] == '-' || options[0] == '+') options 68 maint/gnulib/tests/test-getopt.h && options[1] == ':')); options 47 maint/gnulib/tests/test-getopt_long.h const char *options, const struct option *long_options, options 57 maint/gnulib/tests/test-getopt_long.h while ((c = getopt_long (argc, (char **) argv, options, long_options, options 82 maint/gnulib/tests/test-getopt_long.h ASSERT (options[0] == '-'); options 87 maint/gnulib/tests/test-getopt_long.h ASSERT (options[0] == ':' options 88 maint/gnulib/tests/test-getopt_long.h || ((options[0] == '-' || options[0] == '+') options 89 maint/gnulib/tests/test-getopt_long.h && options[1] == ':')); options 53 tools/attrd_updater.c } options = { options 60 tools/attrd_updater.c pcmk__str_update(&options.attr_value, optarg); options 63 tools/attrd_updater.c options.command = 'B'; options 65 tools/attrd_updater.c options.command = 'D'; options 67 tools/attrd_updater.c options.command = 'Q'; options 69 tools/attrd_updater.c options.command = 'R'; options 71 tools/attrd_updater.c options.command = 'U'; options 73 tools/attrd_updater.c options.command = 'Y'; options 81 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_private); options 88 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_perm); options 90 tools/attrd_updater.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_perm); options 103 tools/attrd_updater.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, options 152 tools/attrd_updater.c { "delay", 'd', 0, G_OPTION_ARG_STRING, &options.attr_dampen, options 157 tools/attrd_updater.c { "set", 's', 0, G_OPTION_ARG_STRING, &options.attr_set, options 161 tools/attrd_updater.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.attr_node, options 165 tools/attrd_updater.c { "all", 'A', 0, G_OPTION_ARG_NONE, &options.query_all, options 182 tools/attrd_updater.c { "quiet", 'q', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.quiet, options 255 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { options 259 tools/attrd_updater.c } else if ((options.command == 'B'|| options.command == 'Y') && options.attr_dampen == NULL) { options 260 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); options 265 tools/attrd_updater.c if (options.command == 'Q') { options 266 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); options 274 tools/attrd_updater.c int rc = send_attrd_update(options.command, options.attr_node, options 275 tools/attrd_updater.c options.attr_name, options.attr_value, options 276 tools/attrd_updater.c options.attr_set, options.attr_dampen, options 277 tools/attrd_updater.c options.attr_options); options 284 tools/attrd_updater.c g_free(options.attr_dampen); options 285 tools/attrd_updater.c g_free(options.attr_name); options 286 tools/attrd_updater.c g_free(options.attr_node); options 287 tools/attrd_updater.c g_free(options.attr_set); options 288 tools/attrd_updater.c free(options.attr_value); options 101 tools/crm_attribute.c } options = { options 110 tools/crm_attribute.c options.command = 'D'; options 111 tools/crm_attribute.c pcmk__str_update(&options.attr_value, NULL); options 119 tools/crm_attribute.c options.promotion_score = TRUE; options 121 tools/crm_attribute.c if (options.attr_name) { options 122 tools/crm_attribute.c g_free(options.attr_name); options 127 tools/crm_attribute.c options.attr_name = g_strdup(score_name); options 130 tools/crm_attribute.c options.attr_name = NULL; options 138 tools/crm_attribute.c options.command = 'u'; options 139 tools/crm_attribute.c pcmk__str_update(&options.attr_value, optarg); options 145 tools/crm_attribute.c if (options.type) { options 146 tools/crm_attribute.c g_free(options.type); options 149 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 150 tools/crm_attribute.c pcmk__str_update(&options.set_type, XML_TAG_UTILIZATION); options 156 tools/crm_attribute.c options.command = 'G'; options 157 tools/crm_attribute.c pcmk__str_update(&options.attr_value, NULL); options 162 tools/crm_attribute.c { "id", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 168 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, options 175 tools/crm_attribute.c { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern, options 189 tools/crm_attribute.c { "set-name", 's', 0, G_OPTION_ARG_STRING, &options.set_name, options 219 tools/crm_attribute.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 224 tools/crm_attribute.c { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type, options 230 tools/crm_attribute.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.dest_uname, options 236 tools/crm_attribute.c { "type", 't', 0, G_OPTION_ARG_STRING, &options.type, options 247 tools/crm_attribute.c { "inhibit-policy-engine", '!', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.inhibit, options 255 tools/crm_attribute.c { "attr-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_id, options 259 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, options 275 tools/crm_attribute.c { "node-uname", 'U', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.dest_uname, options 314 tools/crm_attribute.c pcmk__str_update(&options.dest_uname, reply->data.node_info.uname); options 322 tools/crm_attribute.c g_free(options.dest_uname); options 328 tools/crm_attribute.c options.dest_uname = g_strdup(hostname); options 385 tools/crm_attribute.c if (options.attr_pattern) { options 422 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { options 426 tools/crm_attribute.c rc = cib__delete_node_attr(dd->out, dd->cib, cib_opts, options.type, options 427 tools/crm_attribute.c options.dest_node, options.set_type, options 428 tools/crm_attribute.c options.set_name, options.attr_id, options 429 tools/crm_attribute.c attr_name, options.attr_value, NULL); options 444 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 450 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 451 tools/crm_attribute.c options.set_type, options.set_name, NULL, NULL, options 465 tools/crm_attribute.c rc = cib__delete_node_attr(out, cib, cib_opts, options.type, options.dest_node, options 466 tools/crm_attribute.c options.set_type, options.set_name, options.attr_id, options 467 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); options 497 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { options 501 tools/crm_attribute.c return cib__update_node_attr(ud->out, ud->cib, cib_opts, options.type, options 502 tools/crm_attribute.c options.dest_node, options.set_type, options 503 tools/crm_attribute.c options.set_name, options.attr_id, options 504 tools/crm_attribute.c attr_name, options.attr_value, NULL, options 514 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 516 tools/crm_attribute.c CRM_LOG_ASSERT(options.type != NULL); options 517 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); options 518 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_value != NULL); options 524 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 525 tools/crm_attribute.c options.set_type, options.set_name, NULL, NULL, options 539 tools/crm_attribute.c rc = cib__update_node_attr(out, cib, cib_opts, options.type, options 540 tools/crm_attribute.c options.dest_node, options.set_type, options 541 tools/crm_attribute.c options.set_name, options.attr_id, options 542 tools/crm_attribute.c options.attr_name, options.attr_value, options 566 tools/crm_attribute.c const char *type = options.type; options 567 tools/crm_attribute.c const char *attr_id = options.attr_id; options 569 tools/crm_attribute.c if (od->use_pattern && !pcmk__str_eq(name, options.attr_pattern, pcmk__str_regex)) { options 577 tools/crm_attribute.c options.set_name ? "in " : "", options.set_name ? options.set_name : ""); options 588 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 596 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 597 tools/crm_attribute.c options.set_type, options.set_name, NULL, options 600 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 601 tools/crm_attribute.c options.set_type, options.set_name, options.attr_id, options 602 tools/crm_attribute.c options.attr_name, NULL, &result); options 605 tools/crm_attribute.c if (rc == ENXIO && options.attr_default) { options 607 tools/crm_attribute.c const char *type = options.type; options 608 tools/crm_attribute.c const char *attr_id = options.attr_id; options 609 tools/crm_attribute.c const char *attr_name = options.attr_name; options 610 tools/crm_attribute.c const char *attr_default = options.attr_default; options 611 tools/crm_attribute.c const char *dest_uname = options.dest_uname; options 641 tools/crm_attribute.c if (options.type == NULL) { options 642 tools/crm_attribute.c if (options.promotion_score) { options 644 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 646 tools/crm_attribute.c } else if (options.dest_uname != NULL) { options 648 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 652 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_CRMCONFIG); options 655 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) { options 656 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 658 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) { options 659 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 669 tools/crm_attribute.c return pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei) && options 676 tools/crm_attribute.c return use_attrd() && (options.command == 'D' || options.command == 'u'); options 686 tools/crm_attribute.c return options.command == 'G' || options 687 tools/crm_attribute.c ((options.command == 'u' || options.command == 'D') && options 688 tools/crm_attribute.c pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei)); options 694 tools/crm_attribute.c return options.command != 'D' || options.attr_name != NULL || options.attr_pattern != NULL; options 785 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { options 793 tools/crm_attribute.c if (options.inhibit) { options 812 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, options 818 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); options 821 tools/crm_attribute.c g_free(options.dest_uname); options 822 tools/crm_attribute.c options.dest_uname = g_strdup(target); options 823 tools/crm_attribute.c } else if (getenv("CIB_file") != NULL && options.dest_uname == NULL) { options 827 tools/crm_attribute.c if (options.dest_uname == NULL) { options 844 tools/crm_attribute.c rc = query_node_uuid(the_cib, options.dest_uname, &options.dest_node, &is_remote_node); options 850 tools/crm_attribute.c "Could not map name=%s to a UUID", options.dest_uname); options 862 tools/crm_attribute.c if (options.attr_pattern) { options 871 tools/crm_attribute.c g_free(options.attr_name); options 872 tools/crm_attribute.c options.attr_name = options.attr_pattern; options 880 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, options 881 tools/crm_attribute.c options.attr_value, options.set_name, NULL, attrd_opts) == pcmk_rc_ok)) { options 883 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); options 885 tools/crm_attribute.c } else if (options.command == 'D') { options 888 tools/crm_attribute.c } else if (options.command == 'u') { options 910 tools/crm_attribute.c free(options.attr_default); options 911 tools/crm_attribute.c g_free(options.attr_id); options 912 tools/crm_attribute.c g_free(options.attr_name); options 913 tools/crm_attribute.c free(options.attr_value); options 914 tools/crm_attribute.c free(options.dest_node); options 915 tools/crm_attribute.c g_free(options.dest_uname); options 916 tools/crm_attribute.c g_free(options.set_name); options 917 tools/crm_attribute.c free(options.set_type); options 918 tools/crm_attribute.c g_free(options.type); options 40 tools/crm_diff.c } options; options 47 tools/crm_diff.c { "original", 'o', 0, G_OPTION_ARG_STRING, &options.xml_file_1, options 58 tools/crm_diff.c { "new", 'n', 0, G_OPTION_ARG_STRING, &options.xml_file_2, options 72 tools/crm_diff.c { "cib", 'c', 0, G_OPTION_ARG_NONE, &options.as_cib, options 75 tools/crm_diff.c { "stdin", 's', 0, G_OPTION_ARG_NONE, &options.use_stdin, options 78 tools/crm_diff.c { "no-version", 'u', 0, G_OPTION_ARG_NONE, &options.no_version, options 87 tools/crm_diff.c options.raw_2 = TRUE; options 88 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); options 94 tools/crm_diff.c options.raw_1 = TRUE; options 95 tools/crm_diff.c pcmk__str_update(&options.xml_file_1, optarg); options 101 tools/crm_diff.c options.apply = TRUE; options 102 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); options 317 tools/crm_diff.c if (options.apply && options.no_version) { options 319 tools/crm_diff.c } else if (options.as_cib && options.no_version) { options 325 tools/crm_diff.c if (options.raw_1) { options 326 tools/crm_diff.c object_1 = string2xml(options.xml_file_1); options 328 tools/crm_diff.c } else if (options.use_stdin) { options 332 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { options 333 tools/crm_diff.c object_1 = filename2xml(options.xml_file_1); options 336 tools/crm_diff.c if (options.raw_2) { options 337 tools/crm_diff.c object_2 = string2xml(options.xml_file_2); options 339 tools/crm_diff.c } else if (options.use_stdin) { options 343 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { options 344 tools/crm_diff.c object_2 = filename2xml(options.xml_file_2); options 358 tools/crm_diff.c if (options.apply) { options 359 tools/crm_diff.c rc = apply_patch(object_1, object_2, options.as_cib); options 361 tools/crm_diff.c rc = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version); options 368 tools/crm_diff.c free(options.xml_file_1); options 369 tools/crm_diff.c free(options.xml_file_2); options 26 tools/crm_error.c } options = { options 35 tools/crm_error.c options.result_type = pcmk_result_exitcode; options 37 tools/crm_error.c options.result_type = pcmk_result_rc; options 44 tools/crm_error.c { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name, options 48 tools/crm_error.c { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list, options 112 tools/crm_error.c options.do_list = TRUE; options 122 tools/crm_error.c if (options.do_list) { options 125 tools/crm_error.c if (options.with_name) { options 131 tools/crm_error.c pcmk__list_result_codes(out, options.result_type, flags); options 144 tools/crm_error.c if (options.with_name) { options 159 tools/crm_error.c pcmk__show_result_code(out, code, options.result_type, flags); options 130 tools/crm_mon.c } options = { options 259 tools/crm_mon.c if (options.neg_location_prefix != NULL) { options 260 tools/crm_mon.c free(options.neg_location_prefix); options 261 tools/crm_mon.c options.neg_location_prefix = NULL; options 265 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); options 320 tools/crm_mon.c options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s); options 328 tools/crm_mon.c options.includes_excludes = g_slist_append(options.includes_excludes, s); options 336 tools/crm_mon.c options.one_shot = TRUE; options 353 tools/crm_mon.c options.one_shot = TRUE; options 374 tools/crm_mon.c options.fence_connect = TRUE; options 380 tools/crm_mon.c options.fence_connect = TRUE; options 386 tools/crm_mon.c options.fence_connect = TRUE; options 391 tools/crm_mon.c options.fence_connect = FALSE; options 451 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); options 492 tools/crm_mon.c options.one_shot = TRUE; options 504 tools/crm_mon.c { "one-shot", '1', 0, G_OPTION_ARG_NONE, &options.one_shot, options 508 tools/crm_mon.c { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &options.daemonize, options 513 tools/crm_mon.c { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file, options 517 tools/crm_mon.c { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent, options 521 tools/crm_mon.c { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient, options 525 tools/crm_mon.c { "watch-fencing", 'W', 0, G_OPTION_ARG_NONE, &options.watch_fencing, options 547 tools/crm_mon.c { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node, options 552 tools/crm_mon.c { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc, options 608 tools/crm_mon.c { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending, options 669 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 700 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 748 tools/crm_mon.c if (options.fence_connect && st == NULL) { options 752 tools/crm_mon.c if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) { options 759 tools/crm_mon.c if (options.watch_fencing) { options 843 tools/crm_mon.c options.fence_connect = TRUE; options 849 tools/crm_mon.c options.fence_connect = TRUE; options 855 tools/crm_mon.c options.fence_connect = TRUE; options 862 tools/crm_mon.c options.fence_connect = FALSE; options 951 tools/crm_mon.c rc = pcmk_poll_ipc(pacemakerd_api, options.reconnect_ms/2); options 1291 tools/crm_mon.c } else if (options.one_shot) { options 1294 tools/crm_mon.c } else if (!options.daemonize && args->output_dest != NULL) { options 1295 tools/crm_mon.c options.one_shot = TRUE; options 1334 tools/crm_mon.c options.only_node, options.only_rsc, options 1335 tools/crm_mon.c options.neg_location_prefix, options 1367 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); options 1375 tools/crm_mon.c options.one_shot = TRUE; options 1406 tools/crm_mon.c if (options.watch_fencing) { options 1408 tools/crm_mon.c options.fence_connect = TRUE; options 1432 tools/crm_mon.c options.one_shot = TRUE; options 1448 tools/crm_mon.c if (options.one_shot) { options 1453 tools/crm_mon.c } else if (options.daemonize) { options 1455 tools/crm_mon.c !options.external_agent) { options 1465 tools/crm_mon.c options.one_shot = TRUE; options 1494 tools/crm_mon.c if (options.daemonize) { options 1495 tools/crm_mon.c if (!options.external_agent && (output_format == mon_output_console || options 1507 tools/crm_mon.c pcmk__daemonize(crm_system_name, options.pid_file); options 1517 tools/crm_mon.c apply_include_exclude(options.includes_excludes, &error); options 1523 tools/crm_mon.c if (!apply_include_exclude(options.user_includes_excludes, &error)) { options 1555 tools/crm_mon.c } else if (options.external_agent != NULL) { options 1558 tools/crm_mon.c } else if (options.daemonize == TRUE) { options 1567 tools/crm_mon.c if (!options.daemonize) { options 1568 tools/crm_mon.c options.one_shot = TRUE; options 1575 tools/crm_mon.c pcmk__itoa(options.reconnect_ms / 1000), NULL); options 1587 tools/crm_mon.c if (options.one_shot) { options 1601 tools/crm_mon.c pcmk__sleep_ms(options.reconnect_ms); options 1665 tools/crm_mon.c crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent); options 1670 tools/crm_mon.c if (options.external_recipient) { options 1671 tools/crm_mon.c setenv("CRM_notify_recipient", options.external_recipient, 1); options 1686 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); options 1690 tools/crm_mon.c crm_trace("Finished running custom notification program '%s'.", options.external_agent); options 1784 tools/crm_mon.c if (notify && options.external_agent) { options 1955 tools/crm_mon.c if (options.external_agent) { options 2004 tools/crm_mon.c show, show_opts, options.only_node, options 2005 tools/crm_mon.c options.only_rsc, options.neg_location_prefix, options 2032 tools/crm_mon.c } else if (options.external_agent) { options 2077 tools/crm_mon.c ((now - last_refresh) > (options.reconnect_ms / 1000)) || options 2135 tools/crm_mon.c free(options.neg_location_prefix); options 2136 tools/crm_mon.c free(options.only_node); options 2137 tools/crm_mon.c free(options.only_rsc); options 2138 tools/crm_mon.c free(options.pid_file); options 2139 tools/crm_mon.c g_slist_free_full(options.includes_excludes, free); options 2187 tools/crm_mon.c if (!options.daemonize) { options 36 tools/crm_node.c } options = { options 79 tools/crm_node.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag, options 84 tools/crm_node.c { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync, options 97 tools/crm_node.c options.command = 'i'; options 99 tools/crm_node.c options.command = 'l'; options 101 tools/crm_node.c options.command = 'n'; options 103 tools/crm_node.c options.command = 'p'; options 105 tools/crm_node.c options.command = 'q'; options 116 tools/crm_node.c options.command = 'N'; options 117 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); options 129 tools/crm_node.c options.command = 'R'; options 130 tools/crm_node.c options.dangerous_cmd = TRUE; options 131 tools/crm_node.c pcmk__str_update(&options.target_uname, optarg); options 174 tools/crm_node.c switch (options.command) { options 237 tools/crm_node.c if (options.command == 'l') { options 246 tools/crm_node.c if (options.command == 'p') { options 552 tools/crm_node.c if (options.command == 0) { options 561 tools/crm_node.c if (options.dangerous_cmd && options.force_flag == FALSE) { options 569 tools/crm_node.c switch (options.command) { options 574 tools/crm_node.c remove_node(options.target_uname); options 579 tools/crm_node.c run_controller_mainloop(options.nodeid, false); options 115 tools/crm_resource.c } options = { options 127 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 132 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 136 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 139 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 497 tools/crm_resource.c { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime, options 502 tools/crm_resource.c &options.promoted_role_only, options 510 tools/crm_resource.c &options.promoted_role_only, options 574 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, options 577 tools/crm_resource.c { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive, options 580 tools/crm_resource.c { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type, options 583 tools/crm_resource.c { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value, options 594 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, options 597 tools/crm_resource.c { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec, options 617 tools/crm_resource.c { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set, options 620 tools/crm_resource.c { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id, options 627 tools/crm_resource.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 631 tools/crm_resource.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file, options 634 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, options 643 tools/crm_resource.c options.require_crmd = FALSE; options 644 tools/crm_resource.c options.require_node = FALSE; options 646 tools/crm_resource.c options.require_cib = TRUE; options 647 tools/crm_resource.c options.require_dataset = TRUE; options 648 tools/crm_resource.c options.require_resource = TRUE; options 650 tools/crm_resource.c options.find_flags = 0; options 655 tools/crm_resource.c options.cmdline_config = TRUE; options 656 tools/crm_resource.c options.require_resource = FALSE; options 659 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); options 661 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); options 670 tools/crm_resource.c options.attr_set_type = XML_TAG_META_SETS; options 672 tools/crm_resource.c options.attr_set_type = XML_TAG_UTILIZATION; options 680 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); options 681 tools/crm_resource.c options.cmdline_config = TRUE; options 682 tools/crm_resource.c options.require_resource = FALSE; options 694 tools/crm_resource.c options.require_resource = FALSE; options 696 tools/crm_resource.c options.require_crmd = TRUE; options 698 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 705 tools/crm_resource.c options.require_dataset = FALSE; options 706 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 712 tools/crm_resource.c options.clear_expired = TRUE; options 713 tools/crm_resource.c options.require_resource = FALSE; options 720 tools/crm_resource.c options.require_cib = FALSE; options 721 tools/crm_resource.c options.require_dataset = FALSE; options 722 tools/crm_resource.c options.require_resource = FALSE; options 723 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); options 749 tools/crm_resource.c options.require_cib = FALSE; options 750 tools/crm_resource.c options.require_dataset = FALSE; options 751 tools/crm_resource.c options.require_resource = FALSE; options 783 tools/crm_resource.c if (options.cmdline_params == NULL) { options 784 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 786 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); options 793 tools/crm_resource.c options.require_crmd = TRUE; options 794 tools/crm_resource.c options.require_node = TRUE; options 802 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 805 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 808 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 811 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 814 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 817 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 821 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 825 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 826 tools/crm_resource.c options.recursive = TRUE; options 840 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 841 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 859 tools/crm_resource.c options.require_resource = FALSE; options 871 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 872 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 879 tools/crm_resource.c options.require_dataset = FALSE; options 880 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 881 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 887 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); options 896 tools/crm_resource.c if (options.operation) { options 897 tools/crm_resource.c g_free(options.operation); options 899 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" options 900 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 901 tools/crm_resource.c if (options.override_params == NULL) { options 902 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 906 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { options 921 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 930 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 931 tools/crm_resource.c if (options.override_params == NULL) { options 932 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 934 tools/crm_resource.c options.require_node = TRUE; options 935 tools/crm_resource.c options.require_dataset = TRUE; options 942 tools/crm_resource.c options.require_resource = FALSE; options 943 tools/crm_resource.c options.require_dataset = FALSE; options 950 tools/crm_resource.c options.require_resource = FALSE; options 951 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 967 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 968 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 986 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 987 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 997 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); options 1006 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); options 1017 tools/crm_resource.c if (options.force == FALSE) { options 1022 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1023 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, options 1024 tools/crm_resource.c options.interval_spec, TRUE, data_set, options.force); options 1050 tools/crm_resource.c if (options.clear_expired) { options 1051 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, options 1052 tools/crm_resource.c options.rsc_id, options.host_uname, options 1053 tools/crm_resource.c options.promoted_role_only); options 1055 tools/crm_resource.c } else if (options.host_uname) { options 1056 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); options 1064 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, options 1065 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1068 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, options 1069 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1109 tools/crm_resource.c if (options.rsc_type == NULL) { options 1116 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1117 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1120 tools/crm_resource.c options.cib_options); options 1180 tools/crm_resource.c switch (options.rsc_cmd) { options 1243 tools/crm_resource.c if (options.xml_file != NULL) { options 1244 tools/crm_resource.c *cib_xml_copy = filename2xml(options.xml_file); options 1279 tools/crm_resource.c const char *router_node = options.host_uname; options 1282 tools/crm_resource.c if (options.host_uname) { options 1283 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); options 1291 tools/crm_resource.c options.host_uname); options 1301 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); options 1306 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); options 1308 tools/crm_resource.c rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL, options 1311 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, options 1324 tools/crm_resource.c if (options.force == FALSE) { options 1329 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1330 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, options 1331 tools/crm_resource.c FALSE, data_set, options.force); options 1349 tools/crm_resource.c if (pcmk__str_empty(options.rsc_type)) { options 1355 tools/crm_resource.c } else if (pcmk__str_empty(options.prop_value)) { options 1362 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); options 1364 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1365 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1366 tools/crm_resource.c crm_xml_add(msg_data, options.prop_name, options.prop_value); options 1369 tools/crm_resource.c options.cib_options); options 1431 tools/crm_resource.c if (options.rsc_id != NULL) { options 1436 tools/crm_resource.c } else if (options.rsc_cmd != cmd_execute_agent) { options 1444 tools/crm_resource.c } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) { options 1445 tools/crm_resource.c if (options.v_provider != NULL) { options 1449 tools/crm_resource.c } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) { options 1451 tools/crm_resource.c "%s is not a known stonith agent", options.v_agent ? options.v_agent : ""); options 1454 tools/crm_resource.c } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) { options 1457 tools/crm_resource.c options.v_class ? options.v_class : "", options 1458 tools/crm_resource.c options.v_provider ? options.v_provider : "", options 1459 tools/crm_resource.c options.v_agent ? options.v_agent : ""); options 1466 tools/crm_resource.c if (options.cmdline_params == NULL) { options 1467 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 1469 tools/crm_resource.c options.require_resource = FALSE; options 1470 tools/crm_resource.c options.require_dataset = FALSE; options 1471 tools/crm_resource.c options.require_cib = FALSE; options 1482 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, options 1485 tools/crm_resource.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 1589 tools/crm_resource.c if (options.rsc_cmd == cmd_none) { options 1590 tools/crm_resource.c options.rsc_cmd = cmd_list_resources; options 1591 tools/crm_resource.c options.require_resource = FALSE; options 1595 tools/crm_resource.c if (options.clear_expired && (options.rsc_cmd != cmd_clear)) { options 1601 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { options 1603 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1609 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); options 1622 tools/crm_resource.c } else if (options.remainder != NULL) { options 1628 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1640 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1665 tools/crm_resource.c switch (options.rsc_cmd) { options 1681 tools/crm_resource.c if ((options.rsc_cmd == cmd_colocations) || options 1682 tools/crm_resource.c options.rsc_cmd == cmd_list_resources) { options 1692 tools/crm_resource.c if (options.cmdline_config) { options 1702 tools/crm_resource.c } else if (options.cmdline_params != NULL) { options 1704 tools/crm_resource.c g_hash_table_destroy(options.cmdline_params); options 1705 tools/crm_resource.c options.cmdline_params = NULL; options 1708 tools/crm_resource.c if (options.require_resource && (options.rsc_id == NULL)) { options 1714 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { options 1725 tools/crm_resource.c if (options.force) { options 1727 tools/crm_resource.c cib__set_call_options(options.cib_options, crm_system_name, options 1731 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1732 tools/crm_resource.c options.require_dataset = TRUE; options 1736 tools/crm_resource.c if (options.require_cib) { options 1755 tools/crm_resource.c if (options.require_dataset) { options 1764 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1765 tools/crm_resource.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 1766 tools/crm_resource.c options.find_flags); options 1770 tools/crm_resource.c "Resource '%s' not found", options.rsc_id); options 1777 tools/crm_resource.c if (strchr(options.rsc_id, ':') != NULL && pe_rsc_is_clone(rsc->parent) && options 1778 tools/crm_resource.c (options.rsc_cmd == cmd_ban || options.rsc_cmd == cmd_clear || options 1779 tools/crm_resource.c options.rsc_cmd == cmd_move || options.rsc_cmd == cmd_restart)) { options 1782 tools/crm_resource.c "Cannot operate on clone resource instance '%s'", options.rsc_id); options 1788 tools/crm_resource.c if ((options.host_uname != NULL) && (data_set != NULL)) { options 1789 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1794 tools/crm_resource.c "Node '%s' not found", options.host_uname); options 1800 tools/crm_resource.c if (options.require_crmd) { options 1823 tools/crm_resource.c switch (options.rsc_cmd) { options 1850 tools/crm_resource.c rc = list_providers(out, options.agent_spec); options 1854 tools/crm_resource.c rc = list_agents(out, options.agent_spec); options 1858 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); options 1867 tools/crm_resource.c rc = cli_resource_restart(out, rsc, node, options.move_lifetime, options 1868 tools/crm_resource.c options.timeout_ms, cib_conn, options 1869 tools/crm_resource.c options.cib_options, options.promoted_role_only, options 1870 tools/crm_resource.c options.force); options 1874 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); options 1878 tools/crm_resource.c if (options.cmdline_config) { options 1880 tools/crm_resource.c options.v_class, options.v_provider, options.v_agent, options 1881 tools/crm_resource.c options.operation, options.cmdline_params, options 1882 tools/crm_resource.c options.override_params, options.timeout_ms, options 1883 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1885 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, options 1886 tools/crm_resource.c options.operation, options.override_params, options 1887 tools/crm_resource.c options.timeout_ms, cib_conn, data_set, options 1888 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1893 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1898 tools/crm_resource.c options.override_params); options 1904 tools/crm_resource.c options.recursive, (bool) options.force); options 1914 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, options 1915 tools/crm_resource.c options.rsc_id, data_set); options 1922 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1923 tools/crm_resource.c options.host_uname, TRUE, options 1928 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1929 tools/crm_resource.c options.host_uname, FALSE, options 1934 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set); options 1935 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); options 1949 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { options 1962 tools/crm_resource.c if (options.host_uname == NULL) { options 1963 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1965 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, options 1966 tools/crm_resource.c options.move_lifetime, cib_conn, options 1967 tools/crm_resource.c options.cib_options, data_set, options 1968 tools/crm_resource.c options.promoted_role_only, options 1969 tools/crm_resource.c options.force); options 1980 tools/crm_resource.c if (options.host_uname == NULL) { options 1981 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1985 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, options 1986 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, options 1987 tools/crm_resource.c options.cib_options, options 1988 tools/crm_resource.c options.promoted_role_only); options 1999 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); options 2019 tools/crm_resource.c pcmk__s(options.prop_name, "unspecified property")); options 2023 tools/crm_resource.c crm_debug("Looking up %s in %s", options.prop_name, rsc->id); options 2025 tools/crm_resource.c if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_casei)) { options 2029 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_casei)) { options 2039 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, params); options 2047 tools/crm_resource.c if (pcmk__str_empty(options.prop_value)) { options 2055 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, options 2056 tools/crm_resource.c options.prop_set, options 2057 tools/crm_resource.c options.attr_set_type, options 2058 tools/crm_resource.c options.prop_id, options 2059 tools/crm_resource.c options.prop_name, options 2060 tools/crm_resource.c options.prop_value, options 2061 tools/crm_resource.c options.recursive, cib_conn, options 2062 tools/crm_resource.c options.cib_options, data_set, options 2063 tools/crm_resource.c options.force); options 2068 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, options 2069 tools/crm_resource.c options.prop_set, options 2070 tools/crm_resource.c options.attr_set_type, options 2071 tools/crm_resource.c options.prop_id, options 2072 tools/crm_resource.c options.prop_name, cib_conn, options 2073 tools/crm_resource.c options.cib_options, data_set, options 2074 tools/crm_resource.c options.force); options 2079 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, options 2080 tools/crm_resource.c options.operation, options.interval_spec, options 2105 tools/crm_resource.c "Unimplemented command: %d", (int) options.rsc_cmd); options 2143 tools/crm_resource.c g_free(options.host_uname); options 2144 tools/crm_resource.c g_free(options.interval_spec); options 2145 tools/crm_resource.c g_free(options.move_lifetime); options 2146 tools/crm_resource.c g_free(options.operation); options 2147 tools/crm_resource.c g_free(options.prop_id); options 2148 tools/crm_resource.c free(options.prop_name); options 2149 tools/crm_resource.c g_free(options.prop_set); options 2150 tools/crm_resource.c g_free(options.prop_value); options 2151 tools/crm_resource.c g_free(options.rsc_id); options 2152 tools/crm_resource.c g_free(options.rsc_type); options 2153 tools/crm_resource.c free(options.agent_spec); options 2154 tools/crm_resource.c free(options.v_agent); options 2155 tools/crm_resource.c free(options.v_class); options 2156 tools/crm_resource.c free(options.v_provider); options 2157 tools/crm_resource.c g_free(options.xml_file); options 2158 tools/crm_resource.c g_strfreev(options.remainder); options 2160 tools/crm_resource.c if (options.override_params != NULL) { options 2161 tools/crm_resource.c g_hash_table_destroy(options.override_params); options 41 tools/crm_rule.c } options = { options 56 tools/crm_rule.c { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml, options 64 tools/crm_rule.c { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date, options 67 tools/crm_rule.c { "rule", 'r', 0, G_OPTION_ARG_STRING_ARRAY, &options.rules, options 77 tools/crm_rule.c options.mode = crm_rule_mode_check; options 142 tools/crm_rule.c switch(options.mode) { options 144 tools/crm_rule.c if (options.rules == NULL) { options 160 tools/crm_rule.c rule_date = crm_time_new(options.date); options 162 tools/crm_rule.c if (options.date != NULL) { options 165 tools/crm_rule.c "Invalid date specified: '%s'", options.date); options 177 tools/crm_rule.c if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) { options 185 tools/crm_rule.c } else if (options.input_xml != NULL) { options 186 tools/crm_rule.c input = string2xml(options.input_xml); options 191 tools/crm_rule.c "Couldn't parse input string: %s\n", options.input_xml); options 200 tools/crm_rule.c switch(options.mode) { options 203 tools/crm_rule.c (const char **) options.rules); options 49 tools/crm_simulate.c } options = { options 69 tools/crm_simulate.c options.flags |= pcmk_sim_all_actions; options 87 tools/crm_simulate.c options.store = TRUE; options 88 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 94 tools/crm_simulate.c if (options.xml_file) { options 95 tools/crm_simulate.c free(options.xml_file); options 98 tools/crm_simulate.c options.xml_file = NULL; options 99 tools/crm_simulate.c options.flags &= ~pcmk_sim_sanitized; options 105 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); options 111 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); options 118 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); options 124 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 125 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); options 131 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); options 137 tools/crm_simulate.c options.flags |= pcmk_sim_show_pending; options 143 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 149 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); options 155 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 156 tools/crm_simulate.c pcmk__str_update(&options.dot_file, optarg); options 162 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 163 tools/crm_simulate.c pcmk__str_update(&options.graph_file, optarg); options 169 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_scores; options 175 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 181 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); options 187 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); options 193 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); options 199 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); options 205 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_utilization; options 211 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); options 217 tools/crm_simulate.c pcmk__str_update(&options.xml_file, optarg); options 218 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 224 tools/crm_simulate.c pcmk__str_update(&options.xml_file, "-"); options 225 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 251 tools/crm_simulate.c { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir, options 254 tools/crm_simulate.c { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat, options 285 tools/crm_simulate.c { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date, options 311 tools/crm_simulate.c { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file, options 314 tools/crm_simulate.c { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file, options 463 tools/crm_simulate.c options.injections = calloc(1, sizeof(pcmk_injections_t)); options 464 tools/crm_simulate.c if (options.injections == NULL) { options 470 tools/crm_simulate.c options.xml_file = strdup("-"); options 489 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_scores) && options 490 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 507 tools/crm_simulate.c options.flags |= pcmk_sim_verbose; options 523 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_scores)) { options 526 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 531 tools/crm_simulate.c if (options.test_dir != NULL) { options 533 tools/crm_simulate.c pcmk__profile_dir(options.test_dir, options.repeat, data_set, options.use_date); options 538 tools/crm_simulate.c rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error); options 543 tools/crm_simulate.c rc = pcmk__simulate(data_set, out, options.injections, options.flags, section_opts, options 544 tools/crm_simulate.c options.use_date, options.input_file, options.graph_file, options 545 tools/crm_simulate.c options.dot_file); options 551 tools/crm_simulate.c free(options.dot_file); options 552 tools/crm_simulate.c free(options.graph_file); options 553 tools/crm_simulate.c g_free(options.input_file); options 554 tools/crm_simulate.c g_free(options.output_file); options 555 tools/crm_simulate.c g_free(options.test_dir); options 556 tools/crm_simulate.c free(options.use_date); options 557 tools/crm_simulate.c free(options.xml_file); options 559 tools/crm_simulate.c pcmk_free_injections(options.injections); options 54 tools/crm_ticket.c } options = { options 67 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); options 69 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 73 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 74 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 75 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 85 tools/crm_ticket.c options.ticket_cmd = 'l'; options 87 tools/crm_ticket.c options.ticket_cmd = 'L'; options 89 tools/crm_ticket.c options.ticket_cmd = 'w'; options 91 tools/crm_ticket.c options.ticket_cmd = 'q'; options 93 tools/crm_ticket.c options.ticket_cmd = 'c'; options 95 tools/crm_ticket.c options.ticket_cmd = 'C'; options 110 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); options 111 tools/crm_ticket.c options.ticket_cmd = 'G'; options 136 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); options 138 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 142 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 143 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 144 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 220 tools/crm_ticket.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 225 tools/crm_ticket.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force, options 229 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, options 233 tools/crm_ticket.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.xml_file, options 241 tools/crm_ticket.c { "set-name", 'n', 0, G_OPTION_ARG_STRING, &options.set_name, options 245 tools/crm_ticket.c { "nvpair", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 249 tools/crm_ticket.c { "quiet", 'Q', 0, G_OPTION_ARG_NONE, &options.quiet, options 539 tools/crm_ticket.c if (options.force) { options 779 tools/crm_ticket.c if (options.xml_file != NULL) { options 780 tools/crm_ticket.c cib_xml_copy = filename2xml(options.xml_file); options 810 tools/crm_ticket.c if (options.ticket_cmd == 'l' || options.ticket_cmd == 'L' || options.ticket_cmd == 'w') { options 814 tools/crm_ticket.c if (options.ticket_cmd == 'L') { options 816 tools/crm_ticket.c } else if (options.ticket_cmd == 'w') { options 820 tools/crm_ticket.c if (options.ticket_id) { options 821 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(options.ticket_id, data_set); options 826 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 835 tools/crm_ticket.c } else if (options.ticket_cmd == 'q') { options 836 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); options 844 tools/crm_ticket.c } else if (options.ticket_cmd == 'c') { options 845 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); options 853 tools/crm_ticket.c } else if (options.ticket_cmd == 'G') { options 856 tools/crm_ticket.c if (options.ticket_id == NULL) { options 863 tools/crm_ticket.c rc = get_ticket_state_attr(options.ticket_id, options.get_attr_name, &value, data_set); options 866 tools/crm_ticket.c } else if (rc == ENXIO && options.attr_default) { options 867 tools/crm_ticket.c fprintf(stdout, "%s\n", options.attr_default); options 872 tools/crm_ticket.c } else if (options.ticket_cmd == 'C') { options 873 tools/crm_ticket.c if (options.ticket_id == NULL) { options 880 tools/crm_ticket.c if (options.force == FALSE) { options 883 tools/crm_ticket.c ticket = find_ticket(options.ticket_id, data_set); options 887 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 892 tools/crm_ticket.c ticket_warning(options.ticket_id, "revoke"); options 898 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); options 907 tools/crm_ticket.c if (options.ticket_id == NULL) { options 914 tools/crm_ticket.c if (options.attr_value options 915 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { options 918 tools/crm_ticket.c "Must supply attribute name with -S for -v %s", options.attr_value); options 922 tools/crm_ticket.c if (options.attr_name options 923 tools/crm_ticket.c && (pcmk__str_empty(options.attr_value))) { options 926 tools/crm_ticket.c "Must supply attribute value with -v for -S %s", options.attr_value); options 930 tools/crm_ticket.c if (!allow_modification(options.ticket_id)) { options 937 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, data_set); options 945 tools/crm_ticket.c } else if (options.ticket_cmd == 'S') { options 950 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { options 957 tools/crm_ticket.c if (options.ticket_id == NULL) { options 964 tools/crm_ticket.c if (pcmk__str_empty(options.attr_value)) { options 967 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); options 974 tools/crm_ticket.c "Unknown command: %c", options.ticket_cmd); options 999 tools/crm_ticket.c g_free(options.attr_default); options 1000 tools/crm_ticket.c g_free(options.attr_id); options 1001 tools/crm_ticket.c free(options.attr_name); options 1002 tools/crm_ticket.c free(options.attr_value); options 1003 tools/crm_ticket.c free(options.get_attr_name); options 1004 tools/crm_ticket.c g_free(options.set_name); options 1005 tools/crm_ticket.c g_free(options.ticket_id); options 1006 tools/crm_ticket.c g_free(options.xml_file); options 46 tools/crm_verify.c } options; options 50 tools/crm_verify.c &options.use_live_cib, "Check the configuration used by the running cluster", options 53 tools/crm_verify.c &options.xml_file, "Check the configuration in the named file", options 56 tools/crm_verify.c &options.xml_stdin, "Check the configuration piped in via stdin", options 59 tools/crm_verify.c &options.xml_string, "Check the configuration in the supplied string", options 67 tools/crm_verify.c &options.cib_save, "Save verified XML to named file (most useful with -L)", options 148 tools/crm_verify.c if (options.use_live_cib) { options 157 tools/crm_verify.c } else if (options.xml_file != NULL) { options 158 tools/crm_verify.c cib_object = filename2xml(options.xml_file); options 161 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file); options 165 tools/crm_verify.c } else if (options.xml_string != NULL) { options 166 tools/crm_verify.c cib_object = string2xml(options.xml_string); options 169 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string); options 172 tools/crm_verify.c } else if (options.xml_stdin) { options 195 tools/crm_verify.c if (options.cib_save != NULL) { options 196 tools/crm_verify.c write_xml_file(cib_object, options.cib_save, FALSE); options 234 tools/crm_verify.c if ((status == NULL) && !options.use_live_cib) { options 268 tools/crm_verify.c free(options.cib_save); options 269 tools/crm_verify.c free(options.xml_file); options 270 tools/crm_verify.c free(options.xml_string); options 40 tools/crmadmin.c } options = { options 73 tools/crmadmin.c { "health", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.health, options 87 tools/crmadmin.c { "bash-export", 'B', 0, G_OPTION_ARG_NONE, &options.bash_export, options 91 tools/crmadmin.c { "ipc-name", 'i', 0, G_OPTION_ARG_STRING, &options.ipc_name, options 120 tools/crmadmin.c options.timeout = crm_parse_interval_spec(optarg); options 127 tools/crmadmin.c pcmk__str_update(&options.optarg, optarg); options 217 tools/crmadmin.c if (options.health) { options 238 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, options.timeout); options 241 tools/crmadmin.c rc = pcmk__pacemakerd_status(out, options.ipc_name, options.timeout, options 245 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.bash_export); options 248 tools/crmadmin.c rc = pcmk__designated_controller(out, options.timeout); options 25 tools/iso8601.c } options; options 32 tools/iso8601.c pcmk__str_update(&options.date_time_s, "now"); options 34 tools/iso8601.c pcmk__str_update(&options.date_time_s, optarg); options 43 tools/iso8601.c options.print_options |= crm_time_seconds; options 45 tools/iso8601.c options.print_options |= crm_time_epoch; options 47 tools/iso8601.c options.print_options |= crm_time_log_with_timezone; options 49 tools/iso8601.c options.print_options |= crm_time_ordinal; options 51 tools/iso8601.c options.print_options |= crm_time_weeks; options 67 tools/iso8601.c { "period", 'p', 0, G_OPTION_ARG_STRING, &options.period_s, options 72 tools/iso8601.c { "duration", 'D', 0, G_OPTION_ARG_STRING, &options.duration_s, options 76 tools/iso8601.c { "expected", 'E', 0, G_OPTION_ARG_STRING, &options.expected_s, options 165 tools/iso8601.c if (pcmk__str_eq("now", options.date_time_s, pcmk__str_casei)) { options 178 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 180 tools/iso8601.c } else if (options.date_time_s) { options 181 tools/iso8601.c date_time = crm_time_new(options.date_time_s); options 186 tools/iso8601.c "Invalid date/time specified: %s", options.date_time_s); options 193 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 196 tools/iso8601.c if (options.duration_s) { options 197 tools/iso8601.c duration = crm_time_parse_duration(options.duration_s); options 202 tools/iso8601.c "Invalid duration specified: %s", options.duration_s); options 208 tools/iso8601.c options.print_options | crm_time_log_duration); options 211 tools/iso8601.c if (options.period_s) { options 212 tools/iso8601.c crm_time_period_t *period = crm_time_parse_period(options.period_s); options 217 tools/iso8601.c "Invalid interval specified: %s", options.period_s); options 222 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 224 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 235 tools/iso8601.c options.date_time_s, options.duration_s); options 242 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday | options 245 tools/iso8601.c if (options.expected_s) { options 247 tools/iso8601.c options.print_options | crm_time_log_date | options 249 tools/iso8601.c if (!pcmk__str_eq(options.expected_s, dt_s, pcmk__str_casei)) { options 257 tools/iso8601.c } else if (date_time && options.expected_s) { options 259 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 261 tools/iso8601.c if (!pcmk__str_eq(options.expected_s, dt_s, pcmk__str_casei)) { options 275 tools/iso8601.c free(options.date_time_s); options 276 tools/iso8601.c g_free(options.duration_s); options 277 tools/iso8601.c g_free(options.expected_s); options 278 tools/iso8601.c g_free(options.period_s); options 72 tools/stonith_admin.c } options = { options 87 tools/stonith_admin.c { "register", 'R', 0, G_OPTION_ARG_STRING, &options.register_dev, options 91 tools/stonith_admin.c { "deregister", 'D', 0, G_OPTION_ARG_STRING, &options.unregister_dev, options 94 tools/stonith_admin.c { "register-level", 'r', 0, G_OPTION_ARG_STRING, &options.register_level, options 99 tools/stonith_admin.c { "deregister-level", 'd', 0, G_OPTION_ARG_STRING, &options.unregister_level, options 108 tools/stonith_admin.c { "list", 'l', 0, G_OPTION_ARG_STRING, &options.terminate, options 112 tools/stonith_admin.c { "list-registered", 'L', 0, G_OPTION_ARG_NONE, &options.registered, options 115 tools/stonith_admin.c { "list-installed", 'I', 0, G_OPTION_ARG_NONE, &options.installed, options 118 tools/stonith_admin.c { "list-targets", 's', 0, G_OPTION_ARG_STRING, &options.targets, options 122 tools/stonith_admin.c { "metadata", 'M', 0, G_OPTION_ARG_NONE, &options.metadata, options 126 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, options 129 tools/stonith_admin.c { "history", 'H', 0, G_OPTION_ARG_STRING, &options.history, options 136 tools/stonith_admin.c { "last", 'h', 0, G_OPTION_ARG_STRING, &options.last_fenced, options 140 tools/stonith_admin.c { "validate", 'K', 0, G_OPTION_ARG_NONE, &options.validate_cfg, options 150 tools/stonith_admin.c { "fence", 'F', 0, G_OPTION_ARG_STRING, &options.fence_host, options 153 tools/stonith_admin.c { "unfence", 'U', 0, G_OPTION_ARG_STRING, &options.unfence_host, options 156 tools/stonith_admin.c { "reboot", 'B', 0, G_OPTION_ARG_STRING, &options.reboot_host, options 159 tools/stonith_admin.c { "confirm", 'C', 0, G_OPTION_ARG_STRING, &options.confirm_host, options 167 tools/stonith_admin.c { "cleanup", 'c', 0, G_OPTION_ARG_NONE, &options.cleanup, options 170 tools/stonith_admin.c { "broadcast", 'b', 0, G_OPTION_ARG_NONE, &options.broadcast, options 173 tools/stonith_admin.c { "agent", 'a', 0, G_OPTION_ARG_STRING, &options.agent, options 202 tools/stonith_admin.c { "index", 'i', 0, G_OPTION_ARG_INT, &options.fence_level, options 206 tools/stonith_admin.c { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout, options 210 tools/stonith_admin.c { "delay", 'y', 0, G_OPTION_ARG_INT, &options.delay, options 216 tools/stonith_admin.c { "as-node-id", 'n', 0, G_OPTION_ARG_NONE, &options.as_nodeid, options 253 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); options 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); options 268 tools/stonith_admin.c options.tolerance = crm_get_msec(optarg) / 1000; options 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); options 341 tools/stonith_admin.c options.timeout * 1000, options 342 tools/stonith_admin.c options.tolerance * 1000, options 343 tools/stonith_admin.c options.delay, &reason); options 414 tools/stonith_admin.c if (options.validate_cfg) { options 420 tools/stonith_admin.c if (options.installed) { options 425 tools/stonith_admin.c if (options.registered) { options 429 tools/stonith_admin.c if (options.register_dev != NULL) { options 432 tools/stonith_admin.c device = options.register_dev; options 435 tools/stonith_admin.c if (options.query != NULL) { options 437 tools/stonith_admin.c device = options.query; options 440 tools/stonith_admin.c if (options.unregister_dev != NULL) { options 442 tools/stonith_admin.c device = options.unregister_dev; options 445 tools/stonith_admin.c if (options.targets != NULL) { options 447 tools/stonith_admin.c device = options.targets; options 450 tools/stonith_admin.c if (options.terminate != NULL) { options 452 tools/stonith_admin.c target = options.terminate; options 455 tools/stonith_admin.c if (options.metadata) { options 461 tools/stonith_admin.c if (options.reboot_host != NULL) { options 464 tools/stonith_admin.c target = options.reboot_host; options 468 tools/stonith_admin.c if (options.fence_host != NULL) { options 471 tools/stonith_admin.c target = options.fence_host; options 475 tools/stonith_admin.c if (options.unfence_host != NULL) { options 478 tools/stonith_admin.c target = options.unfence_host; options 482 tools/stonith_admin.c if (options.confirm_host != NULL) { options 484 tools/stonith_admin.c target = options.confirm_host; options 488 tools/stonith_admin.c if (options.last_fenced != NULL) { options 490 tools/stonith_admin.c target = options.last_fenced; options 493 tools/stonith_admin.c if (options.history != NULL) { options 495 tools/stonith_admin.c target = options.history; options 498 tools/stonith_admin.c if (options.register_level != NULL) { options 500 tools/stonith_admin.c target = options.register_level; options 503 tools/stonith_admin.c if (options.unregister_level != NULL) { options 505 tools/stonith_admin.c target = options.unregister_level; options 517 tools/stonith_admin.c if (required_agent && options.agent == NULL) { options 543 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); options 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); options 559 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); options 561 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); options 567 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); options 575 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, options 576 tools/stonith_admin.c options.params); options 580 tools/stonith_admin.c device, options.agent, pcmk_rc_str(rc)); options 594 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); options 597 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 602 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); options 605 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 610 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); options 636 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); options 640 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, options 641 tools/stonith_admin.c options.broadcast, options.cleanup); options 645 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; options 646 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, options 647 tools/stonith_admin.c options.timeout*1000); options 665 tools/stonith_admin.c stonith_key_value_freeall(options.params, 1, 1);