options 109 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) options 112 daemons/based/based_common.c if ((options & cib_no_children) options 120 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) options 128 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) options 135 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) options 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 41 daemons/based/based_notify.c static void do_cib_notify(int options, const char *op, xmlNode *update, options 131 daemons/based/based_notify.c cib_diff_notify(int options, const char *client, const char *call_id, const char *op, options 169 daemons/based/based_notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); options 173 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 669 daemons/controld/controld_control.c verify_crmd_options(GHashTable * options) options 671 daemons/controld/controld_control.c pcmk__validate_cluster_options(options, crmd_opts, DIMOF(crmd_opts)); options 675 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name) options 677 daemons/controld/controld_control.c return pcmk__cluster_option(options, crmd_opts, DIMOF(crmd_opts), name); options 606 daemons/controld/controld_execd_state.c const char *agent, char **output, enum lrmd_call_options options) options 632 daemons/controld/controld_execd_state.c class, provider, agent, output, options, params); options 653 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 667 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); options 711 daemons/controld/controld_execd_state.c const char *provider, const char *agent, enum lrmd_call_options options) options 727 daemons/controld/controld_execd_state.c agent, options); options 732 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) options 750 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); options 814 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 820 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, options 150 daemons/controld/controld_lrm.h const char *agent, char **output, enum lrmd_call_options options); options 159 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 163 daemons/controld/controld_lrm.h const char *provider, const char *agent, enum lrmd_call_options options); options 165 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 497 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); options 510 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, crm_name, value); options 547 daemons/execd/cts-exec-helper.c ++options.verbose; options 551 daemons/execd/cts-exec-helper.c options.quiet = 1; options 552 daemons/execd/cts-exec-helper.c options.verbose = 0; options 555 daemons/execd/cts-exec-helper.c options.listen = optarg; options 558 daemons/execd/cts-exec-helper.c options.no_wait = 1; options 561 daemons/execd/cts-exec-helper.c options.is_running = 1; options 570 daemons/execd/cts-exec-helper.c options.api_call = optarg; options 573 daemons/execd/cts-exec-helper.c options.action = optarg; options 576 daemons/execd/cts-exec-helper.c options.rsc_id = optarg; options 580 daemons/execd/cts-exec-helper.c options.cancel_call_id = atoi(optarg); options 584 daemons/execd/cts-exec-helper.c options.provider = optarg; options 587 daemons/execd/cts-exec-helper.c options.class = optarg; options 590 daemons/execd/cts-exec-helper.c options.type = optarg; options 594 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); options 599 daemons/execd/cts-exec-helper.c options.timeout = atoi(optarg); options 604 daemons/execd/cts-exec-helper.c options.start_delay = atoi(optarg); options 610 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 617 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 637 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", options 639 daemons/execd/cts-exec-helper.c options.no_connect = 1; options 642 daemons/execd/cts-exec-helper.c crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE), options 645 daemons/execd/cts-exec-helper.c if (options.is_running) { options 646 daemons/execd/cts-exec-helper.c if (!options.timeout) { options 647 daemons/execd/cts-exec-helper.c options.timeout = 30000; options 649 daemons/execd/cts-exec-helper.c options.interval_ms = 0; options 650 daemons/execd/cts-exec-helper.c if (!options.rsc_id) { options 660 daemons/execd/cts-exec-helper.c options.api_call = "exec"; options 661 daemons/execd/cts-exec-helper.c options.action = "monitor"; options 667 daemons/execd/cts-exec-helper.c if (!options.api_call && !options.listen) { options 77 daemons/fenced/fenced_commands.c int options; options 242 daemons/fenced/fenced_commands.c crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options)); options 2055 daemons/fenced/fenced_commands.c stonith_send_async_reply(async_command_t * cmd, const char *output, int rc, GPid pid, int options) options 2076 daemons/fenced/fenced_commands.c log_operation(cmd, rc, pid, NULL, output, (options & st_reply_opt_merged ? TRUE : FALSE)); options 2079 daemons/fenced/fenced_commands.c if (options & st_reply_opt_merged) { options 2093 daemons/fenced/fenced_commands.c (cmd->options & st_opt_sync_call) ? "" : "a-", cmd->client_name); options 2094 daemons/fenced/fenced_commands.c do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE); options 2324 daemons/fenced/fenced_commands.c if (cmd->options & st_opt_cs_nodeid) { options 2410 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); options 401 daemons/fenced/fenced_history.c const char *remote_peer, int options) options 410 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { options 420 daemons/fenced/fenced_history.c if (options & st_opt_cleanup) { options 426 daemons/fenced/fenced_history.c } else if (options & st_opt_broadcast) { options 1183 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options) options 1186 daemons/fenced/fenced_remote.c gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE; options 1196 daemons/fenced/fenced_remote.c peer->host, op->target, peer->ndevices, peer->tried, options); options 1197 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 1200 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 350 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data) options 373 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(int options, const char *op, int rc, options 383 daemons/fenced/pacemaker-fenced.c do_stonith_notify(options, op, rc, notify_data); options 388 daemons/fenced/pacemaker-fenced.c do_stonith_notify_device(int options, const char *op, int rc, const char *desc) options 390 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(device_list)); options 394 daemons/fenced/pacemaker-fenced.c do_stonith_notify_level(int options, const char *op, int rc, const char *desc) options 396 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(topology)); options 238 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data); options 239 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_device(int options, const char *op, int rc, const char *desc); options 240 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_level(int options, const char *op, int rc, const char *desc); options 253 daemons/fenced/pacemaker-fenced.h const char *remote_peer, int options); options 72 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib); options 73 include/crm/cib/internal.h void verify_cib_options(GHashTable * options); options 142 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req, options 146 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req, options 150 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req, options 154 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 158 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req, options 162 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req, options 166 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req, options 170 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req, options 174 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 197 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 529 include/crm/common/output_internal.h pcmk__output_factory_t create, GOptionEntry *options); options 340 include/crm/lrmd.h const char *provider, const char *agent, enum lrmd_call_options options); options 349 include/crm/lrmd.h const char *rsc_id, enum lrmd_call_options options); options 357 include/crm/lrmd.h enum lrmd_call_options options, GList **output); options 373 include/crm/lrmd.h int (*unregister_rsc) (lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options); options 399 include/crm/lrmd.h enum lrmd_call_options options, lrmd_key_value_t * params); /* ownership of params is given up to api here */ options 453 include/crm/lrmd.h const char *agent, char **output, enum lrmd_call_options options); options 527 include/crm/lrmd.h char **output, enum lrmd_call_options options, options 132 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); options 222 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options); options 240 include/crm/pengine/internal.h void native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 241 include/crm/pengine/internal.h void group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 242 include/crm/pengine/internal.h void clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data); options 243 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 547 include/crm/pengine/internal.h void print_rscs_brief(GListPtr rsc_list, const char * pre_text, long options, options 549 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GListPtr rsc_list, long options, gboolean print_all); options 554 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 555 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 556 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 193 lib/cib/cib_utils.c GHashTable *options = crm_str_table_new(); options 195 lib/cib/cib_utils.c cib_read_config(options, xml); options 196 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); options 198 lib/cib/cib_utils.c g_hash_table_destroy(options); options 649 lib/cib/cib_utils.c verify_cib_options(GHashTable * options) options 651 lib/cib/cib_utils.c pcmk__validate_cluster_options(options, cib_opts, DIMOF(cib_opts)); options 655 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) options 657 lib/cib/cib_utils.c return pcmk__cluster_option(options, cib_opts, DIMOF(cib_opts), name); options 661 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib) options 666 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { options 672 lib/cib/cib_utils.c g_hash_table_remove_all(options); options 677 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); options 680 lib/cib/cib_utils.c verify_cib_options(options); options 138 lib/common/attrd_client.c const char *dampen, const char *user_name, int options) options 207 lib/common/attrd_client.c pcmk_is_set(options, pcmk__node_attr_remote)); options 209 lib/common/attrd_client.c pcmk_is_set(options, pcmk__node_attr_private)); options 244 lib/common/attrd_client.c int options) options 257 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 83 lib/common/output.c pcmk__output_factory_t create, GOptionEntry *options) { options 92 lib/common/output.c if (options != NULL && group != NULL) { options 93 lib/common/output.c g_option_group_add_entries(group, options); options 109 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); options 476 lib/common/patchset.c int options = xml_log_option_formatted; options 612 lib/common/patchset.c options |= xml_log_option_diff_short; options 619 lib/common/patchset.c 0, options|xml_log_option_diff_minus); options 632 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 1399 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max) options 1424 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) options 1440 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_open)) { options 1443 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); options 1460 lib/common/xml.c } else if (pcmk_any_flags_set(options, options 1480 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1498 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_children)) { options 1506 lib/common/xml.c options|xml_log_option_open|xml_log_option_close); options 1510 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_close)) { options 1513 lib/common/xml.c insert_prefix(options, &buffer, &offset, &max, depth); options 1524 lib/common/xml.c const char *prefix, xmlNode *data, int depth, int options) options 1543 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1553 lib/common/xml.c insert_prefix(options, &spaces, &s_count, &s_max, depth); options 1567 lib/common/xml.c options|xml_log_option_open); options 1605 lib/common/xml.c depth + 1, options); options 1609 lib/common/xml.c options|xml_log_option_close); options 1615 lib/common/xml.c depth + 1, options); options 1625 lib/common/xml.c const char *prefix, xmlNode * data, int depth, int options) options 1646 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_dirty_add)) { options 1648 lib/common/xml.c options); options 1652 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_formatted)) { options 1653 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_plus) options 1655 lib/common/xml.c options |= xml_log_option_diff_all; options 1660 lib/common/xml.c } else if (pcmk_is_set(options, xml_log_option_diff_minus) options 1662 lib/common/xml.c options |= xml_log_option_diff_all; options 1669 lib/common/xml.c if (pcmk_is_set(options, xml_log_option_diff_short) options 1670 lib/common/xml.c && !pcmk_is_set(options, xml_log_option_diff_all)) { options 1674 lib/common/xml.c log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options); options 1678 lib/common/xml.c options|xml_log_option_open|xml_log_option_close options 1685 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max) options 1691 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); options 1697 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1718 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1721 lib/common/xml.c if (options & xml_log_option_filtered) { options 1722 lib/common/xml.c dump_filtered_xml(data, options, buffer, offset, max); options 1728 lib/common/xml.c dump_xml_attr(xIter, options, buffer, offset, max); options 1739 lib/common/xml.c if (options & xml_log_option_formatted) { options 1746 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1); options 1749 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1752 lib/common/xml.c if (options & xml_log_option_formatted) { options 1759 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1775 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1779 lib/common/xml.c if (options & xml_log_option_formatted) { options 1785 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1801 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1807 lib/common/xml.c if (options & xml_log_option_formatted) { options 1813 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth) options 1829 lib/common/xml.c insert_prefix(options, buffer, offset, max, depth); options 1835 lib/common/xml.c if (options & xml_log_option_formatted) { options 1854 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset, options 1863 lib/common/xml.c if (!pcmk_is_set(options, xml_log_option_filtered) options 1864 lib/common/xml.c && pcmk_is_set(options, xml_log_option_full_fledged)) { options 1896 lib/common/xml.c (options & xml_log_option_formatted), NULL); options 1920 lib/common/xml.c dump_xml_element(data, options, buffer, offset, max, depth); options 1924 lib/common/xml.c if (options & xml_log_option_text) { options 1925 lib/common/xml.c dump_xml_text(data, options, buffer, offset, max, depth); options 1929 lib/common/xml.c dump_xml_comment(data, options, buffer, offset, max, depth); options 1932 lib/common/xml.c dump_xml_cdata(data, options, buffer, offset, max, depth); options 341 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, options 365 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); options 372 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) options 374 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, options 435 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t * st, int options, const char *node, options 445 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); options 452 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, options 455 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, options 1658 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, options 1673 lib/fencing/st_client.c if (!(options & st_opt_report_only_success)) { options 1684 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; options 1687 lib/fencing/st_client.c blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE; options 504 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 516 lib/lrmd/lrmd_client.c crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options); options 523 lib/lrmd/lrmd_client.c op, (long)options, options); options 842 lib/lrmd/lrmd_client.c enum lrmd_call_options options, gboolean expect_reply) options 862 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); options 1498 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) options 1518 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); options 1525 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1532 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); options 1585 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1596 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); options 1635 lib/lrmd/lrmd_client.c enum lrmd_call_options options, GList **output) options 1653 lib/lrmd/lrmd_client.c timeout_ms, options, TRUE); options 1753 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 1756 lib/lrmd/lrmd_client.c output, options, NULL); options 1762 lib/lrmd/lrmd_client.c char **output, enum lrmd_call_options options, options 1819 lib/lrmd/lrmd_client.c enum lrmd_call_options options, lrmd_key_value_t * params) options 1838 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 414 lib/pengine/bundle.c if(mount->options) { options 415 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ":%s", mount->options); options 575 lib/pengine/bundle.c if(mount->options) { options 576 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); options 583 lib/pengine/bundle.c if(mount->options) { options 584 lib/pengine/bundle.c offset += snprintf(buffer+offset, max-offset, ",%s", mount->options); options 899 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) options 905 lib/pengine/bundle.c if (options) { options 906 lib/pengine/bundle.c mount->options = strdup(options); options 917 lib/pengine/bundle.c free(mount->options); options 1151 lib/pengine/bundle.c const char *options = crm_element_value(xml_child, "options"); options 1161 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); options 1436 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options, options 1440 lib/pengine/bundle.c if (options & pe_print_html) { options 1443 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); options 1444 lib/pengine/bundle.c if (options & pe_print_html) { options 1464 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 1493 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1494 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1495 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1496 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1507 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1569 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), options, options 1574 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), options, options 1579 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), options, options 1584 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), options, options 1600 lib/pengine/bundle.c pe_node_t *node, long options) options 1623 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, options); options 1630 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1669 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit) || options 1674 lib/pengine/bundle.c unsigned int new_options = options; options 1676 lib/pengine/bundle.c if (!pcmk_is_set(options, pe_print_implicit)) { options 1730 lib/pengine/bundle.c options); options 1742 lib/pengine/bundle.c pe_node_t *node, long options) options 1765 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, options); options 1772 lib/pengine/bundle.c unsigned int options = va_arg(args, unsigned int); options 1810 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit) || options 1815 lib/pengine/bundle.c unsigned int new_options = options; options 1817 lib/pengine/bundle.c if (!pcmk_is_set(options, pe_print_implicit)) { options 1863 lib/pengine/bundle.c options); options 1873 lib/pengine/bundle.c long options, void *print_data) options 1898 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); options 1902 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 1909 lib/pengine/bundle.c if (options & pe_print_xml) { options 1910 lib/pengine/bundle.c bundle_print_xml(rsc, pre_text, options, print_data); options 1925 lib/pengine/bundle.c if (options & pe_print_html) { options 1935 lib/pengine/bundle.c if (options & pe_print_html) { options 1939 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit)) { options 1944 lib/pengine/bundle.c if (options & pe_print_html) { options 1947 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1948 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1949 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1950 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1951 lib/pengine/bundle.c if (options & pe_print_html) { options 1956 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); options 1960 lib/pengine/bundle.c if (options & pe_print_html) { options 1964 lib/pengine/bundle.c if (options & pe_print_html) { options 260 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data) options 267 lib/pengine/clone.c if (options & pe_print_html) { options 272 lib/pengine/clone.c if (options & pe_print_html) { options 275 lib/pengine/clone.c } else if (options & pe_print_suppres_nl) { options 277 lib/pengine/clone.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 309 lib/pengine/clone.c clone_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 332 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 370 lib/pengine/clone.c clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 389 lib/pengine/clone.c if (options & pe_print_xml) { options 390 lib/pengine/clone.c clone_print_xml(rsc, pre_text, options, print_data); options 404 lib/pengine/clone.c if (options & pe_print_html) { options 407 lib/pengine/clone.c } else if ((options & pe_print_log) == 0) { options 416 lib/pengine/clone.c if (options & pe_print_clone_details) { options 428 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 437 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 479 lib/pengine/clone.c if (options & pe_print_html) { options 482 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 483 lib/pengine/clone.c if (options & pe_print_html) { options 498 lib/pengine/clone.c short_print(list_text, child_text, "Masters", NULL, options, print_data); options 517 lib/pengine/clone.c short_print(list_text, child_text, "Slaves (target-role)", NULL, options, print_data); options 519 lib/pengine/clone.c short_print(list_text, child_text, "Slaves", NULL, options, print_data); options 523 lib/pengine/clone.c short_print(list_text, child_text, "Started", NULL, options, print_data); options 531 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 569 lib/pengine/clone.c short_print(stopped_list, child_text, state, NULL, options, print_data); options 573 lib/pengine/clone.c if (options & pe_print_html) { options 584 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 627 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 642 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 691 lib/pengine/clone.c if (options & pe_print_clone_details) { options 703 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 712 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 758 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 764 lib/pengine/clone.c if (pcmk_is_set(options, pe_print_clone_details)) { options 824 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 879 lib/pengine/clone.c unsigned int options = va_arg(args, unsigned int); options 928 lib/pengine/clone.c if (options & pe_print_clone_details) { options 940 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 949 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 995 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), options, options 1001 lib/pengine/clone.c if (pcmk_is_set(options, pe_print_clone_details)) { options 1059 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 306 lib/pengine/common.c verify_pe_options(GHashTable * options) options 308 lib/pengine/common.c pcmk__validate_cluster_options(options, pe_opts, DIMOF(pe_opts)); options 312 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) options 314 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, DIMOF(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 383 lib/pengine/native.c long options; options 390 lib/pengine/native.c long options = ((struct print_data_s *)user_data)->options; options 460 lib/pengine/native.c native_displayable_state(pe_resource_t *rsc, long options) options 464 lib/pengine/native.c if (options & pe_print_pending) { options 474 lib/pengine/native.c native_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 478 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, options); options 504 lib/pengine/native.c if (options & pe_print_pending) { options 512 lib/pengine/native.c if (options & pe_print_dev) { options 521 lib/pengine/native.c if (options & pe_print_rsconly) { options 575 lib/pengine/native.c long options, const char *target_role, bool show_nodes) options 595 lib/pengine/native.c if (pcmk_is_set(options, pe_print_rsconly) options 627 lib/pengine/native.c g_string_append_printf(outstr, " %s", native_displayable_state(rsc, options)); options 640 lib/pengine/native.c if (pcmk_is_set(options, pe_print_pending)) { options 671 lib/pengine/native.c if (pcmk_is_set(options, pe_print_dev)) { options 672 lib/pengine/native.c if (pcmk_is_set(options, pe_rsc_provisional)) { options 675 lib/pengine/native.c if (!pcmk_is_set(options, pe_rsc_runnable)) { options 688 lib/pengine/native.c if (pcmk_is_set(options, pe_print_rsconly) options 697 lib/pengine/native.c if (show_nodes && !pcmk_is_set(options, pe_print_rsconly) options 718 lib/pengine/native.c const char *name, pe_node_t *node, long options) options 733 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 761 lib/pengine/native.c gchar *s = native_output_string(rsc, name, node, options, target_role, options 769 lib/pengine/native.c if (pcmk_is_set(options, pe_print_details)) { options 781 lib/pengine/native.c if (pcmk_is_set(options, pe_print_dev)) { options 793 lib/pengine/native.c if (pcmk_is_set(options, pe_print_max_details)) { options 810 lib/pengine/native.c const char *name, pe_node_t *node, long options) options 820 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 829 lib/pengine/native.c gchar *s = native_output_string(rsc, name, node, options, target_role, options 836 lib/pengine/native.c if (pcmk_is_set(options, pe_print_details)) { options 848 lib/pengine/native.c if (pcmk_is_set(options, pe_print_dev)) { options 860 lib/pengine/native.c if (pcmk_is_set(options, pe_print_max_details)) { options 876 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 887 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 895 lib/pengine/native.c if (options & pe_print_xml) { options 896 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 900 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { options 904 lib/pengine/native.c if (options & pe_print_html) { options 926 lib/pengine/native.c gchar *resource_s = native_output_string(rsc, name, node, options, options 933 lib/pengine/native.c if (pcmk_is_set(options, pe_print_ncurses) options 934 lib/pengine/native.c && !pcmk_is_set(options, pe_print_rsconly) options 941 lib/pengine/native.c if (pcmk_is_set(options, pe_print_html)) { options 945 lib/pengine/native.c if (!pcmk_is_set(options, pe_print_rsconly) options 951 lib/pengine/native.c if (options & pe_print_html) { options 953 lib/pengine/native.c } else if ((options & pe_print_printf) options 954 lib/pengine/native.c || (options & pe_print_ncurses)) { options 963 lib/pengine/native.c if (options & pe_print_html) { options 966 lib/pengine/native.c } else if ((options & pe_print_printf) options 967 lib/pengine/native.c || (options & pe_print_ncurses)) { options 970 lib/pengine/native.c } else if ((options & pe_print_log)) { options 976 lib/pengine/native.c if (options & pe_print_html) { options 982 lib/pengine/native.c if (options & pe_print_html) { options 984 lib/pengine/native.c } else if ((options & pe_print_printf) options 985 lib/pengine/native.c || (options & pe_print_ncurses)) { options 990 lib/pengine/native.c if (options & pe_print_html) { options 992 lib/pengine/native.c } else if (options & pe_print_suppres_nl) { options 994 lib/pengine/native.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 998 lib/pengine/native.c if (options & pe_print_details) { options 1001 lib/pengine/native.c pdata.options = options; options 1006 lib/pengine/native.c if (options & pe_print_dev) { options 1017 lib/pengine/native.c if (options & pe_print_max_details) { options 1030 lib/pengine/native.c native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data) options 1035 lib/pengine/native.c if (options & pe_print_xml) { options 1036 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 1047 lib/pengine/native.c common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data); options 1054 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 1061 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, options); options 1063 lib/pengine/native.c long is_print_pending = options & pe_print_pending; options 1064 lib/pengine/native.c long is_print_dev = options & pe_print_dev; options 1133 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 1150 lib/pengine/native.c return pe__common_output_html(out, rsc, rsc_printable_id(rsc), node, options); options 1157 lib/pengine/native.c unsigned int options = va_arg(args, unsigned int); options 1174 lib/pengine/native.c return pe__common_output_text(out, rsc, rsc_printable_id(rsc), node, options); options 1334 lib/pengine/native.c print_rscs_brief(GListPtr rsc_list, const char *pre_text, long options, options 1364 lib/pengine/native.c if (options & pe_print_rsconly) { options 1368 lib/pengine/native.c if (options & pe_print_html) { options 1383 lib/pengine/native.c if (options & pe_print_html) { options 1389 lib/pengine/native.c if (options & pe_print_html) { options 1397 lib/pengine/native.c if (options & pe_print_html) { options 1414 lib/pengine/native.c pe__rscs_brief_output(pcmk__output_t *out, GListPtr rsc_list, long options, gboolean print_all) options 1450 lib/pengine/native.c if (options & pe_print_rsconly) { options 26 lib/pengine/pe_status_private.h if(options & pe_print_html) { \ options 29 lib/pengine/pe_status_private.h } else if(options & pe_print_ncurses) { \ options 31 lib/pengine/pe_status_private.h } else if(options & pe_print_printf) { \ options 34 lib/pengine/pe_status_private.h } else if(options & pe_print_xml) { \ options 37 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 39 tools/crm_diff.c } options; options 46 tools/crm_diff.c { "original", 'o', 0, G_OPTION_ARG_STRING, &options.xml_file_1, options 57 tools/crm_diff.c { "new", 'n', 0, G_OPTION_ARG_STRING, &options.xml_file_2, options 71 tools/crm_diff.c { "cib", 'c', 0, G_OPTION_ARG_NONE, &options.as_cib, options 74 tools/crm_diff.c { "stdin", 's', 0, G_OPTION_ARG_NONE, &options.use_stdin, options 77 tools/crm_diff.c { "no-version", 'u', 0, G_OPTION_ARG_NONE, &options.no_version, options 86 tools/crm_diff.c options.raw_2 = TRUE; options 88 tools/crm_diff.c if (options.xml_file_2 != NULL) { options 89 tools/crm_diff.c free(options.xml_file_2); options 92 tools/crm_diff.c options.xml_file_2 = strdup(optarg); options 98 tools/crm_diff.c options.raw_1 = TRUE; options 100 tools/crm_diff.c if (options.xml_file_1 != NULL) { options 101 tools/crm_diff.c free(options.xml_file_1); options 104 tools/crm_diff.c options.xml_file_1 = strdup(optarg); options 110 tools/crm_diff.c options.apply = TRUE; options 112 tools/crm_diff.c if (options.xml_file_2 != NULL) { options 113 tools/crm_diff.c free(options.xml_file_2); options 116 tools/crm_diff.c options.xml_file_2 = strdup(optarg); options 343 tools/crm_diff.c if (options.apply && options.no_version) { options 345 tools/crm_diff.c } else if (options.as_cib && options.no_version) { options 351 tools/crm_diff.c if (options.raw_1) { options 352 tools/crm_diff.c object_1 = string2xml(options.xml_file_1); options 354 tools/crm_diff.c } else if (options.use_stdin) { options 358 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { options 359 tools/crm_diff.c object_1 = filename2xml(options.xml_file_1); options 362 tools/crm_diff.c if (options.raw_2) { options 363 tools/crm_diff.c object_2 = string2xml(options.xml_file_2); options 365 tools/crm_diff.c } else if (options.use_stdin) { options 369 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { options 370 tools/crm_diff.c object_2 = filename2xml(options.xml_file_2); options 384 tools/crm_diff.c if (options.apply) { options 385 tools/crm_diff.c rc = apply_patch(object_1, object_2, options.as_cib); options 387 tools/crm_diff.c rc = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version); options 394 tools/crm_diff.c free(options.xml_file_1); options 395 tools/crm_diff.c free(options.xml_file_2); options 23 tools/crm_error.c } options; options 26 tools/crm_error.c { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name, options 30 tools/crm_error.c { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list, options 33 tools/crm_error.c { "exit", 'X', 0, G_OPTION_ARG_NONE, &options.as_exit_code, options 36 tools/crm_error.c { "rc", 'r', 0, G_OPTION_ARG_NONE, &options.as_rc, options 46 tools/crm_error.c if (options.as_exit_code) { options 49 tools/crm_error.c } else if (options.as_rc) { options 100 tools/crm_error.c if (options.do_list) { options 104 tools/crm_error.c if (options.as_rc) { options 122 tools/crm_error.c } else if(options.with_name) { options 141 tools/crm_error.c if (options.with_name) { options 120 tools/crm_mon.c } options = { options 245 tools/crm_mon.c if (options.neg_location_prefix != NULL) { options 246 tools/crm_mon.c free(options.neg_location_prefix); options 247 tools/crm_mon.c options.neg_location_prefix = NULL; options 251 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); options 311 tools/crm_mon.c options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s); options 319 tools/crm_mon.c options.includes_excludes = g_slist_append(options.includes_excludes, s); options 331 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 364 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 376 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 386 tools/crm_mon.c options.mon_ops |= mon_op_fence_full_history | mon_op_fence_history | mon_op_fence_connect; options 390 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 394 tools/crm_mon.c options.mon_ops |= mon_op_fence_history | mon_op_fence_connect; options 398 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_group_by_node; options 420 tools/crm_mon.c options.mon_ops |= mon_op_inactive_resources; options 432 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 438 tools/crm_mon.c options.mon_ops |= mon_op_print_brief; options 444 tools/crm_mon.c options.mon_ops |= mon_op_print_clone_detail; options 450 tools/crm_mon.c options.mon_ops |= mon_op_print_pending; options 456 tools/crm_mon.c options.mon_ops |= mon_op_print_timing; options 468 tools/crm_mon.c options.reconnect_msec = crm_parse_interval_spec(optarg); options 509 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 515 tools/crm_mon.c options.mon_ops |= mon_op_watch_fencing; options 531 tools/crm_mon.c { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &options.daemonize, options 536 tools/crm_mon.c { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file, options 540 tools/crm_mon.c { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent, options 544 tools/crm_mon.c { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient, options 570 tools/crm_mon.c { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node, options 575 tools/crm_mon.c { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc, options 688 tools/crm_mon.c timer_id = g_timeout_add(options.reconnect_msec, mon_timer_popped, NULL); options 724 tools/crm_mon.c timer_id = g_timeout_add(options.reconnect_msec, mon_timer_popped, NULL); options 785 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) && (st == NULL)) { options 789 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_fence_connect) options 795 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_watch_fencing)) { options 893 tools/crm_mon.c options.mon_ops |= mon_op_fence_history; options 894 tools/crm_mon.c options.mon_ops |= mon_op_fence_connect; options 917 tools/crm_mon.c options.mon_ops ^= mon_op_group_by_node; options 922 tools/crm_mon.c options.mon_ops &= ~mon_op_print_timing; options 926 tools/crm_mon.c options.mon_ops ^= mon_op_inactive_resources; options 929 tools/crm_mon.c options.mon_ops ^= mon_op_print_clone_detail; options 932 tools/crm_mon.c options.mon_ops ^= mon_op_print_timing; options 933 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_print_timing)) { options 958 tools/crm_mon.c options.mon_ops ^= mon_op_print_brief; options 961 tools/crm_mon.c options.mon_ops ^= mon_op_print_pending; options 978 tools/crm_mon.c print_option_help(out, 'n', pcmk_is_set(options.mon_ops, mon_op_group_by_node)); options 980 tools/crm_mon.c print_option_help(out, 'r', pcmk_is_set(options.mon_ops, mon_op_inactive_resources)); options 981 tools/crm_mon.c print_option_help(out, 't', pcmk_is_set(options.mon_ops, mon_op_print_timing)); options 985 tools/crm_mon.c print_option_help(out, 'R', pcmk_is_set(options.mon_ops, mon_op_print_clone_detail)); options 986 tools/crm_mon.c print_option_help(out, 'b', pcmk_is_set(options.mon_ops, mon_op_print_brief)); options 987 tools/crm_mon.c print_option_help(out, 'j', pcmk_is_set(options.mon_ops, mon_op_print_pending)); options 1136 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1137 tools/crm_mon.c } else if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1170 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); options 1178 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1209 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_watch_fencing)) { options 1211 tools/crm_mon.c options.mon_ops |= mon_op_fence_connect; options 1236 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1253 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1258 tools/crm_mon.c } else if (options.daemonize) { options 1264 tools/crm_mon.c if (pcmk__str_eq(args->output_dest, "-", pcmk__str_null_matches | pcmk__str_casei) && !options.external_agent) { options 1275 tools/crm_mon.c pcmk__daemonize(crm_system_name, options.pid_file); options 1290 tools/crm_mon.c options.mon_ops |= mon_op_one_shot; options 1328 tools/crm_mon.c apply_include_exclude(options.includes_excludes, output_format, &error); options 1334 tools/crm_mon.c if (!apply_include_exclude(options.user_includes_excludes, output_format, &error)) { options 1352 tools/crm_mon.c } else if (options.external_agent != NULL) { options 1355 tools/crm_mon.c } else if (options.daemonize == TRUE) { options 1362 tools/crm_mon.c options.mon_ops |= mon_op_print_timing | mon_op_inactive_resources; options 1368 tools/crm_mon.c crm_itoa(options.reconnect_msec/1000), NULL); options 1376 tools/crm_mon.c if (!pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1379 tools/crm_mon.c rc = cib_connect(!pcmk_is_set(options.mon_ops, mon_op_one_shot)); options 1381 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1385 tools/crm_mon.c sleep(options.reconnect_msec / 1000); options 1416 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_one_shot)) { options 1591 tools/crm_mon.c crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent); options 1596 tools/crm_mon.c if (options.external_recipient) { options 1597 tools/crm_mon.c setenv("CRM_notify_recipient", options.external_recipient, 1); options 1612 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); options 1616 tools/crm_mon.c crm_trace("Finished running custom notification program '%s'.", options.external_agent); options 1714 tools/crm_mon.c if (notify && options.external_agent) { options 1905 tools/crm_mon.c if (options.external_agent) { options 1952 tools/crm_mon.c while (pcmk_is_set(options.mon_ops, mon_op_fence_history)) { options 1961 tools/crm_mon.c if (!pcmk_is_set(options.mon_ops, mon_op_fence_full_history) options 1997 tools/crm_mon.c if (print_html_status(out, mon_data_set, stonith_history, options.mon_ops, options 1998 tools/crm_mon.c show, options.neg_location_prefix, options 1999 tools/crm_mon.c options.only_node, options.only_rsc) != 0) { options 2009 tools/crm_mon.c stonith_history, options.mon_ops, show, options 2010 tools/crm_mon.c options.neg_location_prefix, options.only_node, options 2011 tools/crm_mon.c options.only_rsc); options 2015 tools/crm_mon.c print_simple_status(out, mon_data_set, stonith_history, options.mon_ops); options 2016 tools/crm_mon.c if (pcmk_is_set(options.mon_ops, mon_op_has_warnings)) { options 2028 tools/crm_mon.c print_status(out, mon_data_set, stonith_history, options.mon_ops, show, options 2029 tools/crm_mon.c options.neg_location_prefix, options.only_node, options.only_rsc); options 2035 tools/crm_mon.c print_status(out, mon_data_set, stonith_history, options.mon_ops, show, options 2036 tools/crm_mon.c options.neg_location_prefix, options.only_node, options.only_rsc); options 2044 tools/crm_mon.c if (options.daemonize) { options 2060 tools/crm_mon.c } else if (options.external_agent) { options 2088 tools/crm_mon.c if ((now - last_refresh) > (options.reconnect_msec / 1000)) { options 2151 tools/crm_mon.c free(options.pid_file); options 2152 tools/crm_mon.c free(options.neg_location_prefix); options 2153 tools/crm_mon.c g_slist_free_full(options.includes_excludes, free); options 2204 tools/crm_mon.c if (options.daemonize) { options 34 tools/crm_node.c } options = { options 77 tools/crm_node.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag, options 82 tools/crm_node.c { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync, options 95 tools/crm_node.c options.command = 'i'; options 97 tools/crm_node.c options.command = 'l'; options 99 tools/crm_node.c options.command = 'n'; options 101 tools/crm_node.c options.command = 'p'; options 103 tools/crm_node.c options.command = 'q'; options 114 tools/crm_node.c options.command = 'N'; options 115 tools/crm_node.c options.nodeid = crm_parse_int(optarg, NULL); options 127 tools/crm_node.c options.command = 'R'; options 128 tools/crm_node.c options.dangerous_cmd = TRUE; options 129 tools/crm_node.c options.target_uname = strdup(optarg); options 172 tools/crm_node.c switch (options.command) { options 235 tools/crm_node.c if (options.command == 'l') { options 244 tools/crm_node.c if (options.command == 'p') { options 561 tools/crm_node.c if (optind > argc || options.command == 0) { options 570 tools/crm_node.c if (options.dangerous_cmd && options.force_flag == FALSE) { options 578 tools/crm_node.c switch (options.command) { options 583 tools/crm_node.c remove_node(options.target_uname); options 588 tools/crm_node.c run_controller_mainloop(options.nodeid, false); options 101 tools/crm_resource.c } options = { options 112 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 117 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 120 tools/crm_resource.c #define SET_COMMAND(cmd) do { options.rsc_cmd = (cmd); } while (0) options 457 tools/crm_resource.c { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime, options 461 tools/crm_resource.c { "master", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.promoted_role_only, options 540 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, options 543 tools/crm_resource.c { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive, options 546 tools/crm_resource.c { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type, options 549 tools/crm_resource.c { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value, options 560 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, options 563 tools/crm_resource.c { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec, options 566 tools/crm_resource.c { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set, options 569 tools/crm_resource.c { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id, options 576 tools/crm_resource.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 580 tools/crm_resource.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file, options 583 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, options 592 tools/crm_resource.c options.validate_cmdline = TRUE; options 593 tools/crm_resource.c options.require_resource = FALSE; options 596 tools/crm_resource.c if (options.v_provider) { options 597 tools/crm_resource.c free(options.v_provider); options 599 tools/crm_resource.c options.v_provider = strdup(optarg); options 601 tools/crm_resource.c if (options.v_agent) { options 602 tools/crm_resource.c free(options.v_agent); options 604 tools/crm_resource.c options.v_agent = strdup(optarg); options 613 tools/crm_resource.c options.attr_set_type = XML_TAG_META_SETS; options 615 tools/crm_resource.c options.attr_set_type = XML_TAG_UTILIZATION; options 631 tools/crm_resource.c if (options.v_class != NULL) { options 632 tools/crm_resource.c free(options.v_class); options 635 tools/crm_resource.c options.v_class = strdup(optarg); options 638 tools/crm_resource.c options.validate_cmdline = TRUE; options 639 tools/crm_resource.c options.require_resource = FALSE; options 651 tools/crm_resource.c options.require_resource = FALSE; options 653 tools/crm_resource.c options.require_crmd = TRUE; options 655 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 661 tools/crm_resource.c options.require_dataset = FALSE; options 663 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 669 tools/crm_resource.c options.clear_expired = TRUE; options 670 tools/crm_resource.c options.require_resource = FALSE; options 677 tools/crm_resource.c options.require_cib = FALSE; options 678 tools/crm_resource.c options.require_dataset = FALSE; options 679 tools/crm_resource.c options.require_resource = FALSE; options 680 tools/crm_resource.c if (options.agent_spec != NULL) { options 681 tools/crm_resource.c free(options.agent_spec); options 682 tools/crm_resource.c options.agent_spec = NULL; options 685 tools/crm_resource.c options.agent_spec = strdup(optarg); 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 723 tools/crm_resource.c options.require_cib = FALSE; options 724 tools/crm_resource.c options.require_dataset = FALSE; options 725 tools/crm_resource.c options.require_resource = FALSE; options 748 tools/crm_resource.c if (options.validate_options == NULL) { options 749 tools/crm_resource.c options.validate_options = crm_str_table_new(); options 751 tools/crm_resource.c g_hash_table_replace(options.validate_options, name, value); options 757 tools/crm_resource.c options.require_crmd = TRUE; options 765 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 768 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 771 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 774 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 777 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 780 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 783 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 786 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 801 tools/crm_resource.c if (options.prop_name) { options 802 tools/crm_resource.c free(options.prop_name); options 805 tools/crm_resource.c options.prop_name = strdup(optarg); options 806 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 824 tools/crm_resource.c options.require_resource = FALSE; options 836 tools/crm_resource.c if (options.prop_name) { options 837 tools/crm_resource.c free(options.prop_name); options 840 tools/crm_resource.c options.prop_name = strdup(optarg); options 841 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 847 tools/crm_resource.c options.require_dataset = FALSE; options 849 tools/crm_resource.c if (options.prop_name) { options 850 tools/crm_resource.c free(options.prop_name); options 853 tools/crm_resource.c options.prop_name = strdup(optarg); options 855 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 861 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); options 870 tools/crm_resource.c if (options.operation) { options 871 tools/crm_resource.c g_free(options.operation); options 873 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" options 874 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 875 tools/crm_resource.c options.override_params = crm_str_table_new(); options 884 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 891 tools/crm_resource.c options.require_resource = FALSE; options 892 tools/crm_resource.c options.require_dataset = FALSE; options 898 tools/crm_resource.c options.require_resource = FALSE; options 900 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 916 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, options 917 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 935 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, current->details->uname, move_lifetime, NULL, options 936 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 947 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); options 957 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); options 968 tools/crm_resource.c if (options.force == FALSE) { options 973 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 974 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, options 975 tools/crm_resource.c options.interval_spec, TRUE, data_set, options.force); options 1001 tools/crm_resource.c if (options.clear_expired) { options 1002 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, options 1003 tools/crm_resource.c options.rsc_id, options.host_uname, options 1004 tools/crm_resource.c options.promoted_role_only); options 1006 tools/crm_resource.c } else if (options.host_uname) { options 1007 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); options 1015 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, options 1016 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1019 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, options 1020 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1058 tools/crm_resource.c if (options.rsc_type == NULL) { options 1065 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1066 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1069 tools/crm_resource.c options.cib_options); options 1121 tools/crm_resource.c switch (options.rsc_cmd) { options 1222 tools/crm_resource.c if (options.xml_file != NULL) { options 1223 tools/crm_resource.c *cib_xml_copy = filename2xml(options.xml_file); options 1252 tools/crm_resource.c const char *router_node = options.host_uname; options 1255 tools/crm_resource.c if (options.host_uname) { options 1256 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); options 1264 tools/crm_resource.c options.host_uname); options 1274 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); options 1279 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); options 1281 tools/crm_resource.c rc = pcmk__node_attr_request_clear(NULL, options.host_uname, options 1285 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, options 1298 tools/crm_resource.c if (options.force == FALSE) { options 1303 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1304 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, FALSE, options 1305 tools/crm_resource.c data_set, options.force); options 1323 tools/crm_resource.c if (pcmk__str_empty(options.rsc_type)) { options 1329 tools/crm_resource.c } else if (pcmk__str_empty(options.prop_value)) { options 1336 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); options 1338 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1339 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1340 tools/crm_resource.c crm_xml_add(msg_data, options.prop_name, options.prop_value); options 1343 tools/crm_resource.c options.cib_options); options 1391 tools/crm_resource.c if (options.rsc_id != NULL) { options 1396 tools/crm_resource.c } else if (options.rsc_cmd != cmd_execute_agent) { options 1403 tools/crm_resource.c } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) { options 1404 tools/crm_resource.c if (options.v_provider != NULL) { options 1408 tools/crm_resource.c } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) { options 1410 tools/crm_resource.c "%s is not a known stonith agent", options.v_agent ? options.v_agent : ""); options 1413 tools/crm_resource.c } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) { options 1416 tools/crm_resource.c options.v_class ? options.v_class : "", options 1417 tools/crm_resource.c options.v_provider ? options.v_provider : "", options 1418 tools/crm_resource.c options.v_agent ? options.v_agent : ""); options 1422 tools/crm_resource.c if (options.validate_options == NULL) { options 1423 tools/crm_resource.c options.validate_options = crm_str_table_new(); options 1425 tools/crm_resource.c *exit_code = cli_resource_execute_from_params("test", options.v_class, options.v_provider, options.v_agent, options 1426 tools/crm_resource.c "validate-all", options.validate_options, options 1427 tools/crm_resource.c options.override_params, options.timeout_ms, options 1428 tools/crm_resource.c options.resource_verbose, options.force); options 1440 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, options 1443 tools/crm_resource.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 1525 tools/crm_resource.c options.resource_verbose = args->verbosity; options 1530 tools/crm_resource.c if (options.host_uname) { options 1531 tools/crm_resource.c crm_trace("Option host => %s", options.host_uname); options 1535 tools/crm_resource.c if (options.rsc_cmd == cmd_none) { options 1536 tools/crm_resource.c options.rsc_cmd = cmd_list_resources; options 1537 tools/crm_resource.c options.require_resource = FALSE; options 1541 tools/crm_resource.c if (options.clear_expired && (options.rsc_cmd != cmd_clear)) { options 1546 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { options 1548 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1554 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); options 1566 tools/crm_resource.c } else if (options.remainder != NULL) { options 1572 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1581 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1612 tools/crm_resource.c if (options.validate_cmdline) { options 1615 tools/crm_resource.c } else if (options.validate_options != NULL) { options 1617 tools/crm_resource.c g_hash_table_destroy(options.validate_options); options 1618 tools/crm_resource.c options.validate_options = NULL; options 1626 tools/crm_resource.c if (options.force) { options 1628 tools/crm_resource.c cib__set_call_options(options.cib_options, crm_system_name, options 1632 tools/crm_resource.c if (options.require_resource && !options.rsc_id) { options 1639 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1640 tools/crm_resource.c options.require_dataset = TRUE; options 1644 tools/crm_resource.c if (options.require_cib) { options 1662 tools/crm_resource.c if (options.require_dataset) { options 1670 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1671 tools/crm_resource.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 1672 tools/crm_resource.c options.find_flags); options 1676 tools/crm_resource.c "Resource '%s' not found", options.rsc_id); options 1682 tools/crm_resource.c if (options.require_crmd) { options 1698 tools/crm_resource.c switch (options.rsc_cmd) { options 1711 tools/crm_resource.c rc = list_providers(options.agent_spec, &exit_code); options 1715 tools/crm_resource.c rc = list_agents(options.agent_spec, &exit_code); options 1719 tools/crm_resource.c rc = show_metadata(options.agent_spec, &exit_code); options 1728 tools/crm_resource.c rc = cli_resource_restart(rsc, options.host_uname, options 1729 tools/crm_resource.c options.move_lifetime, options.timeout_ms, options 1730 tools/crm_resource.c cib_conn, options.cib_options, options 1731 tools/crm_resource.c options.promoted_role_only, options 1732 tools/crm_resource.c options.force); options 1736 tools/crm_resource.c rc = wait_till_stable(options.timeout_ms, cib_conn); options 1740 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, options 1741 tools/crm_resource.c options.operation, options 1742 tools/crm_resource.c options.override_params, options 1743 tools/crm_resource.c options.timeout_ms, cib_conn, options 1744 tools/crm_resource.c data_set, options.resource_verbose, options 1745 tools/crm_resource.c options.force); options 1768 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, options 1769 tools/crm_resource.c options.rsc_id, data_set); options 1776 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1777 tools/crm_resource.c options.host_uname, TRUE, options 1782 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1783 tools/crm_resource.c options.host_uname, FALSE, options 1788 tools/crm_resource.c cli_resource_search(rsc, options.rsc_id, data_set); options 1804 tools/crm_resource.c if (options.host_uname) { options 1805 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); options 1821 tools/crm_resource.c if (options.host_uname == NULL) { options 1822 tools/crm_resource.c rc = ban_or_move(rsc, options.move_lifetime, &exit_code); options 1824 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, options 1825 tools/crm_resource.c options.move_lifetime, cib_conn, options 1826 tools/crm_resource.c options.cib_options, data_set, options 1827 tools/crm_resource.c options.promoted_role_only, options 1828 tools/crm_resource.c options.force); options 1833 tools/crm_resource.c if (options.host_uname == NULL) { options 1834 tools/crm_resource.c rc = ban_or_move(rsc, options.move_lifetime, &exit_code); options 1837 tools/crm_resource.c options.host_uname); options 1843 tools/crm_resource.c rc = cli_resource_ban(options.rsc_id, dest->details->uname, options 1844 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, options 1845 tools/crm_resource.c options.cib_options, options 1846 tools/crm_resource.c options.promoted_role_only); options 1851 tools/crm_resource.c rc = cli_resource_print_property(rsc, options.prop_name, data_set); options 1859 tools/crm_resource.c rc = cli_resource_print_attribute(rsc, options.prop_name, options 1860 tools/crm_resource.c options.attr_set_type, data_set); options 1864 tools/crm_resource.c if (pcmk__str_empty(options.prop_value)) { options 1872 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, options 1873 tools/crm_resource.c options.prop_set, options 1874 tools/crm_resource.c options.attr_set_type, options 1875 tools/crm_resource.c options.prop_id, options 1876 tools/crm_resource.c options.prop_name, options 1877 tools/crm_resource.c options.prop_value, options 1878 tools/crm_resource.c options.recursive, cib_conn, options 1879 tools/crm_resource.c options.cib_options, data_set, options 1880 tools/crm_resource.c options.force); options 1885 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, options 1886 tools/crm_resource.c options.prop_set, options 1887 tools/crm_resource.c options.attr_set_type, options 1888 tools/crm_resource.c options.prop_id, options 1889 tools/crm_resource.c options.prop_name, cib_conn, options 1890 tools/crm_resource.c options.cib_options, data_set, options 1891 tools/crm_resource.c options.force); options 1896 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, options 1897 tools/crm_resource.c options.operation, options.interval_spec, options 1921 tools/crm_resource.c "Unimplemented command: %d", (int) options.rsc_cmd); options 1947 tools/crm_resource.c g_free(options.host_uname); options 1948 tools/crm_resource.c g_free(options.interval_spec); options 1949 tools/crm_resource.c g_free(options.move_lifetime); options 1950 tools/crm_resource.c g_free(options.operation); options 1951 tools/crm_resource.c g_free(options.prop_id); options 1952 tools/crm_resource.c free(options.prop_name); options 1953 tools/crm_resource.c g_free(options.prop_set); options 1954 tools/crm_resource.c g_free(options.prop_value); options 1955 tools/crm_resource.c g_free(options.rsc_id); options 1956 tools/crm_resource.c g_free(options.rsc_type); options 1957 tools/crm_resource.c free(options.agent_spec); options 1958 tools/crm_resource.c free(options.v_agent); options 1959 tools/crm_resource.c free(options.v_class); options 1960 tools/crm_resource.c free(options.v_provider); options 1961 tools/crm_resource.c g_free(options.xml_file); options 1962 tools/crm_resource.c g_strfreev(options.remainder); options 1964 tools/crm_resource.c if (options.override_params != NULL) { options 1965 tools/crm_resource.c g_hash_table_destroy(options.override_params); options 34 tools/crm_rule.c } options = { options 51 tools/crm_rule.c { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml, options 59 tools/crm_rule.c { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date, options 62 tools/crm_rule.c { "rule", 'r', 0, G_OPTION_ARG_STRING, &options.rule, options 72 tools/crm_rule.c options.mode = crm_rule_mode_check; options 252 tools/crm_rule.c switch(options.mode) { options 254 tools/crm_rule.c if (options.rule == NULL) { options 270 tools/crm_rule.c rule_date = crm_time_new(options.date); options 280 tools/crm_rule.c if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) { options 288 tools/crm_rule.c } else if (options.input_xml != NULL) { options 289 tools/crm_rule.c input = string2xml(options.input_xml); options 292 tools/crm_rule.c CMD_ERR("Couldn't parse input string: %s\n", options.input_xml); options 335 tools/crm_rule.c switch(options.mode) { options 337 tools/crm_rule.c rc = crm_rule_check(data_set, options.rule, rule_date); options 62 tools/crm_simulate.c } options = { options 83 tools/crm_simulate.c options.store = TRUE; options 84 tools/crm_simulate.c options.process = TRUE; options 85 tools/crm_simulate.c options.simulate = TRUE; options 91 tools/crm_simulate.c if (options.xml_file) { options 92 tools/crm_simulate.c free(options.xml_file); options 95 tools/crm_simulate.c options.xml_file = NULL; options 101 tools/crm_simulate.c options.modified++; options 102 tools/crm_simulate.c options.node_down = g_list_append(options.node_down, (gchar *) g_strdup(optarg)); options 108 tools/crm_simulate.c options.modified++; options 109 tools/crm_simulate.c options.node_fail = g_list_append(options.node_fail, (gchar *) g_strdup(optarg)); options 115 tools/crm_simulate.c options.modified++; options 117 tools/crm_simulate.c options.node_up = g_list_append(options.node_up, (gchar *) g_strdup(optarg)); options 123 tools/crm_simulate.c options.process = TRUE; options 124 tools/crm_simulate.c options.simulate = TRUE; options 125 tools/crm_simulate.c options.op_fail = g_list_append(options.op_fail, (gchar *) g_strdup(optarg)); options 131 tools/crm_simulate.c options.modified++; options 132 tools/crm_simulate.c options.op_inject = g_list_append(options.op_inject, (gchar *) g_strdup(optarg)); options 138 tools/crm_simulate.c if (options.quorum) { options 139 tools/crm_simulate.c free(options.quorum); options 142 tools/crm_simulate.c options.modified++; options 143 tools/crm_simulate.c options.quorum = strdup(optarg); options 149 tools/crm_simulate.c if (options.dot_file) { options 150 tools/crm_simulate.c free(options.dot_file); options 153 tools/crm_simulate.c options.process = TRUE; options 154 tools/crm_simulate.c options.dot_file = strdup(optarg); options 160 tools/crm_simulate.c if (options.graph_file) { options 161 tools/crm_simulate.c free(options.graph_file); options 164 tools/crm_simulate.c options.process = TRUE; options 165 tools/crm_simulate.c options.graph_file = strdup(optarg); options 171 tools/crm_simulate.c options.process = TRUE; options 178 tools/crm_simulate.c options.process = TRUE; options 179 tools/crm_simulate.c options.simulate = TRUE; options 185 tools/crm_simulate.c options.modified++; options 186 tools/crm_simulate.c options.ticket_activate = g_list_append(options.ticket_activate, (gchar *) g_strdup(optarg)); options 192 tools/crm_simulate.c options.modified++; options 193 tools/crm_simulate.c options.ticket_grant = g_list_append(options.ticket_grant, (gchar *) g_strdup(optarg)); options 199 tools/crm_simulate.c options.modified++; options 200 tools/crm_simulate.c options.ticket_revoke = g_list_append(options.ticket_revoke, (gchar *) g_strdup(optarg)); options 206 tools/crm_simulate.c options.modified++; options 207 tools/crm_simulate.c options.ticket_standby = g_list_append(options.ticket_standby, (gchar *) g_strdup(optarg)); options 213 tools/crm_simulate.c options.process = TRUE; options 220 tools/crm_simulate.c if (options.watchdog) { options 221 tools/crm_simulate.c free(options.watchdog); options 224 tools/crm_simulate.c options.modified++; options 225 tools/crm_simulate.c options.watchdog = strdup(optarg); options 231 tools/crm_simulate.c if (options.xml_file) { options 232 tools/crm_simulate.c free(options.xml_file); options 235 tools/crm_simulate.c options.xml_file = strdup(optarg); options 241 tools/crm_simulate.c if (options.xml_file) { options 242 tools/crm_simulate.c free(options.xml_file); options 245 tools/crm_simulate.c options.xml_file = strdup("-"); options 250 tools/crm_simulate.c { "run", 'R', 0, G_OPTION_ARG_NONE, &options.process, options 265 tools/crm_simulate.c { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir, options 268 tools/crm_simulate.c { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat, options 271 tools/crm_simulate.c { "pending", 'j', 0, G_OPTION_ARG_NONE, &options.print_pending, options 298 tools/crm_simulate.c { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date, options 324 tools/crm_simulate.c { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file, options 327 tools/crm_simulate.c { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file, options 336 tools/crm_simulate.c { "all-actions", 'a', 0, G_OPTION_ARG_NONE, &options.all_actions, options 387 tools/crm_simulate.c print_cluster_status(pe_working_set_t * data_set, long options) options 513 tools/crm_simulate.c rsc->fns->print(rsc, NULL, pe_print_printf | options, stdout); options 910 tools/crm_simulate.c options.xml_file = strdup("-"); options 957 tools/crm_simulate.c if (options.test_dir != NULL) { options 958 tools/crm_simulate.c profile_all(options.test_dir, options.repeat, data_set, options.use_date); options 963 tools/crm_simulate.c rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error); options 986 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 987 tools/crm_simulate.c if(options.xml_file) { options 994 tools/crm_simulate.c int opts = options.print_pending ? pe_print_pending : 0; options 1013 tools/crm_simulate.c if (options.modified) { options 1015 tools/crm_simulate.c modify_configuration(data_set, global_cib, options.quorum, options.watchdog, options.node_up, options 1016 tools/crm_simulate.c options.node_down, options.node_fail, options.op_inject, options 1017 tools/crm_simulate.c options.ticket_grant, options.ticket_revoke, options.ticket_standby, options 1018 tools/crm_simulate.c options.ticket_activate); options 1030 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 1032 tools/crm_simulate.c if(options.xml_file) { options 1039 tools/crm_simulate.c if (options.input_file != NULL) { options 1040 tools/crm_simulate.c rc = write_xml_file(input, options.input_file, FALSE); options 1044 tools/crm_simulate.c "Could not create '%s': %s", options.input_file, pcmk_rc_str(rc)); options 1049 tools/crm_simulate.c if (options.process || options.simulate) { options 1063 tools/crm_simulate.c if (options.graph_file != NULL) { options 1064 tools/crm_simulate.c write_xml_file(data_set->graph, options.graph_file, FALSE); options 1067 tools/crm_simulate.c if (options.dot_file != NULL) { options 1068 tools/crm_simulate.c if (!create_dotfile(data_set, options.dot_file, options.all_actions, &error)) { options 1077 tools/crm_simulate.c || options.modified ? "\n" : ""); options 1091 tools/crm_simulate.c if (options.simulate) { options 1092 tools/crm_simulate.c if (run_simulation(data_set, global_cib, options.op_fail, quiet) != pcmk_rc_ok) { options 1096 tools/crm_simulate.c get_date(data_set, true, options.use_date); options 1112 tools/crm_simulate.c free(options.dot_file); options 1113 tools/crm_simulate.c free(options.graph_file); options 1114 tools/crm_simulate.c g_free(options.input_file); options 1115 tools/crm_simulate.c g_list_free_full(options.node_up, g_free); options 1116 tools/crm_simulate.c g_list_free_full(options.node_down, g_free); options 1117 tools/crm_simulate.c g_list_free_full(options.node_fail, g_free); options 1118 tools/crm_simulate.c g_list_free_full(options.op_fail, g_free); options 1119 tools/crm_simulate.c g_list_free_full(options.op_inject, g_free); options 1120 tools/crm_simulate.c g_free(options.output_file); options 1121 tools/crm_simulate.c free(options.quorum); options 1122 tools/crm_simulate.c g_free(options.test_dir); options 1123 tools/crm_simulate.c g_list_free_full(options.ticket_grant, g_free); options 1124 tools/crm_simulate.c g_list_free_full(options.ticket_revoke, g_free); options 1125 tools/crm_simulate.c g_list_free_full(options.ticket_standby, g_free); options 1126 tools/crm_simulate.c g_list_free_full(options.ticket_activate, g_free); options 1127 tools/crm_simulate.c free(options.use_date); options 1128 tools/crm_simulate.c free(options.watchdog); options 1129 tools/crm_simulate.c free(options.xml_file); options 199 tools/crm_verify.c int options = cib_scope_local | cib_sync_call; options 202 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); options 67 tools/crmadmin.c } options; options 103 tools/crmadmin.c { "health", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.health, options 112 tools/crmadmin.c { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout, options 371 tools/crmadmin.c { "quiet", 'q', 0, G_OPTION_ARG_NONE, &options.quiet, options 429 tools/crmadmin.c if (options.timeout) { options 430 tools/crmadmin.c message_timeout_ms = (guint) options.timeout; options 436 tools/crmadmin.c if (options.quiet) { options 440 tools/crmadmin.c if (options.health) { 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 252 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); options 261 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); options 267 tools/stonith_admin.c options.tolerance = crm_get_msec(optarg) / 1000; options 288 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); options 388 tools/stonith_admin.c if (options.validate_cfg) { options 394 tools/stonith_admin.c if (options.installed) { options 399 tools/stonith_admin.c if (options.registered) { options 403 tools/stonith_admin.c if (options.register_dev != NULL) { options 406 tools/stonith_admin.c device = options.register_dev; options 409 tools/stonith_admin.c if (options.query != NULL) { options 411 tools/stonith_admin.c device = options.query; options 414 tools/stonith_admin.c if (options.unregister_dev != NULL) { options 416 tools/stonith_admin.c device = options.unregister_dev; options 419 tools/stonith_admin.c if (options.targets != NULL) { options 421 tools/stonith_admin.c device = options.targets; options 424 tools/stonith_admin.c if (options.terminate != NULL) { options 426 tools/stonith_admin.c target = options.terminate; options 429 tools/stonith_admin.c if (options.metadata) { options 435 tools/stonith_admin.c if (options.reboot_host != NULL) { options 438 tools/stonith_admin.c target = options.reboot_host; options 442 tools/stonith_admin.c if (options.fence_host != NULL) { options 445 tools/stonith_admin.c target = options.fence_host; options 449 tools/stonith_admin.c if (options.unfence_host != NULL) { options 452 tools/stonith_admin.c target = options.unfence_host; options 456 tools/stonith_admin.c if (options.confirm_host != NULL) { options 458 tools/stonith_admin.c target = options.confirm_host; options 462 tools/stonith_admin.c if (options.last_fenced != NULL) { options 464 tools/stonith_admin.c target = options.last_fenced; options 467 tools/stonith_admin.c if (options.history != NULL) { options 469 tools/stonith_admin.c target = options.history; options 472 tools/stonith_admin.c if (options.register_level != NULL) { options 474 tools/stonith_admin.c target = options.register_level; options 477 tools/stonith_admin.c if (options.unregister_level != NULL) { options 479 tools/stonith_admin.c target = options.unregister_level; options 491 tools/stonith_admin.c if (required_agent && options.agent == NULL) { options 517 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); options 525 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); options 533 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); options 535 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); options 541 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); options 549 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, options 550 tools/stonith_admin.c options.params); options 560 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); options 564 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); options 568 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); options 581 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000, options 582 tools/stonith_admin.c options.tolerance*1000, options.delay); options 586 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000, options 587 tools/stonith_admin.c options.tolerance*1000, options.delay); options 591 tools/stonith_admin.c rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000, options 592 tools/stonith_admin.c options.tolerance*1000, options.delay); options 596 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); options 600 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, options 601 tools/stonith_admin.c options.broadcast, options.cleanup); options 605 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; options 606 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, options 607 tools/stonith_admin.c options.timeout*1000); options 624 tools/stonith_admin.c stonith_key_value_freeall(options.params, 1, 1);