options 111 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) options 114 daemons/based/based_common.c if ((options & cib_no_children) options 122 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) options 130 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) options 137 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) options 300 daemons/based/based_common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output) options 303 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 100 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req, options 155 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 203 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 210 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 224 daemons/based/based_messages.c op, options, section, req, input, existing_cib, result_cib, answer); options 258 daemons/based/based_messages.c op, options, section, up, input, existing_cib, result_cib, answer); options 302 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req, options 310 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req, options 344 daemons/based/based_messages.c rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer); options 354 daemons/based/based_messages.c if (options & cib_force_diff) { options 371 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req, options 377 daemons/based/based_messages.c cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer); options 444 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 101 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section, options 105 daemons/based/pacemaker-based.h int cib_process_default(const char *op, int options, const char *section, options 108 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section, options 111 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section, options 114 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section, options 117 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section, options 120 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section, options 123 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section, options 126 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options, options 130 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section, options 143 daemons/based/pacemaker-based.h int cib_op_cleanup(int call_type, int options, xmlNode **input, options 147 daemons/based/pacemaker-based.h void cib_diff_notify(int options, const char *client, const char *call_id, options 217 daemons/controld/controld_based.c int options) options 255 daemons/controld/controld_based.c cib__set_call_options(options, "node state deletion", options 257 daemons/controld/controld_based.c call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options); options 668 daemons/controld/controld_control.c verify_crmd_options(GHashTable * options) options 670 daemons/controld/controld_control.c pcmk__validate_cluster_options(options, crmd_opts, PCMK__NELEM(crmd_opts)); options 674 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name) options 676 daemons/controld/controld_control.c return pcmk__cluster_option(options, crmd_opts, PCMK__NELEM(crmd_opts), options 591 daemons/controld/controld_execd_state.c const char *agent, char **output, enum lrmd_call_options options) options 617 daemons/controld/controld_execd_state.c class, provider, agent, output, options, params); options 638 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 652 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); options 696 daemons/controld/controld_execd_state.c const char *provider, const char *agent, enum lrmd_call_options options) options 712 daemons/controld/controld_execd_state.c agent, options); options 717 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) options 735 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); options 813 daemons/controld/controld_fencing.c uint32_t options = st_opt_none; // Group of enum stonith_call_options options 818 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); options 821 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 111 daemons/controld/controld_utils.h enum controld_section_e section, int options); options 148 daemons/execd/cts-exec-helper.c } options; options 163 daemons/execd/cts-exec-helper.c if (!options.quiet) { \ options 187 daemons/execd/cts-exec-helper.c if (options.listen) { options 188 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.listen, event_buf_v0, pcmk__str_casei)) { options 203 daemons/execd/cts-exec-helper.c if (!options.listen) { options 264 daemons/execd/cts-exec-helper.c if (!options.no_connect) { options 273 daemons/execd/cts-exec-helper.c if (options.timeout) { options 274 daemons/execd/cts-exec-helper.c g_timeout_add(options.timeout, timeout_err, NULL); options 277 daemons/execd/cts-exec-helper.c if (!options.api_call) { options 281 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) { options 283 daemons/execd/cts-exec-helper.c options.rsc_id, options 284 daemons/execd/cts-exec-helper.c options.action, options 286 daemons/execd/cts-exec-helper.c options.interval_ms, options 287 daemons/execd/cts-exec-helper.c options.timeout, options 288 daemons/execd/cts-exec-helper.c options.start_delay, exec_call_opts, options.params); options 295 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "register_rsc", pcmk__str_casei)) { options 297 daemons/execd/cts-exec-helper.c options.rsc_id, options 298 daemons/execd/cts-exec-helper.c options.class, options.provider, options.type, 0); options 299 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_rsc_info", pcmk__str_casei)) { options 302 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); options 314 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "unregister_rsc", pcmk__str_casei)) { options 315 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); options 316 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) { options 317 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, options 318 daemons/execd/cts-exec-helper.c options.interval_ms); options 319 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) { options 323 daemons/execd/cts-exec-helper.c options.class, options 324 daemons/execd/cts-exec-helper.c options.provider, options.type, &output, 0); options 329 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) { options 333 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); options 346 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_ocf_providers", pcmk__str_casei)) { options 350 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); options 364 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_standards", pcmk__str_casei)) { options 382 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_recurring_ops", pcmk__str_casei)) { options 385 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, options 398 daemons/execd/cts-exec-helper.c } else if (options.api_call) { options 399 daemons/execd/cts-exec-helper.c print_result(printf("API-CALL FAILURE unknown action '%s'\n", options.action)); options 404 daemons/execd/cts-exec-helper.c print_result(printf("API-CALL FAILURE for '%s' api_rc:%d\n", options.api_call, rc)); options 408 daemons/execd/cts-exec-helper.c if (options.api_call && rc == pcmk_ok) { options 409 daemons/execd/cts-exec-helper.c print_result(printf("API-CALL SUCCESSFUL for '%s'\n", options.api_call)); options 410 daemons/execd/cts-exec-helper.c if (!options.listen) { options 415 daemons/execd/cts-exec-helper.c if (options.no_wait) { options 434 daemons/execd/cts-exec-helper.c if (options.params) { options 474 daemons/execd/cts-exec-helper.c if (options.rsc_id) { options 475 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 545 daemons/execd/cts-exec-helper.c ++options.verbose; options 549 daemons/execd/cts-exec-helper.c options.quiet = 1; options 550 daemons/execd/cts-exec-helper.c options.verbose = 0; options 553 daemons/execd/cts-exec-helper.c options.listen = optarg; options 556 daemons/execd/cts-exec-helper.c options.no_wait = 1; options 559 daemons/execd/cts-exec-helper.c options.is_running = 1; options 568 daemons/execd/cts-exec-helper.c options.api_call = optarg; options 571 daemons/execd/cts-exec-helper.c options.action = optarg; options 574 daemons/execd/cts-exec-helper.c options.rsc_id = optarg; options 578 daemons/execd/cts-exec-helper.c options.cancel_call_id = atoi(optarg); options 582 daemons/execd/cts-exec-helper.c options.provider = optarg; options 585 daemons/execd/cts-exec-helper.c options.class = optarg; options 588 daemons/execd/cts-exec-helper.c options.type = optarg; options 592 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); options 597 daemons/execd/cts-exec-helper.c options.timeout = atoi(optarg); options 602 daemons/execd/cts-exec-helper.c options.start_delay = atoi(optarg); options 608 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 615 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 635 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", options 637 daemons/execd/cts-exec-helper.c options.no_connect = 1; options 640 daemons/execd/cts-exec-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE), options 643 daemons/execd/cts-exec-helper.c if (options.is_running) { options 644 daemons/execd/cts-exec-helper.c if (!options.timeout) { options 645 daemons/execd/cts-exec-helper.c options.timeout = 30000; options 647 daemons/execd/cts-exec-helper.c options.interval_ms = 0; options 648 daemons/execd/cts-exec-helper.c if (!options.rsc_id) { options 658 daemons/execd/cts-exec-helper.c options.api_call = "exec"; options 659 daemons/execd/cts-exec-helper.c options.action = "monitor"; options 665 daemons/execd/cts-exec-helper.c if (!options.api_call && !options.listen) { options 80 daemons/fenced/fenced_commands.c int options; options 243 daemons/fenced/fenced_commands.c crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options)); options 2122 daemons/fenced/fenced_commands.c stonith_send_async_reply(async_command_t * cmd, const char *output, int rc, GPid pid, int options) options 2143 daemons/fenced/fenced_commands.c log_operation(cmd, rc, pid, NULL, output, (options & st_reply_opt_merged ? TRUE : FALSE)); options 2146 daemons/fenced/fenced_commands.c if (options & st_reply_opt_merged) { options 2160 daemons/fenced/fenced_commands.c (cmd->options & st_opt_sync_call) ? "" : "a-", cmd->client_name); options 2161 daemons/fenced/fenced_commands.c do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE); options 2395 daemons/fenced/fenced_commands.c if (cmd->options & st_opt_cs_nodeid) { options 2483 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); options 433 daemons/fenced/fenced_history.c const char *remote_peer, int options) options 442 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { options 454 daemons/fenced/fenced_history.c if (options & st_opt_cleanup) { options 460 daemons/fenced/fenced_history.c } else if (options & st_opt_broadcast) { options 1207 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options) options 1210 daemons/fenced/fenced_remote.c gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE; options 1221 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); options 1222 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 1225 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 359 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) options 382 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(int options, const char *op, int rc, options 392 daemons/fenced/pacemaker-fenced.c do_stonith_notify(options, op, rc, notify_data); options 397 daemons/fenced/pacemaker-fenced.c do_stonith_notify_device(int options, const char *op, int rc, const char *desc) options 399 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(device_list)); options 403 daemons/fenced/pacemaker-fenced.c do_stonith_notify_level(int options, const char *op, int rc, const char *desc) options 405 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(topology)); options 240 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); options 241 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_device(int options, const char *op, int rc, const char *desc); options 242 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_level(int options, const char *op, int rc, const char *desc); options 255 daemons/fenced/pacemaker-fenced.h const char *remote_peer, int options); options 73 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib); options 74 include/crm/cib/internal.h void verify_cib_options(GHashTable * options); options 143 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req, options 147 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req, options 151 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req, options 155 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 159 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req, options 163 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req, options 167 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req, options 171 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req, options 175 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 198 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section, xmlNode * req, options 51 include/crm/cib/util.h int delete_attr_delegate(cib_t * the_cib, int options, options 66 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); options 36 include/crm/common/attrd_internal.h int options); options 41 include/crm/common/attrd_internal.h const char *user_name, int options); options 96 include/crm/common/options_internal.h const char *pcmk__cluster_option(GHashTable *options, options 104 include/crm/common/options_internal.h void pcmk__validate_cluster_options(GHashTable *options, options 136 include/crm/common/output_internal.h GOptionEntry *options; options 572 include/crm/common/output_internal.h pcmk__output_factory_t create, GOptionEntry *options); options 337 include/crm/lrmd.h const char *provider, const char *agent, enum lrmd_call_options options); options 346 include/crm/lrmd.h const char *rsc_id, enum lrmd_call_options options); options 354 include/crm/lrmd.h enum lrmd_call_options options, GList **output); options 368 include/crm/lrmd.h int (*unregister_rsc) (lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options); options 392 include/crm/lrmd.h enum lrmd_call_options options, lrmd_key_value_t * params); /* ownership of params is given up to api here */ options 435 include/crm/lrmd.h const char *agent, char **output, enum lrmd_call_options options); options 505 include/crm/lrmd.h char **output, enum lrmd_call_options options, options 143 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); options 223 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options); options 241 include/crm/pengine/internal.h void native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 242 include/crm/pengine/internal.h void group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 243 include/crm/pengine/internal.h void clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 244 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 248 include/crm/pengine/internal.h long options, const char *target_role, bool show_nodes); options 536 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options, options 538 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, long options, gboolean print_all); options 543 include/crm/pengine/internal.h void common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data); options 544 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, long options); options 545 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, long options); options 170 include/crm/stonith-ng.h stonith_t *st, int options, const char *name); options 181 include/crm/stonith-ng.h stonith_t *st, int options, const char *id, options 191 include/crm/stonith-ng.h stonith_t *st, int options, const char *node, int level); options 201 include/crm/stonith-ng.h stonith_t *st, int options, const char *node, int level, stonith_key_value_t *device_list); options 211 include/crm/stonith-ng.h int (*metadata)(stonith_t *st, int options, options 233 include/crm/stonith-ng.h int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout); options 241 include/crm/stonith-ng.h int (*monitor)(stonith_t *st, int options, const char *id, int timeout); options 249 include/crm/stonith-ng.h int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout); options 260 include/crm/stonith-ng.h int (*query)(stonith_t *st, int options, const char *node, options 278 include/crm/stonith-ng.h int (*fence)(stonith_t *st, int options, const char *node, const char *action, options 287 include/crm/stonith-ng.h int (*confirm)(stonith_t *st, int options, const char *node); options 295 include/crm/stonith-ng.h int (*history)(stonith_t *st, int options, const char *node, stonith_history_t **output, int timeout); options 322 include/crm/stonith-ng.h int options, options 347 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, options 367 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, options 412 include/crm/stonith-ng.h int (*fence_with_delay)(stonith_t *st, int options, const char *node, const char *action, options 349 lib/cib/cib_attrs.c delete_attr_delegate(cib_t * the_cib, int options, options 374 lib/cib/cib_attrs.c options | cib_quorum_override, user_name); options 30 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 38 lib/cib/cib_ops.c if (options & cib_xpath) { options 39 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 55 lib/cib/cib_ops.c } else if (options & cib_no_children) { options 75 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 92 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 115 lib/cib/cib_ops.c !(options & cib_verbose)); options 127 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 168 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 177 lib/cib/cib_ops.c if (options & cib_xpath) { options 178 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 280 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 287 lib/cib/cib_ops.c if (options & cib_xpath) { options 288 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 315 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 322 lib/cib/cib_ops.c if (options & cib_xpath) { options 323 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 351 lib/cib/cib_ops.c if (options & cib_can_create) { options 358 lib/cib/cib_ops.c if(options & cib_mixed_update) { options 519 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 545 lib/cib/cib_ops.c return cib_process_modify(op, options, section, req, input, existing_cib, result_cib, options 584 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 595 lib/cib/cib_ops.c (pcmk_is_set(options, cib_force_diff)? " (global update)" : "")); options 675 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 708 lib/cib/cib_ops.c if (pcmk__str_eq(op, CIB_OP_DELETE, pcmk__str_casei) && (options & cib_multiple)) { options 733 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 740 lib/cib/cib_ops.c } else if ((options & cib_multiple) == 0) { options 750 lib/cib/cib_ops.c if (options & cib_no_children) { options 760 lib/cib/cib_ops.c } else if (options & cib_xpath_address) { options 804 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 209 lib/cib/cib_utils.c GHashTable *options = pcmk__strkey_table(free, free); options 211 lib/cib/cib_utils.c cib_read_config(options, xml); options 212 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); options 214 lib/cib/cib_utils.c g_hash_table_destroy(options); options 658 lib/cib/cib_utils.c verify_cib_options(GHashTable * options) options 660 lib/cib/cib_utils.c pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts)); options 664 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) options 666 lib/cib/cib_utils.c return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts), options 671 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib) options 676 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { options 682 lib/cib/cib_utils.c g_hash_table_remove_all(options); options 687 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); options 690 lib/cib/cib_utils.c verify_cib_options(options); options 136 lib/common/attrd_client.c const char *dampen, const char *user_name, int options) options 205 lib/common/attrd_client.c pcmk_is_set(options, pcmk__node_attr_remote)); options 207 lib/common/attrd_client.c pcmk_is_set(options, pcmk__node_attr_private)); options 242 lib/common/attrd_client.c int options) options 255 lib/common/attrd_client.c pcmk_is_set(options, pcmk__node_attr_remote)); options 82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, options 110 lib/common/crmcommon_private.h int options); options 463 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *), options 472 lib/common/options.c if (options) { options 473 lib/common/options.c value = g_hash_table_lookup(options, name); options 476 lib/common/options.c value = g_hash_table_lookup(options, old_name); options 485 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 518 lib/common/options.c if (options) { options 520 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 537 lib/common/options.c pcmk__cluster_option(GHashTable *options, pcmk__cluster_option_t *option_list, options 544 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, options 594 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options, options 598 lib/common/options.c cluster_option_value(options, option_list[lpc].is_valid, options 79 lib/common/output.c pcmk__output_factory_t create, GOptionEntry *options) { options 88 lib/common/output.c if (options != NULL && group != NULL) { options 89 lib/common/output.c g_option_group_add_entries(group, options); options 105 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); options 471 lib/common/patchset.c int options = xml_log_option_formatted; options 607 lib/common/patchset.c options |= xml_log_option_diff_short; options 614 lib/common/patchset.c 0, options|xml_log_option_diff_minus); options 627 lib/common/patchset.c 0, options|xml_log_option_diff_plus); options 88 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth) options 90 lib/common/xml.c if (options & xml_log_option_formatted) { options 1420 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) options 1445 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) options 1460 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_open)) { options 1463 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); options 1482 lib/common/xml.c } else if (pcmk_any_flags_set(options, options 1502 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1520 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1528 lib/common/xml.c options|xml_log_option_open|xml_log_option_close); options 1532 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_close)) { options 1535 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); options 1546 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) options 1564 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1574 lib/common/xml.c insert_prefix(options, &spaces, &s_count, &s_max, depth); options 1588 lib/common/xml.c options|xml_log_option_open); options 1626 lib/common/xml.c depth + 1, options); options 1630 lib/common/xml.c options|xml_log_option_close); options 1636 lib/common/xml.c depth + 1, options); options 1646 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) options 1667 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_dirty_add)) { options 1669 lib/common/xml.c options); options 1673 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1674 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_plus) options 1676 lib/common/xml.c options |= xml_log_option_diff_all; options 1681 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_diff_minus) options 1683 lib/common/xml.c options |= xml_log_option_diff_all; options 1690 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_short) options 1691 lib/common/xml.c && !pcmk_is_set(options, xml_log_option_diff_all)) { options 1695 lib/common/xml.c log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options); options 1699 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1706 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) options 1710 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); options 1716 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1737 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1740 lib/common/xml.c if (options & xml_log_option_filtered) { options 1741 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); options 1745 lib/common/xml.c dump_xml_attr(a, options, buffer, offset, max); options 1756 lib/common/xml.c if (options & xml_log_option_formatted) { options 1763 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); options 1766 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1769 lib/common/xml.c if (options & xml_log_option_formatted) { options 1776 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1792 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1796 lib/common/xml.c if (options & xml_log_option_formatted) { options 1802 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1818 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1824 lib/common/xml.c if (options & xml_log_option_formatted) { options 1830 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1846 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1852 lib/common/xml.c if (options & xml_log_option_formatted) { options 1871 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, options 1880 lib/common/xml.c if (!pcmk_is_set(options, xml_log_option_filtered) options 1881 lib/common/xml.c && pcmk_is_set(options, xml_log_option_full_fledged)) { options 1913 lib/common/xml.c (options & xml_log_option_formatted), NULL); options 1937 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); options 1941 lib/common/xml.c if (options & xml_log_option_text) { options 1942 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); options 1946 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); options 1949 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); options 342 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, options 366 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); options 373 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) options 375 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, options 436 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t * st, int options, const char *node, options 446 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); options 453 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, options 456 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, options 1650 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, options 1665 lib/fencing/st_client.c if (!(options & st_opt_report_only_success)) { options 1676 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; options 1679 lib/fencing/st_client.c blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE; options 512 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 524 lib/lrmd/lrmd_client.c crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options); options 531 lib/lrmd/lrmd_client.c op, (long)options, options); options 843 lib/lrmd/lrmd_client.c enum lrmd_call_options options, gboolean expect_reply) options 863 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); options 1670 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) options 1690 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); options 1697 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1704 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); options 1757 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1768 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); options 1807 lib/lrmd/lrmd_client.c enum lrmd_call_options options, GList **output) options 1825 lib/lrmd/lrmd_client.c timeout_ms, options, TRUE); options 1929 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 1932 lib/lrmd/lrmd_client.c output, options, NULL); options 1938 lib/lrmd/lrmd_client.c char **output, enum lrmd_call_options options, options 1995 lib/lrmd/lrmd_client.c enum lrmd_call_options options, lrmd_key_value_t * params) options 2014 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); options 246 lib/pengine/bundle.c if(mount->options) { options 247 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); options 412 lib/pengine/bundle.c if(mount->options) { options 413 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); options 571 lib/pengine/bundle.c if(mount->options) { options 572 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); options 579 lib/pengine/bundle.c if(mount->options) { options 580 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); options 891 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) options 897 lib/pengine/bundle.c if (options) { options 898 lib/pengine/bundle.c mount->options = strdup(options); options 909 lib/pengine/bundle.c free(mount->options); options 1120 lib/pengine/bundle.c const char *options = crm_element_value(xml_child, "options"); options 1130 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); options 1405 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options, options 1409 lib/pengine/bundle.c if (options & pe_print_html) { options 1412 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); options 1413 lib/pengine/bundle.c if (options & pe_print_html) { options 1433 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 1462 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1463 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1464 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1465 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1476 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1538 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), options, options 1543 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), options, options 1548 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, options 1553 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), options, options 1569 lib/pengine/bundle.c pe_node_t *node, long options) options 1592 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, options); options 1599 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1638 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit) || options 1643 lib/pengine/bundle.c unsigned int new_options = options; options 1645 lib/pengine/bundle.c if (!pcmk_is_set(options, pe_print_implicit)) { options 1699 lib/pengine/bundle.c options); options 1711 lib/pengine/bundle.c pe_node_t *node, long options) options 1734 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, options); options 1741 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1779 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit) || options 1784 lib/pengine/bundle.c unsigned int new_options = options; options 1786 lib/pengine/bundle.c if (!pcmk_is_set(options, pe_print_implicit)) { options 1832 lib/pengine/bundle.c options); options 1842 lib/pengine/bundle.c long options, void *print_data) options 1867 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); options 1871 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 1878 lib/pengine/bundle.c if (options & pe_print_xml) { options 1879 lib/pengine/bundle.c bundle_print_xml(rsc, pre_text, options, print_data); options 1894 lib/pengine/bundle.c if (options & pe_print_html) { options 1904 lib/pengine/bundle.c if (options & pe_print_html) { options 1908 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit)) { options 1913 lib/pengine/bundle.c if (options & pe_print_html) { options 1916 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1917 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1918 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1919 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1920 lib/pengine/bundle.c if (options & pe_print_html) { options 1925 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); options 1929 lib/pengine/bundle.c if (options & pe_print_html) { options 1933 lib/pengine/bundle.c if (options & pe_print_html) { options 284 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) options 291 lib/pengine/clone.c if (options & pe_print_html) { options 296 lib/pengine/clone.c if (options & pe_print_html) { options 299 lib/pengine/clone.c } else if (options & pe_print_suppres_nl) { options 301 lib/pengine/clone.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 333 lib/pengine/clone.c clone_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 356 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 394 lib/pengine/clone.c clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 413 lib/pengine/clone.c if (options & pe_print_xml) { options 414 lib/pengine/clone.c clone_print_xml(rsc, pre_text, options, print_data); options 428 lib/pengine/clone.c if (options & pe_print_html) { options 431 lib/pengine/clone.c } else if ((options & pe_print_log) == 0) { options 440 lib/pengine/clone.c if (options & pe_print_clone_details) { options 452 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 461 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 503 lib/pengine/clone.c if (options & pe_print_html) { options 506 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 507 lib/pengine/clone.c if (options & pe_print_html) { options 522 lib/pengine/clone.c short_print(list_text, child_text, PROMOTED_INSTANCES, NULL, options, options 543 lib/pengine/clone.c UNPROMOTED_INSTANCES " (target-role)", NULL, options, options 547 lib/pengine/clone.c options, print_data); options 551 lib/pengine/clone.c short_print(list_text, child_text, "Started", NULL, options, print_data); options 559 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 597 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); options 601 lib/pengine/clone.c if (options & pe_print_html) { options 612 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 655 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 670 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 719 lib/pengine/clone.c if (options & pe_print_clone_details) { options 731 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 740 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 786 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 792 lib/pengine/clone.c if (pcmk_is_set(options, pe_print_clone_details)) { options 855 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 910 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 959 lib/pengine/clone.c if (options & pe_print_clone_details) { options 971 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 980 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 1026 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 1032 lib/pengine/clone.c if (pcmk_is_set(options, pe_print_clone_details)) { options 1091 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 302 lib/pengine/common.c verify_pe_options(GHashTable * options) options 304 lib/pengine/common.c pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts)); options 308 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) options 310 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); options 115 lib/pengine/group.c group_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 127 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 135 lib/pengine/group.c group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 144 lib/pengine/group.c if (options & pe_print_xml) { options 145 lib/pengine/group.c group_print_xml(rsc, pre_text, options, print_data); options 153 lib/pengine/group.c if (options & pe_print_html) { options 156 lib/pengine/group.c } else if ((options & pe_print_log) == 0) { options 160 lib/pengine/group.c if (options & pe_print_brief) { options 161 lib/pengine/group.c print_rscs_brief(rsc->children, child_text, options, print_data, TRUE); options 167 lib/pengine/group.c if (options & pe_print_html) { options 170 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 171 lib/pengine/group.c if (options & pe_print_html) { options 177 lib/pengine/group.c if (options & pe_print_html) { options 187 lib/pengine/group.c unsigned int options = va_arg(args, unsigned int); options 223 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, child_rsc, options 238 lib/pengine/group.c unsigned int options = va_arg(args, unsigned int); options 253 lib/pengine/group.c if (options & pe_print_brief) { options 261 lib/pengine/group.c pe__rscs_brief_output(out, rscs, options, TRUE); options 279 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 293 lib/pengine/group.c unsigned int options = va_arg(args, unsigned int); options 308 lib/pengine/group.c if (options & pe_print_brief) { options 316 lib/pengine/group.c pe__rscs_brief_output(out, rscs, options, TRUE); options 334 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 369 lib/pengine/native.c long options; options 437 lib/pengine/native.c native_displayable_state(pe_resource_t *rsc, long options) options 441 lib/pengine/native.c if (options & pe_print_pending) { options 451 lib/pengine/native.c native_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 455 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, options); options 482 lib/pengine/native.c if (options & pe_print_pending) { options 491 lib/pengine/native.c if (options & pe_print_rsconly) { options 545 lib/pengine/native.c long options, const char *target_role, bool show_nodes) options 569 lib/pengine/native.c if (pcmk_is_set(options, pe_print_rsconly) options 598 lib/pengine/native.c g_string_append_printf(outstr, " %s", native_displayable_state(rsc, options)); options 611 lib/pengine/native.c if (pcmk_is_set(options, pe_print_pending)) { options 647 lib/pengine/native.c if (pcmk_is_set(options, pe_print_rsconly) options 656 lib/pengine/native.c if (show_nodes && !pcmk_is_set(options, pe_print_rsconly) options 677 lib/pengine/native.c const char *name, pe_node_t *node, long options) options 692 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 720 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, options, options 733 lib/pengine/native.c const char *name, pe_node_t *node, long options) options 743 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 752 lib/pengine/native.c gchar *s = pcmk__native_output_string(rsc, name, node, options, options 763 lib/pengine/native.c common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data) options 774 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 782 lib/pengine/native.c if (options & pe_print_xml) { options 783 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 787 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { options 791 lib/pengine/native.c if (options & pe_print_html) { options 813 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, options 819 lib/pengine/native.c if (pcmk_is_set(options, pe_print_html)) { options 823 lib/pengine/native.c if (!pcmk_is_set(options, pe_print_rsconly) options 829 lib/pengine/native.c if (options & pe_print_html) { options 831 lib/pengine/native.c } else if ((options & pe_print_printf) options 832 lib/pengine/native.c || (options & pe_print_ncurses)) { options 841 lib/pengine/native.c if (options & pe_print_html) { options 844 lib/pengine/native.c } else if ((options & pe_print_printf) options 845 lib/pengine/native.c || (options & pe_print_ncurses)) { options 848 lib/pengine/native.c } else if ((options & pe_print_log)) { options 854 lib/pengine/native.c if (options & pe_print_html) { options 860 lib/pengine/native.c if (options & pe_print_html) { options 862 lib/pengine/native.c } else if ((options & pe_print_printf) options 863 lib/pengine/native.c || (options & pe_print_ncurses)) { options 868 lib/pengine/native.c if (options & pe_print_html) { options 870 lib/pengine/native.c } else if (options & pe_print_suppres_nl) { options 872 lib/pengine/native.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 878 lib/pengine/native.c native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 883 lib/pengine/native.c if (options & pe_print_xml) { options 884 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 895 lib/pengine/native.c common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data); options 902 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 909 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, options); options 911 lib/pengine/native.c long is_print_pending = options & pe_print_pending; options 977 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 994 lib/pengine/native.c return pe__common_output_html(out, rsc, rsc_printable_id(rsc), node, options); options 1001 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 1018 lib/pengine/native.c return pe__common_output_text(out, rsc, rsc_printable_id(rsc), node, options); options 1183 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options, options 1212 lib/pengine/native.c if (options & pe_print_rsconly) { options 1216 lib/pengine/native.c if (options & pe_print_html) { options 1231 lib/pengine/native.c if (options & pe_print_html) { options 1237 lib/pengine/native.c if (options & pe_print_html) { options 1245 lib/pengine/native.c if (options & pe_print_html) { options 1262 lib/pengine/native.c pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, long options, gboolean print_all) options 1297 lib/pengine/native.c if (options & pe_print_rsconly) { options 18 lib/pengine/pe_status_private.h if(options & pe_print_html) { \ options 21 lib/pengine/pe_status_private.h } else if(options & pe_print_printf || options & pe_print_ncurses) { \ options 24 lib/pengine/pe_status_private.h } else if(options & pe_print_xml) { \ options 27 lib/pengine/pe_status_private.h } else if(options & pe_print_log) { \ options 64 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 66 maint/mocked/based-notifyfenced.c if (pcmk_is_set(client->options, cib_notify_diff) options 82 maint/mocked/based-notifyfenced.c do_cib_notify(pcmk__client_t *cib_client, int options, const char *op, options 137 maint/mocked/based-notifyfenced.c int options; options 140 maint/mocked/based-notifyfenced.c cib__set_call_options(options, crm_system_name, cib_zero_copy); options 169 maint/mocked/based-notifyfenced.c do_cib_notify(cib_client, options, CIB_OP_CREATE, input, pcmk_ok, options 56 tools/crm_attribute.c } options = { options 67 tools/crm_attribute.c options.command = 'D'; options 69 tools/crm_attribute.c if (options.attr_value) { options 70 tools/crm_attribute.c free(options.attr_value); options 73 tools/crm_attribute.c options.attr_value = NULL; options 81 tools/crm_attribute.c options.promotion_score = TRUE; options 83 tools/crm_attribute.c if (options.attr_name) { options 84 tools/crm_attribute.c g_free(options.attr_name); options 89 tools/crm_attribute.c options.attr_name = g_strdup(score_name); options 92 tools/crm_attribute.c options.attr_name = NULL; options 100 tools/crm_attribute.c options.command = 'v'; options 102 tools/crm_attribute.c if (options.attr_value) { options 103 tools/crm_attribute.c free(options.attr_value); options 106 tools/crm_attribute.c options.attr_value = strdup(optarg); options 112 tools/crm_attribute.c if (options.type) { options 113 tools/crm_attribute.c g_free(options.type); options 116 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 118 tools/crm_attribute.c if (options.set_type) { options 119 tools/crm_attribute.c free(options.set_type); options 122 tools/crm_attribute.c options.set_type = strdup(XML_TAG_UTILIZATION); options 128 tools/crm_attribute.c options.command = 'G'; options 130 tools/crm_attribute.c if (options.attr_value) { options 131 tools/crm_attribute.c free(options.attr_value); options 134 tools/crm_attribute.c options.attr_value = NULL; options 139 tools/crm_attribute.c { "id", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 145 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, options 150 tools/crm_attribute.c { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern, options 164 tools/crm_attribute.c { "set-name", 's', 0, G_OPTION_ARG_STRING, &options.set_name, options 193 tools/crm_attribute.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 198 tools/crm_attribute.c { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type, options 204 tools/crm_attribute.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.dest_uname, options 210 tools/crm_attribute.c { "type", 't', 0, G_OPTION_ARG_STRING, &options.type, options 221 tools/crm_attribute.c { "inhibit-policy-engine", '!', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.inhibit, options 229 tools/crm_attribute.c { "attr-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_id, options 233 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, options 249 tools/crm_attribute.c { "node-uname", 'U', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.dest_uname, options 332 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { options 340 tools/crm_attribute.c if (options.inhibit) { options 360 tools/crm_attribute.c if (options.type == NULL) { options 361 tools/crm_attribute.c if (options.promotion_score) { options 363 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 365 tools/crm_attribute.c } else if (options.dest_uname != NULL) { options 367 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 371 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_CRMCONFIG); options 373 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) { options 374 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 376 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) { options 377 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 381 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, options 387 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); options 390 tools/crm_attribute.c g_free(options.dest_uname); options 391 tools/crm_attribute.c options.dest_uname = g_strdup(target); options 394 tools/crm_attribute.c if (options.dest_uname == NULL) { options 395 tools/crm_attribute.c options.dest_uname = g_strdup(get_local_node_name()); options 398 tools/crm_attribute.c rc = query_node_uuid(the_cib, options.dest_uname, &options.dest_node, &is_remote_node); options 400 tools/crm_attribute.c fprintf(stderr, "Could not map name=%s to a UUID\n", options.dest_uname); options 406 tools/crm_attribute.c if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) { options 412 tools/crm_attribute.c if (options.attr_pattern) { options 413 tools/crm_attribute.c if (((options.command != 'v') && (options.command != 'D')) options 414 tools/crm_attribute.c || !pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei)) { options 420 tools/crm_attribute.c options.command = 'u'; options 421 tools/crm_attribute.c g_free(options.attr_name); options 422 tools/crm_attribute.c options.attr_name = options.attr_pattern; options 426 tools/crm_attribute.c try_attrd = pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei); options 436 tools/crm_attribute.c if (((options.command == 'v') || (options.command == 'D') || (options.command == 'u')) && try_attrd options 437 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name, options 438 tools/crm_attribute.c options.attr_value, options.type, options.set_name, NULL, NULL, options 441 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); options 443 tools/crm_attribute.c } else if (options.command == 'D') { options 444 tools/crm_attribute.c rc = delete_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name, options 445 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL); options 455 tools/crm_attribute.c } else if (options.command == 'v') { options 456 tools/crm_attribute.c CRM_LOG_ASSERT(options.type != NULL); options 457 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); options 458 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_value != NULL); options 460 tools/crm_attribute.c rc = update_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name, options 461 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); options 467 tools/crm_attribute.c rc = read_attr_delegate(the_cib, options.type, options.dest_node, options.set_type, options.set_name, options 468 tools/crm_attribute.c options.attr_id, options.attr_name, &read_value, TRUE, NULL); options 470 tools/crm_attribute.c if (rc == -ENXIO && options.attr_default) { options 471 tools/crm_attribute.c read_value = strdup(options.attr_default); options 476 tools/crm_attribute.c options.attr_name, crm_str(read_value), options.set_name ? "in " : "", options.set_name ? options.set_name : ""); options 484 tools/crm_attribute.c options.type ? "scope=" : "", options.type ? options.type : "", options 485 tools/crm_attribute.c options.attr_id ? "id=" : "", options.attr_id ? options.attr_id : "", options 486 tools/crm_attribute.c options.attr_name ? "name=" : "", options.attr_name ? options.attr_name : "", options 508 tools/crm_attribute.c free(options.attr_default); options 509 tools/crm_attribute.c g_free(options.attr_id); options 510 tools/crm_attribute.c g_free(options.attr_name); options 511 tools/crm_attribute.c free(options.attr_value); options 512 tools/crm_attribute.c free(options.dest_node); options 513 tools/crm_attribute.c g_free(options.dest_uname); options 514 tools/crm_attribute.c g_free(options.set_name); options 515 tools/crm_attribute.c free(options.set_type); options 516 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 89 tools/crm_diff.c if (options.xml_file_2 != NULL) { options 90 tools/crm_diff.c free(options.xml_file_2); options 93 tools/crm_diff.c options.xml_file_2 = strdup(optarg); options 99 tools/crm_diff.c options.raw_1 = TRUE; options 101 tools/crm_diff.c if (options.xml_file_1 != NULL) { options 102 tools/crm_diff.c free(options.xml_file_1); options 105 tools/crm_diff.c options.xml_file_1 = strdup(optarg); options 111 tools/crm_diff.c options.apply = TRUE; options 113 tools/crm_diff.c if (options.xml_file_2 != NULL) { options 114 tools/crm_diff.c free(options.xml_file_2); options 117 tools/crm_diff.c options.xml_file_2 = strdup(optarg); options 328 tools/crm_diff.c if (options.apply && options.no_version) { options 330 tools/crm_diff.c } else if (options.as_cib && options.no_version) { options 336 tools/crm_diff.c if (options.raw_1) { options 337 tools/crm_diff.c object_1 = string2xml(options.xml_file_1); options 339 tools/crm_diff.c } else if (options.use_stdin) { options 343 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { options 344 tools/crm_diff.c object_1 = filename2xml(options.xml_file_1); options 347 tools/crm_diff.c if (options.raw_2) { options 348 tools/crm_diff.c object_2 = string2xml(options.xml_file_2); options 350 tools/crm_diff.c } else if (options.use_stdin) { options 354 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { options 355 tools/crm_diff.c object_2 = filename2xml(options.xml_file_2); options 369 tools/crm_diff.c if (options.apply) { options 370 tools/crm_diff.c int ret = apply_patch(object_1, object_2, options.as_cib); options 373 tools/crm_diff.c int ret = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version); options 380 tools/crm_diff.c free(options.xml_file_1); options 381 tools/crm_diff.c free(options.xml_file_2); options 24 tools/crm_error.c } options; options 27 tools/crm_error.c { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name, options 31 tools/crm_error.c { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list, options 34 tools/crm_error.c { "exit", 'X', 0, G_OPTION_ARG_NONE, &options.as_exit_code, options 37 tools/crm_error.c { "rc", 'r', 0, G_OPTION_ARG_NONE, &options.as_rc, options 47 tools/crm_error.c if (options.as_exit_code) { options 50 tools/crm_error.c } else if (options.as_rc) { options 99 tools/crm_error.c if (options.do_list) { options 103 tools/crm_error.c if (options.as_rc) { options 121 tools/crm_error.c } else if(options.with_name) { options 141 tools/crm_error.c if (options.with_name) { options 124 tools/crm_mon.c } options = { options 253 tools/crm_mon.c if (options.neg_location_prefix != NULL) { options 254 tools/crm_mon.c free(options.neg_location_prefix); options 255 tools/crm_mon.c options.neg_location_prefix = NULL; options 259 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); options 319 tools/crm_mon.c options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s); options 327 tools/crm_mon.c options.includes_excludes = g_slist_append(options.includes_excludes, s); options 339 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 372 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 397 tools/crm_mon.c options.mon_ops |= mon_op_fence_full_history | mon_op_fence_history | mon_op_fence_connect; options 401 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 405 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 409 tools/crm_mon.c options.mon_ops &= ~(mon_op_fence_history | mon_op_fence_connect); options 420 tools/crm_mon.c options.mon_ops |= mon_op_group_by_node; options 431 tools/crm_mon.c options.mon_ops |= mon_op_inactive_resources; options 443 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 449 tools/crm_mon.c options.mon_ops |= mon_op_print_brief; options 455 tools/crm_mon.c options.mon_ops |= mon_op_print_clone_detail; options 461 tools/crm_mon.c options.mon_ops |= mon_op_print_pending; options 467 tools/crm_mon.c options.mon_ops |= mon_op_print_timing; options 479 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); options 520 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 526 tools/crm_mon.c options.mon_ops |= mon_op_watch_fencing; options 542 tools/crm_mon.c { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &options.daemonize, options 547 tools/crm_mon.c { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file, options 551 tools/crm_mon.c { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent, options 555 tools/crm_mon.c { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient, options 581 tools/crm_mon.c { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node, options 586 tools/crm_mon.c { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc, options 744 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 775 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 823 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) && (st == NULL)) { options 827 tools/crm_mon.c if (!pcmk_is_set(options.mon_ops, mon_op_fence_connect) || options 835 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_watch_fencing)) { options 921 tools/crm_mon.c options.mon_ops |= mon_op_fence_full_history | mon_op_fence_history | mon_op_fence_connect; options 926 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 931 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 937 tools/crm_mon.c options.mon_ops &= ~(mon_op_fence_history | mon_op_fence_connect); options 994 tools/crm_mon.c if (!pcmk_is_set(options.mon_ops, mon_op_cib_native)) { options 1025 tools/crm_mon.c rc = pcmk_poll_ipc(pacemakerd_api, options.reconnect_ms/2); options 1141 tools/crm_mon.c options.mon_ops ^= mon_op_group_by_node; options 1146 tools/crm_mon.c options.mon_ops &= ~mon_op_print_timing; options 1150 tools/crm_mon.c options.mon_ops ^= mon_op_inactive_resources; options 1153 tools/crm_mon.c options.mon_ops ^= mon_op_print_clone_detail; options 1156 tools/crm_mon.c options.mon_ops ^= mon_op_print_timing; options 1157 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_print_timing)) { options 1182 tools/crm_mon.c options.mon_ops ^= mon_op_print_brief; options 1185 tools/crm_mon.c options.mon_ops ^= mon_op_print_pending; options 1203 tools/crm_mon.c print_option_help(out, 'n', pcmk_is_set(options.mon_ops, mon_op_group_by_node)); options 1205 tools/crm_mon.c print_option_help(out, 'r', pcmk_is_set(options.mon_ops, mon_op_inactive_resources)); options 1206 tools/crm_mon.c print_option_help(out, 't', pcmk_is_set(options.mon_ops, mon_op_print_timing)); options 1210 tools/crm_mon.c print_option_help(out, 'R', pcmk_is_set(options.mon_ops, mon_op_print_clone_detail)); options 1211 tools/crm_mon.c print_option_help(out, 'b', pcmk_is_set(options.mon_ops, mon_op_print_brief)); options 1212 tools/crm_mon.c print_option_help(out, 'j', pcmk_is_set(options.mon_ops, mon_op_print_pending)); options 1366 tools/crm_mon.c } else if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1446 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); options 1454 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1485 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_watch_fencing)) { options 1487 tools/crm_mon.c options.mon_ops |= mon_op_fence_connect; options 1502 tools/crm_mon.c options.mon_ops |= mon_op_cib_native; options 1513 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1530 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1535 tools/crm_mon.c } else if (options.daemonize) { options 1541 tools/crm_mon.c if (pcmk__str_eq(args->output_dest, "-", pcmk__str_null_matches | pcmk__str_casei) && !options.external_agent) { options 1552 tools/crm_mon.c pcmk__daemonize(crm_system_name, options.pid_file); options 1567 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1605 tools/crm_mon.c apply_include_exclude(options.includes_excludes, output_format, &error); options 1611 tools/crm_mon.c if (!apply_include_exclude(options.user_includes_excludes, output_format, &error)) { options 1642 tools/crm_mon.c } else if (options.external_agent != NULL) { options 1645 tools/crm_mon.c } else if (options.daemonize == TRUE) { options 1652 tools/crm_mon.c options.mon_ops |= mon_op_print_timing | mon_op_inactive_resources; options 1654 tools/crm_mon.c if (!options.daemonize) { options 1655 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1662 tools/crm_mon.c pcmk__itoa(options.reconnect_ms / 1000), NULL); options 1669 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1683 tools/crm_mon.c pcmk__sleep_ms(options.reconnect_ms); options 1824 tools/crm_mon.c crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent); options 1829 tools/crm_mon.c if (options.external_recipient) { options 1830 tools/crm_mon.c setenv("CRM_notify_recipient", options.external_recipient, 1); options 1845 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); options 1849 tools/crm_mon.c crm_trace("Finished running custom notification program '%s'.", options.external_agent); options 1947 tools/crm_mon.c if (notify && options.external_agent) { options 2123 tools/crm_mon.c if (options.external_agent) { options 2155 tools/crm_mon.c while (pcmk_is_set(options.mon_ops, mon_op_fence_history)) { options 2161 tools/crm_mon.c if (!pcmk_is_set(options.mon_ops, mon_op_fence_full_history) options 2217 tools/crm_mon.c if (options.daemonize) { options 2221 tools/crm_mon.c unames = pe__build_node_name_list(mon_data_set, options.only_node); options 2222 tools/crm_mon.c resources = pe__build_rsc_list(mon_data_set, options.only_rsc); options 2228 tools/crm_mon.c stonith_history, options.mon_ops, options 2229 tools/crm_mon.c get_resource_display_options(options.mon_ops), options 2230 tools/crm_mon.c show, options.neg_location_prefix, options 2241 tools/crm_mon.c stonith_history, options.mon_ops, options 2242 tools/crm_mon.c get_resource_display_options(options.mon_ops), show, options 2243 tools/crm_mon.c options.neg_location_prefix, unames, resources); options 2247 tools/crm_mon.c print_simple_status(out, mon_data_set, options.mon_ops); options 2248 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_has_warnings)) { options 2261 tools/crm_mon.c options.mon_ops, get_resource_display_options(options.mon_ops), options 2262 tools/crm_mon.c show, options.neg_location_prefix, unames, resources); options 2269 tools/crm_mon.c options.mon_ops, get_resource_display_options(options.mon_ops), options 2270 tools/crm_mon.c show, options.neg_location_prefix, unames, resources); options 2278 tools/crm_mon.c if (options.daemonize) { options 2300 tools/crm_mon.c } else if (options.external_agent) { options 2346 tools/crm_mon.c ((now - last_refresh) > (options.reconnect_ms / 1000)) || options 2418 tools/crm_mon.c free(options.neg_location_prefix); options 2419 tools/crm_mon.c free(options.only_node); options 2420 tools/crm_mon.c free(options.only_rsc); options 2421 tools/crm_mon.c free(options.pid_file); options 2422 tools/crm_mon.c g_slist_free_full(options.includes_excludes, free); options 2473 tools/crm_mon.c if (!options.daemonize) { options 35 tools/crm_node.c } options = { options 78 tools/crm_node.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag, options 83 tools/crm_node.c { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync, options 96 tools/crm_node.c options.command = 'i'; options 98 tools/crm_node.c options.command = 'l'; options 100 tools/crm_node.c options.command = 'n'; options 102 tools/crm_node.c options.command = 'p'; options 104 tools/crm_node.c options.command = 'q'; options 115 tools/crm_node.c options.command = 'N'; options 116 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); options 128 tools/crm_node.c options.command = 'R'; options 129 tools/crm_node.c options.dangerous_cmd = TRUE; options 130 tools/crm_node.c options.target_uname = strdup(optarg); options 173 tools/crm_node.c switch (options.command) { options 236 tools/crm_node.c if (options.command == 'l') { options 245 tools/crm_node.c if (options.command == 'p') { options 555 tools/crm_node.c if (options.command == 0) { options 564 tools/crm_node.c if (options.dangerous_cmd && options.force_flag == FALSE) { options 572 tools/crm_node.c switch (options.command) { options 577 tools/crm_node.c remove_node(options.target_uname); options 582 tools/crm_node.c run_controller_mainloop(options.nodeid, false); options 113 tools/crm_resource.c } options = { options 124 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 129 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 132 tools/crm_resource.c #define SET_COMMAND(cmd) do { options.rsc_cmd = (cmd); } while (0) options 482 tools/crm_resource.c { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime, options 487 tools/crm_resource.c &options.promoted_role_only, options 495 tools/crm_resource.c &options.promoted_role_only, options 558 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, options 561 tools/crm_resource.c { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive, options 564 tools/crm_resource.c { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type, options 567 tools/crm_resource.c { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value, options 578 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, options 581 tools/crm_resource.c { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec, options 601 tools/crm_resource.c { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set, options 604 tools/crm_resource.c { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id, options 611 tools/crm_resource.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 615 tools/crm_resource.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file, options 618 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, options 627 tools/crm_resource.c options.cmdline_config = TRUE; options 628 tools/crm_resource.c options.require_resource = FALSE; options 631 tools/crm_resource.c if (options.v_provider) { options 632 tools/crm_resource.c free(options.v_provider); options 634 tools/crm_resource.c options.v_provider = strdup(optarg); options 636 tools/crm_resource.c if (options.v_agent) { options 637 tools/crm_resource.c free(options.v_agent); options 639 tools/crm_resource.c options.v_agent = strdup(optarg); options 648 tools/crm_resource.c options.attr_set_type = XML_TAG_META_SETS; options 650 tools/crm_resource.c options.attr_set_type = XML_TAG_UTILIZATION; options 666 tools/crm_resource.c if (options.v_class != NULL) { options 667 tools/crm_resource.c free(options.v_class); options 670 tools/crm_resource.c options.v_class = strdup(optarg); options 673 tools/crm_resource.c options.cmdline_config = TRUE; options 674 tools/crm_resource.c options.require_resource = FALSE; options 686 tools/crm_resource.c options.require_resource = FALSE; options 688 tools/crm_resource.c options.require_crmd = TRUE; options 690 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 696 tools/crm_resource.c options.require_dataset = FALSE; options 698 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 704 tools/crm_resource.c options.clear_expired = TRUE; options 705 tools/crm_resource.c options.require_resource = FALSE; options 712 tools/crm_resource.c options.require_cib = FALSE; options 713 tools/crm_resource.c options.require_dataset = FALSE; options 714 tools/crm_resource.c options.require_resource = FALSE; options 715 tools/crm_resource.c if (options.agent_spec != NULL) { options 716 tools/crm_resource.c free(options.agent_spec); options 717 tools/crm_resource.c options.agent_spec = NULL; options 720 tools/crm_resource.c options.agent_spec = strdup(optarg); options 747 tools/crm_resource.c options.require_cib = FALSE; options 748 tools/crm_resource.c options.require_dataset = FALSE; options 749 tools/crm_resource.c options.require_resource = FALSE; options 781 tools/crm_resource.c if (options.cmdline_params == NULL) { options 782 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 784 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); options 790 tools/crm_resource.c options.require_crmd = TRUE; options 791 tools/crm_resource.c options.require_node = TRUE; options 799 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; 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_any; 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_anon; options 817 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 820 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 835 tools/crm_resource.c if (options.prop_name) { options 836 tools/crm_resource.c free(options.prop_name); options 839 tools/crm_resource.c options.prop_name = strdup(optarg); options 840 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 858 tools/crm_resource.c options.require_resource = FALSE; options 870 tools/crm_resource.c if (options.prop_name) { options 871 tools/crm_resource.c free(options.prop_name); options 874 tools/crm_resource.c options.prop_name = strdup(optarg); options 875 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 881 tools/crm_resource.c options.require_dataset = FALSE; options 883 tools/crm_resource.c if (options.prop_name) { options 884 tools/crm_resource.c free(options.prop_name); options 887 tools/crm_resource.c options.prop_name = strdup(optarg); options 889 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 895 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); options 904 tools/crm_resource.c if (options.operation) { options 905 tools/crm_resource.c g_free(options.operation); options 907 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" options 908 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 909 tools/crm_resource.c if (options.override_params == NULL) { options 910 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 920 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 929 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 930 tools/crm_resource.c if (options.override_params == NULL) { options 931 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 933 tools/crm_resource.c options.require_node = TRUE; options 934 tools/crm_resource.c options.require_dataset = TRUE; options 941 tools/crm_resource.c options.require_resource = FALSE; options 942 tools/crm_resource.c options.require_dataset = FALSE; options 948 tools/crm_resource.c options.require_resource = FALSE; options 950 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 966 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 967 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 985 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 986 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 996 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); options 1005 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); options 1016 tools/crm_resource.c if (options.force == FALSE) { options 1021 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1022 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, options 1023 tools/crm_resource.c options.interval_spec, TRUE, data_set, options.force); options 1049 tools/crm_resource.c if (options.clear_expired) { options 1050 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, options 1051 tools/crm_resource.c options.rsc_id, options.host_uname, options 1052 tools/crm_resource.c options.promoted_role_only); options 1054 tools/crm_resource.c } else if (options.host_uname) { options 1055 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); options 1063 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, options 1064 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1067 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, options 1068 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1106 tools/crm_resource.c if (options.rsc_type == NULL) { options 1113 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1114 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1117 tools/crm_resource.c options.cib_options); options 1166 tools/crm_resource.c switch (options.rsc_cmd) { options 1228 tools/crm_resource.c if (options.xml_file != NULL) { options 1229 tools/crm_resource.c *cib_xml_copy = filename2xml(options.xml_file); options 1259 tools/crm_resource.c const char *router_node = options.host_uname; options 1262 tools/crm_resource.c if (options.host_uname) { options 1263 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); options 1271 tools/crm_resource.c options.host_uname); options 1281 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); options 1286 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); options 1288 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, options 1292 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, options 1305 tools/crm_resource.c if (options.force == FALSE) { options 1310 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1311 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, options 1312 tools/crm_resource.c 0, FALSE, data_set, options.force); options 1330 tools/crm_resource.c if (pcmk__str_empty(options.rsc_type)) { options 1336 tools/crm_resource.c } else if (pcmk__str_empty(options.prop_value)) { options 1343 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); options 1345 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1346 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1347 tools/crm_resource.c crm_xml_add(msg_data, options.prop_name, options.prop_value); options 1350 tools/crm_resource.c options.cib_options); options 1403 tools/crm_resource.c if (options.rsc_id != NULL) { options 1408 tools/crm_resource.c } else if (options.rsc_cmd != cmd_execute_agent) { options 1416 tools/crm_resource.c } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) { options 1417 tools/crm_resource.c if (options.v_provider != NULL) { options 1421 tools/crm_resource.c } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) { options 1423 tools/crm_resource.c "%s is not a known stonith agent", options.v_agent ? options.v_agent : ""); options 1426 tools/crm_resource.c } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) { options 1429 tools/crm_resource.c options.v_class ? options.v_class : "", options 1430 tools/crm_resource.c options.v_provider ? options.v_provider : "", options 1431 tools/crm_resource.c options.v_agent ? options.v_agent : ""); options 1438 tools/crm_resource.c if (options.cmdline_params == NULL) { options 1439 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 1441 tools/crm_resource.c options.require_resource = FALSE; options 1442 tools/crm_resource.c options.require_dataset = FALSE; options 1443 tools/crm_resource.c options.require_cib = FALSE; options 1454 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, options 1457 tools/crm_resource.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 1561 tools/crm_resource.c if (options.rsc_cmd == cmd_none) { options 1562 tools/crm_resource.c options.rsc_cmd = cmd_list_resources; options 1563 tools/crm_resource.c options.require_resource = FALSE; options 1567 tools/crm_resource.c if (options.clear_expired && (options.rsc_cmd != cmd_clear)) { options 1573 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { options 1575 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1581 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); options 1594 tools/crm_resource.c } else if (options.remainder != NULL) { options 1600 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1609 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1631 tools/crm_resource.c switch (options.rsc_cmd) { options 1647 tools/crm_resource.c if (options.rsc_cmd == cmd_colocations || options.rsc_cmd == cmd_colocations_deep || options 1648 tools/crm_resource.c options.rsc_cmd == cmd_list_resources) { options 1658 tools/crm_resource.c if (options.cmdline_config) { options 1668 tools/crm_resource.c } else if (options.cmdline_params != NULL) { options 1670 tools/crm_resource.c g_hash_table_destroy(options.cmdline_params); options 1671 tools/crm_resource.c options.cmdline_params = NULL; options 1674 tools/crm_resource.c if (options.require_resource && (options.rsc_id == NULL)) { options 1681 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { options 1693 tools/crm_resource.c if (options.force) { options 1695 tools/crm_resource.c cib__set_call_options(options.cib_options, crm_system_name, options 1699 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1700 tools/crm_resource.c options.require_dataset = TRUE; options 1704 tools/crm_resource.c if (options.require_cib) { options 1723 tools/crm_resource.c if (options.require_dataset) { options 1732 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1733 tools/crm_resource.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 1734 tools/crm_resource.c options.find_flags); options 1738 tools/crm_resource.c "Resource '%s' not found", options.rsc_id); options 1744 tools/crm_resource.c if ((options.host_uname != NULL) && (data_set != NULL)) { options 1745 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1749 tools/crm_resource.c if (options.require_crmd) { options 1772 tools/crm_resource.c switch (options.rsc_cmd) { options 1799 tools/crm_resource.c rc = list_providers(out, options.agent_spec); options 1803 tools/crm_resource.c rc = list_agents(out, options.agent_spec); options 1807 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); options 1816 tools/crm_resource.c rc = cli_resource_restart(out, rsc, options.host_uname, options 1817 tools/crm_resource.c options.move_lifetime, options.timeout_ms, options 1818 tools/crm_resource.c cib_conn, options.cib_options, options 1819 tools/crm_resource.c options.promoted_role_only, options 1820 tools/crm_resource.c options.force); options 1824 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); options 1828 tools/crm_resource.c if (options.cmdline_config) { options 1830 tools/crm_resource.c options.v_class, options.v_provider, options.v_agent, options 1831 tools/crm_resource.c "validate-all", options.cmdline_params, options 1832 tools/crm_resource.c options.override_params, options.timeout_ms, options 1833 tools/crm_resource.c args->verbosity, options.force); options 1835 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, options 1836 tools/crm_resource.c options.operation, options.override_params, options 1837 tools/crm_resource.c options.timeout_ms, cib_conn, data_set, options 1838 tools/crm_resource.c args->verbosity, options.force); options 1843 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1848 tools/crm_resource.c options.override_params, data_set); options 1874 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, options 1875 tools/crm_resource.c options.rsc_id, data_set); options 1882 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1883 tools/crm_resource.c options.host_uname, TRUE, options 1888 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1889 tools/crm_resource.c options.host_uname, FALSE, options 1894 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set); options 1895 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); options 1909 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { options 1922 tools/crm_resource.c if (options.host_uname == NULL) { options 1923 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1925 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, options 1926 tools/crm_resource.c options.move_lifetime, cib_conn, options 1927 tools/crm_resource.c options.cib_options, data_set, options 1928 tools/crm_resource.c options.promoted_role_only, options 1929 tools/crm_resource.c options.force); options 1940 tools/crm_resource.c if (options.host_uname == NULL) { options 1941 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1945 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, options 1946 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, options 1947 tools/crm_resource.c options.cib_options, options 1948 tools/crm_resource.c options.promoted_role_only); options 1959 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); options 1978 tools/crm_resource.c " returning the default value for %s", rsc->id, crm_str(options.prop_name)); options 1982 tools/crm_resource.c crm_debug("Looking up %s in %s", options.prop_name, rsc->id); options 1984 tools/crm_resource.c if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_casei)) { options 1988 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_casei)) { options 1998 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, params); options 2006 tools/crm_resource.c if (pcmk__str_empty(options.prop_value)) { options 2014 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, options 2015 tools/crm_resource.c options.prop_set, options 2016 tools/crm_resource.c options.attr_set_type, options 2017 tools/crm_resource.c options.prop_id, options 2018 tools/crm_resource.c options.prop_name, options 2019 tools/crm_resource.c options.prop_value, options 2020 tools/crm_resource.c options.recursive, cib_conn, options 2021 tools/crm_resource.c options.cib_options, data_set, options 2022 tools/crm_resource.c options.force); options 2027 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, options 2028 tools/crm_resource.c options.prop_set, options 2029 tools/crm_resource.c options.attr_set_type, options 2030 tools/crm_resource.c options.prop_id, options 2031 tools/crm_resource.c options.prop_name, cib_conn, options 2032 tools/crm_resource.c options.cib_options, data_set, options 2033 tools/crm_resource.c options.force); options 2038 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, options 2039 tools/crm_resource.c options.operation, options.interval_spec, options 2064 tools/crm_resource.c "Unimplemented command: %d", (int) options.rsc_cmd); options 2102 tools/crm_resource.c g_free(options.host_uname); options 2103 tools/crm_resource.c g_free(options.interval_spec); options 2104 tools/crm_resource.c g_free(options.move_lifetime); options 2105 tools/crm_resource.c g_free(options.operation); options 2106 tools/crm_resource.c g_free(options.prop_id); options 2107 tools/crm_resource.c free(options.prop_name); options 2108 tools/crm_resource.c g_free(options.prop_set); options 2109 tools/crm_resource.c g_free(options.prop_value); options 2110 tools/crm_resource.c g_free(options.rsc_id); options 2111 tools/crm_resource.c g_free(options.rsc_type); options 2112 tools/crm_resource.c free(options.agent_spec); options 2113 tools/crm_resource.c free(options.v_agent); options 2114 tools/crm_resource.c free(options.v_class); options 2115 tools/crm_resource.c free(options.v_provider); options 2116 tools/crm_resource.c g_free(options.xml_file); options 2117 tools/crm_resource.c g_strfreev(options.remainder); options 2119 tools/crm_resource.c if (options.override_params != NULL) { options 2120 tools/crm_resource.c g_hash_table_destroy(options.override_params); options 35 tools/crm_rule.c } options = { options 52 tools/crm_rule.c { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml, options 60 tools/crm_rule.c { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date, options 63 tools/crm_rule.c { "rule", 'r', 0, G_OPTION_ARG_STRING, &options.rule, options 73 tools/crm_rule.c options.mode = crm_rule_mode_check; options 261 tools/crm_rule.c switch(options.mode) { options 263 tools/crm_rule.c if (options.rule == NULL) { options 279 tools/crm_rule.c rule_date = crm_time_new(options.date); options 289 tools/crm_rule.c if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) { options 297 tools/crm_rule.c } else if (options.input_xml != NULL) { options 298 tools/crm_rule.c input = string2xml(options.input_xml); options 301 tools/crm_rule.c CMD_ERR("Couldn't parse input string: %s\n", options.input_xml); options 344 tools/crm_rule.c switch(options.mode) { options 346 tools/crm_rule.c rc = crm_rule_check(data_set, options.rule, rule_date); options 63 tools/crm_simulate.c } options = { options 85 tools/crm_simulate.c options.store = TRUE; options 86 tools/crm_simulate.c options.process = TRUE; options 87 tools/crm_simulate.c options.simulate = TRUE; options 93 tools/crm_simulate.c if (options.xml_file) { options 94 tools/crm_simulate.c free(options.xml_file); options 97 tools/crm_simulate.c options.xml_file = NULL; options 103 tools/crm_simulate.c options.modified++; options 104 tools/crm_simulate.c options.node_down = g_list_append(options.node_down, (gchar *) g_strdup(optarg)); options 110 tools/crm_simulate.c options.modified++; options 111 tools/crm_simulate.c options.node_fail = g_list_append(options.node_fail, (gchar *) g_strdup(optarg)); options 117 tools/crm_simulate.c options.modified++; options 119 tools/crm_simulate.c options.node_up = g_list_append(options.node_up, (gchar *) g_strdup(optarg)); options 125 tools/crm_simulate.c options.process = TRUE; options 126 tools/crm_simulate.c options.simulate = TRUE; options 127 tools/crm_simulate.c options.op_fail = g_list_append(options.op_fail, (gchar *) g_strdup(optarg)); options 133 tools/crm_simulate.c options.modified++; options 134 tools/crm_simulate.c options.op_inject = g_list_append(options.op_inject, (gchar *) g_strdup(optarg)); options 140 tools/crm_simulate.c if (options.quorum) { options 141 tools/crm_simulate.c free(options.quorum); options 144 tools/crm_simulate.c options.modified++; options 145 tools/crm_simulate.c options.quorum = strdup(optarg); options 151 tools/crm_simulate.c if (options.dot_file) { options 152 tools/crm_simulate.c free(options.dot_file); options 155 tools/crm_simulate.c options.process = TRUE; options 156 tools/crm_simulate.c options.dot_file = strdup(optarg); options 162 tools/crm_simulate.c if (options.graph_file) { options 163 tools/crm_simulate.c free(options.graph_file); options 166 tools/crm_simulate.c options.process = TRUE; options 167 tools/crm_simulate.c options.graph_file = strdup(optarg); options 173 tools/crm_simulate.c options.process = TRUE; options 174 tools/crm_simulate.c options.show_scores = TRUE; options 180 tools/crm_simulate.c options.process = TRUE; options 181 tools/crm_simulate.c options.simulate = TRUE; options 187 tools/crm_simulate.c options.modified++; options 188 tools/crm_simulate.c options.ticket_activate = g_list_append(options.ticket_activate, (gchar *) g_strdup(optarg)); options 194 tools/crm_simulate.c options.modified++; options 195 tools/crm_simulate.c options.ticket_grant = g_list_append(options.ticket_grant, (gchar *) g_strdup(optarg)); options 201 tools/crm_simulate.c options.modified++; options 202 tools/crm_simulate.c options.ticket_revoke = g_list_append(options.ticket_revoke, (gchar *) g_strdup(optarg)); options 208 tools/crm_simulate.c options.modified++; options 209 tools/crm_simulate.c options.ticket_standby = g_list_append(options.ticket_standby, (gchar *) g_strdup(optarg)); options 215 tools/crm_simulate.c options.process = TRUE; options 216 tools/crm_simulate.c options.show_utilization = TRUE; options 222 tools/crm_simulate.c if (options.watchdog) { options 223 tools/crm_simulate.c free(options.watchdog); options 226 tools/crm_simulate.c options.modified++; options 227 tools/crm_simulate.c options.watchdog = strdup(optarg); options 233 tools/crm_simulate.c if (options.xml_file) { options 234 tools/crm_simulate.c free(options.xml_file); options 237 tools/crm_simulate.c options.xml_file = strdup(optarg); options 243 tools/crm_simulate.c if (options.xml_file) { options 244 tools/crm_simulate.c free(options.xml_file); options 247 tools/crm_simulate.c options.xml_file = strdup("-"); options 252 tools/crm_simulate.c { "run", 'R', 0, G_OPTION_ARG_NONE, &options.process, options 261 tools/crm_simulate.c { "show-attrs", 'A', 0, G_OPTION_ARG_NONE, &options.show_attrs, options 264 tools/crm_simulate.c { "show-failcounts", 'c', 0, G_OPTION_ARG_NONE, &options.show_failcounts, options 273 tools/crm_simulate.c { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir, options 276 tools/crm_simulate.c { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat, options 280 tools/crm_simulate.c { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending, options 307 tools/crm_simulate.c { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date, options 333 tools/crm_simulate.c { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file, options 336 tools/crm_simulate.c { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file, options 345 tools/crm_simulate.c { "all-actions", 'a', 0, G_OPTION_ARG_NONE, &options.all_actions, options 411 tools/crm_simulate.c if (options.show_attrs) { options 416 tools/crm_simulate.c if (options.show_failcounts) { options 869 tools/crm_simulate.c options.xml_file = strdup("-"); options 888 tools/crm_simulate.c !options.show_scores && !options.show_utilization) { options 921 tools/crm_simulate.c if (options.show_scores) { options 924 tools/crm_simulate.c if (options.show_utilization) { options 929 tools/crm_simulate.c if (options.test_dir != NULL) { options 931 tools/crm_simulate.c profile_all(options.test_dir, options.repeat, data_set, options.use_date); options 936 tools/crm_simulate.c rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error); options 960 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 961 tools/crm_simulate.c if(options.xml_file) { options 964 tools/crm_simulate.c if (options.show_scores) { options 967 tools/crm_simulate.c if (options.show_utilization) { options 973 tools/crm_simulate.c unsigned int opts = options.print_pending ? pe_print_pending : 0; options 997 tools/crm_simulate.c if (options.modified) { options 999 tools/crm_simulate.c modify_configuration(data_set, global_cib, options.quorum, options.watchdog, options.node_up, options 1000 tools/crm_simulate.c options.node_down, options.node_fail, options.op_inject, options 1001 tools/crm_simulate.c options.ticket_grant, options.ticket_revoke, options.ticket_standby, options 1002 tools/crm_simulate.c options.ticket_activate); options 1016 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 1018 tools/crm_simulate.c if(options.xml_file) { options 1021 tools/crm_simulate.c if (options.show_scores) { options 1024 tools/crm_simulate.c if (options.show_utilization) { options 1030 tools/crm_simulate.c if (options.input_file != NULL) { options 1031 tools/crm_simulate.c rc = write_xml_file(input, options.input_file, FALSE); options 1035 tools/crm_simulate.c "Could not create '%s': %s", options.input_file, pcmk_rc_str(rc)); options 1040 tools/crm_simulate.c if (options.process || options.simulate) { options 1077 tools/crm_simulate.c if (options.graph_file != NULL) { options 1078 tools/crm_simulate.c write_xml_file(data_set->graph, options.graph_file, FALSE); options 1081 tools/crm_simulate.c if (options.dot_file != NULL) { options 1082 tools/crm_simulate.c if (!create_dotfile(data_set, options.dot_file, options.all_actions, &error)) { options 1107 tools/crm_simulate.c if (options.simulate) { options 1109 tools/crm_simulate.c if (run_simulation(data_set, global_cib, options.op_fail) != pcmk_rc_ok) { options 1116 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 1121 tools/crm_simulate.c if (options.show_scores) { options 1124 tools/crm_simulate.c if (options.show_utilization) { options 1139 tools/crm_simulate.c free(options.dot_file); options 1140 tools/crm_simulate.c free(options.graph_file); options 1141 tools/crm_simulate.c g_free(options.input_file); options 1142 tools/crm_simulate.c g_list_free_full(options.node_up, g_free); options 1143 tools/crm_simulate.c g_list_free_full(options.node_down, g_free); options 1144 tools/crm_simulate.c g_list_free_full(options.node_fail, g_free); options 1145 tools/crm_simulate.c g_list_free_full(options.op_fail, g_free); options 1146 tools/crm_simulate.c g_list_free_full(options.op_inject, g_free); options 1147 tools/crm_simulate.c g_free(options.output_file); options 1148 tools/crm_simulate.c free(options.quorum); options 1149 tools/crm_simulate.c g_free(options.test_dir); options 1150 tools/crm_simulate.c g_list_free_full(options.ticket_grant, g_free); options 1151 tools/crm_simulate.c g_list_free_full(options.ticket_revoke, g_free); options 1152 tools/crm_simulate.c g_list_free_full(options.ticket_standby, g_free); options 1153 tools/crm_simulate.c g_list_free_full(options.ticket_activate, g_free); options 1154 tools/crm_simulate.c free(options.use_date); options 1155 tools/crm_simulate.c free(options.watchdog); options 1156 tools/crm_simulate.c free(options.xml_file); options 45 tools/crm_verify.c } options; options 51 tools/crm_verify.c &options.use_live_cib, "Check the configuration used by the running cluster", options 54 tools/crm_verify.c &options.xml_file, "Check the configuration in the named file", options 57 tools/crm_verify.c &options.xml_stdin, "Check the configuration piped in via stdin", options 60 tools/crm_verify.c &options.xml_string, "Check the configuration in the supplied string", options 68 tools/crm_verify.c &options.cib_save, "Save verified XML to named file (most useful with -L)", options 150 tools/crm_verify.c if (options.use_live_cib) { options 156 tools/crm_verify.c if (options.use_live_cib) { options 158 tools/crm_verify.c int options = cib_scope_local | cib_sync_call; options 161 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); options 175 tools/crm_verify.c } else if (options.xml_file != NULL) { options 176 tools/crm_verify.c cib_object = filename2xml(options.xml_file); options 179 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file); options 183 tools/crm_verify.c } else if (options.xml_string != NULL) { options 184 tools/crm_verify.c cib_object = string2xml(options.xml_string); options 187 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string); options 190 tools/crm_verify.c } else if (options.xml_stdin) { options 213 tools/crm_verify.c if (options.cib_save != NULL) { options 214 tools/crm_verify.c write_xml_file(cib_object, options.cib_save, FALSE); options 246 tools/crm_verify.c } else if (status != NULL || options.use_live_cib) { options 280 tools/crm_verify.c if (options.use_live_cib && cib_conn) { options 288 tools/crm_verify.c free(options.cib_save); options 289 tools/crm_verify.c free(options.xml_file); options 290 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 128 tools/crmadmin.c if (options.optarg != NULL) { options 129 tools/crmadmin.c free(options.optarg); options 131 tools/crmadmin.c options.optarg = strdup(optarg); options 223 tools/crmadmin.c if (options.health) { options 244 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, options.timeout); options 247 tools/crmadmin.c rc = pcmk__pacemakerd_status(out, options.ipc_name, options.timeout); options 250 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT); options 253 tools/crmadmin.c rc = pcmk__designated_controller(out, options.timeout); 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 380 tools/stonith_admin.c if (options.validate_cfg) { options 386 tools/stonith_admin.c if (options.installed) { options 391 tools/stonith_admin.c if (options.registered) { options 395 tools/stonith_admin.c if (options.register_dev != NULL) { options 398 tools/stonith_admin.c device = options.register_dev; options 401 tools/stonith_admin.c if (options.query != NULL) { options 403 tools/stonith_admin.c device = options.query; options 406 tools/stonith_admin.c if (options.unregister_dev != NULL) { options 408 tools/stonith_admin.c device = options.unregister_dev; options 411 tools/stonith_admin.c if (options.targets != NULL) { options 413 tools/stonith_admin.c device = options.targets; options 416 tools/stonith_admin.c if (options.terminate != NULL) { options 418 tools/stonith_admin.c target = options.terminate; options 421 tools/stonith_admin.c if (options.metadata) { options 427 tools/stonith_admin.c if (options.reboot_host != NULL) { options 430 tools/stonith_admin.c target = options.reboot_host; options 434 tools/stonith_admin.c if (options.fence_host != NULL) { options 437 tools/stonith_admin.c target = options.fence_host; options 441 tools/stonith_admin.c if (options.unfence_host != NULL) { options 444 tools/stonith_admin.c target = options.unfence_host; options 448 tools/stonith_admin.c if (options.confirm_host != NULL) { options 450 tools/stonith_admin.c target = options.confirm_host; options 454 tools/stonith_admin.c if (options.last_fenced != NULL) { options 456 tools/stonith_admin.c target = options.last_fenced; options 459 tools/stonith_admin.c if (options.history != NULL) { options 461 tools/stonith_admin.c target = options.history; options 464 tools/stonith_admin.c if (options.register_level != NULL) { options 466 tools/stonith_admin.c target = options.register_level; options 469 tools/stonith_admin.c if (options.unregister_level != NULL) { options 471 tools/stonith_admin.c target = options.unregister_level; options 483 tools/stonith_admin.c if (required_agent && options.agent == NULL) { options 509 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); options 517 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); options 525 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); options 527 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); options 533 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); options 541 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, options 542 tools/stonith_admin.c options.params); options 552 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); options 556 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); options 560 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); options 573 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, options 574 tools/stonith_admin.c options.tolerance*1000, options.delay); options 578 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, options 579 tools/stonith_admin.c options.tolerance*1000, options.delay); options 583 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, options 584 tools/stonith_admin.c options.tolerance*1000, options.delay); options 588 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); options 592 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, options 593 tools/stonith_admin.c options.broadcast, options.cleanup); options 597 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; options 598 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, options 599 tools/stonith_admin.c options.timeout*1000); options 617 tools/stonith_admin.c stonith_key_value_freeall(options.params, 1, 1);