options           111 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output)
options           114 daemons/based/based_common.c     if ((options & cib_no_children)
options           122 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output)
options           130 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output)
options           137 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output)
options           300 daemons/based/based_common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output)
options           303 daemons/based/based_common.c     return cib_server_ops[call_type].cleanup(options, input, output);
options            52 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req,
options            76 daemons/based/based_messages.c cib_process_default(const char *op, int options, const char *section, xmlNode * req,
options           100 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req,
options           155 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           203 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           210 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           224 daemons/based/based_messages.c             op, options, section, req, input, existing_cib, result_cib, answer);
options           258 daemons/based/based_messages.c                     op, options, section, up, input, existing_cib, result_cib, answer);
options           302 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req,
options           310 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req,
options           344 daemons/based/based_messages.c     rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer);
options           354 daemons/based/based_messages.c         if (options & cib_force_diff) {
options           371 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req,
options           377 daemons/based/based_messages.c         cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer);
options           444 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req,
options            42 daemons/based/based_notify.c static void do_cib_notify(int options, const char *op, xmlNode *update,
options           137 daemons/based/based_notify.c cib_diff_notify(int options, const char *client, const char *call_id, const char *op,
options           175 daemons/based/based_notify.c     do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY);
options           179 daemons/based/based_notify.c do_cib_notify(int options, const char *op, xmlNode * update,
options           101 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section,
options           105 daemons/based/pacemaker-based.h int cib_process_default(const char *op, int options, const char *section,
options           108 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section,
options           111 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section,
options           114 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section,
options           117 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section,
options           120 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section,
options           123 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section,
options           126 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options,
options           130 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section,
options           143 daemons/based/pacemaker-based.h int cib_op_cleanup(int call_type, int options, xmlNode **input,
options           147 daemons/based/pacemaker-based.h void cib_diff_notify(int options, const char *client, const char *call_id,
options           228 daemons/controld/controld_based.c                            int options)
options           266 daemons/controld/controld_based.c         cib__set_call_options(options, "node state deletion",
options           268 daemons/controld/controld_based.c         call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options);
options           666 daemons/controld/controld_control.c verify_crmd_options(GHashTable * options)
options           668 daemons/controld/controld_control.c     pcmk__validate_cluster_options(options, crmd_opts, PCMK__NELEM(crmd_opts));
options           672 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name)
options           674 daemons/controld/controld_control.c     return pcmk__cluster_option(options, crmd_opts, PCMK__NELEM(crmd_opts),
options           609 daemons/controld/controld_execd_state.c                        const char *agent, char **output, enum lrmd_call_options options)
options           635 daemons/controld/controld_execd_state.c             class, provider, agent, output, options, params);
options           656 daemons/controld/controld_execd_state.c lrm_state_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id, enum lrmd_call_options options)
options           670 daemons/controld/controld_execd_state.c         rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options);
options           739 daemons/controld/controld_execd_state.c                        const char *provider, const char *agent, enum lrmd_call_options options)
options           755 daemons/controld/controld_execd_state.c                                     agent, options);
options           760 daemons/controld/controld_execd_state.c                          const char *rsc_id, enum lrmd_call_options options)
options           778 daemons/controld/controld_execd_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options);
options           829 daemons/controld/controld_fencing.c     uint32_t options = st_opt_none; // Group of enum stonith_call_options
options           834 daemons/controld/controld_fencing.c         stonith__set_call_options(options, target, st_opt_allow_suicide);
options           837 daemons/controld/controld_fencing.c     return stonith_api->cmds->fence_with_delay(stonith_api, options, target,
options           149 daemons/controld/controld_lrm.h                            const char *agent, char **output, enum lrmd_call_options options);
options           158 daemons/controld/controld_lrm.h                                         const char *rsc_id, enum lrmd_call_options options);
options           162 daemons/controld/controld_lrm.h                            const char *provider, const char *agent, enum lrmd_call_options options);
options           164 daemons/controld/controld_lrm.h                              const char *rsc_id, enum lrmd_call_options options);
options            22 daemons/controld/controld_utils.h #  define fsa_cib_update(section, data, options, call_id, user_name)	\
options            26 daemons/controld/controld_utils.h 		NULL, options, user_name);				\
options           111 daemons/controld/controld_utils.h                                 enum controld_section_e section, int options);
options           148 daemons/execd/cts-exec-helper.c } options;
options           163 daemons/execd/cts-exec-helper.c     if (!options.quiet) {    \
options           187 daemons/execd/cts-exec-helper.c     if (options.listen) {
options           188 daemons/execd/cts-exec-helper.c         if (pcmk__str_eq(options.listen, event_buf_v0, pcmk__str_casei)) {
options           204 daemons/execd/cts-exec-helper.c         if (!options.listen) {
options           265 daemons/execd/cts-exec-helper.c     if (!options.no_connect) {
options           274 daemons/execd/cts-exec-helper.c     if (options.timeout) {
options           275 daemons/execd/cts-exec-helper.c         g_timeout_add(options.timeout, timeout_err, NULL);
options           278 daemons/execd/cts-exec-helper.c     if (!options.api_call) {
options           282 daemons/execd/cts-exec-helper.c     if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) {
options           284 daemons/execd/cts-exec-helper.c                                    options.rsc_id,
options           285 daemons/execd/cts-exec-helper.c                                    options.action,
options           287 daemons/execd/cts-exec-helper.c                                    options.interval_ms,
options           288 daemons/execd/cts-exec-helper.c                                    options.timeout,
options           289 daemons/execd/cts-exec-helper.c                                    options.start_delay, exec_call_opts, options.params);
options           296 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "register_rsc", pcmk__str_casei)) {
options           298 daemons/execd/cts-exec-helper.c                                            options.rsc_id,
options           299 daemons/execd/cts-exec-helper.c                                            options.class, options.provider, options.type, 0);
options           300 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "get_rsc_info", pcmk__str_casei)) {
options           303 daemons/execd/cts-exec-helper.c         rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0);
options           315 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "unregister_rsc", pcmk__str_casei)) {
options           316 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0);
options           317 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) {
options           318 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action,
options           319 daemons/execd/cts-exec-helper.c                                      options.interval_ms);
options           320 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) {
options           324 daemons/execd/cts-exec-helper.c                                            options.class,
options           325 daemons/execd/cts-exec-helper.c                                            options.provider, options.type, &output, 0);
options           330 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) {
options           334 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider);
options           347 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_ocf_providers", pcmk__str_casei)) {
options           351 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list);
options           365 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_standards", pcmk__str_casei)) {
options           383 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "get_recurring_ops", pcmk__str_casei)) {
options           386 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0,
options           399 daemons/execd/cts-exec-helper.c     } else if (options.api_call) {
options           400 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL FAILURE unknown action '%s'\n", options.action));
options           405 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL FAILURE for '%s' api_rc:%d\n", options.api_call, rc));
options           409 daemons/execd/cts-exec-helper.c     if (options.api_call && rc == pcmk_ok) {
options           410 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL SUCCESSFUL for '%s'\n", options.api_call));
options           411 daemons/execd/cts-exec-helper.c         if (!options.listen) {
options           416 daemons/execd/cts-exec-helper.c     if (options.no_wait) {
options           435 daemons/execd/cts-exec-helper.c     if (options.params) {
options           463 daemons/execd/cts-exec-helper.c     if (options.rsc_id) {
options           464 daemons/execd/cts-exec-helper.c         rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id,
options           485 daemons/execd/cts-exec-helper.c             options.params = lrmd_key_value_add(options.params, key, value);
options           497 daemons/execd/cts-exec-helper.c             options.params = lrmd_key_value_add(options.params, crm_name, value);
options           534 daemons/execd/cts-exec-helper.c                 ++options.verbose;
options           538 daemons/execd/cts-exec-helper.c                 options.quiet = 1;
options           539 daemons/execd/cts-exec-helper.c                 options.verbose = 0;
options           542 daemons/execd/cts-exec-helper.c                 options.listen = optarg;
options           545 daemons/execd/cts-exec-helper.c                 options.no_wait = 1;
options           548 daemons/execd/cts-exec-helper.c                 options.is_running = 1;
options           557 daemons/execd/cts-exec-helper.c                 options.api_call = optarg;
options           560 daemons/execd/cts-exec-helper.c                 options.action = optarg;
options           563 daemons/execd/cts-exec-helper.c                 options.rsc_id = optarg;
options           567 daemons/execd/cts-exec-helper.c                     options.cancel_call_id = atoi(optarg);
options           571 daemons/execd/cts-exec-helper.c                 options.provider = optarg;
options           574 daemons/execd/cts-exec-helper.c                 options.class = optarg;
options           577 daemons/execd/cts-exec-helper.c                 options.type = optarg;
options           581 daemons/execd/cts-exec-helper.c                     options.interval_ms = crm_parse_interval_spec(optarg);
options           586 daemons/execd/cts-exec-helper.c                     options.timeout = atoi(optarg);
options           591 daemons/execd/cts-exec-helper.c                     options.start_delay = atoi(optarg);
options           597 daemons/execd/cts-exec-helper.c                     options.params = lrmd_key_value_add(options.params, key, val);
options           604 daemons/execd/cts-exec-helper.c                     options.params = lrmd_key_value_add(options.params, key, val);
options           624 daemons/execd/cts-exec-helper.c     if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents",
options           626 daemons/execd/cts-exec-helper.c         options.no_connect = 1;
options           629 daemons/execd/cts-exec-helper.c     crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE),
options           632 daemons/execd/cts-exec-helper.c     if (options.is_running) {
options           633 daemons/execd/cts-exec-helper.c         if (!options.timeout) {
options           634 daemons/execd/cts-exec-helper.c             options.timeout = 30000;
options           636 daemons/execd/cts-exec-helper.c         options.interval_ms = 0;
options           637 daemons/execd/cts-exec-helper.c         if (!options.rsc_id) {
options           647 daemons/execd/cts-exec-helper.c         options.api_call = "exec";
options           648 daemons/execd/cts-exec-helper.c         options.action = "monitor";
options           654 daemons/execd/cts-exec-helper.c     if (!options.api_call && !options.listen) {
options            80 daemons/fenced/fenced_commands.c     int options;
options           270 daemons/fenced/fenced_commands.c     crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options));
options          2366 daemons/fenced/fenced_commands.c                   (cmd->options & st_opt_sync_call) ? "" : "a-", cmd->client_name);
options          2367 daemons/fenced/fenced_commands.c         do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE);
options          2597 daemons/fenced/fenced_commands.c         if (cmd->options & st_opt_cs_nodeid) {
options          2685 daemons/fenced/fenced_commands.c     crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options);
options           441 daemons/fenced/fenced_history.c                       const char *remote_peer, int options)
options           450 daemons/fenced/fenced_history.c         if (target && (options & st_opt_cs_nodeid)) {
options           462 daemons/fenced/fenced_history.c     if (options & st_opt_cleanup) {
options           468 daemons/fenced/fenced_history.c     } else if (options & st_opt_broadcast) {
options          1220 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options)
options          1223 daemons/fenced/fenced_remote.c     gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE;
options          1234 daemons/fenced/fenced_remote.c                   pcmk__plural_s(peer->ndevices), peer->tried, options);
options          1235 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
options          1238 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
options           360 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data)
options           383 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(int options, const char *op, int rc,
options           393 daemons/fenced/pacemaker-fenced.c     do_stonith_notify(options, op, rc, notify_data);
options           398 daemons/fenced/pacemaker-fenced.c do_stonith_notify_device(int options, const char *op, int rc, const char *desc)
options           400 daemons/fenced/pacemaker-fenced.c     do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(device_list));
options           404 daemons/fenced/pacemaker-fenced.c do_stonith_notify_level(int options, const char *op, int rc, const char *desc)
options           406 daemons/fenced/pacemaker-fenced.c     do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(topology));
options           236 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data);
options           237 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_device(int options, const char *op, int rc, const char *desc);
options           238 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_level(int options, const char *op, int rc, const char *desc);
options           251 daemons/fenced/pacemaker-fenced.h                           const char *remote_peer, int options);
options            39 daemons/pacemakerd/pacemakerd.c } options;
options            92 daemons/pacemakerd/pacemakerd.c     options.standby = TRUE;
options            98 daemons/pacemakerd/pacemakerd.c     { "features", 'F', 0, G_OPTION_ARG_NONE, &options.features,
options           101 daemons/pacemakerd/pacemakerd.c     { "foreground", 'f', 0, G_OPTION_ARG_NONE, &options.foreground,
options           107 daemons/pacemakerd/pacemakerd.c     { "shutdown", 'S', 0, G_OPTION_ARG_NONE, &options.shutdown,
options           284 daemons/pacemakerd/pacemakerd.c     if (options.features) {
options           299 daemons/pacemakerd/pacemakerd.c     if (options.shutdown) {
options           318 daemons/pacemakerd/pacemakerd.c     if (options.shutdown) {
options            73 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib);
options            74 include/crm/cib/internal.h void verify_cib_options(GHashTable * options);
options           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           572 include/crm/common/output_internal.h                       pcmk__output_factory_t create, GOptionEntry *options);
options           337 include/crm/lrmd.h                          const char *provider, const char *agent, enum lrmd_call_options options);
options           345 include/crm/lrmd.h                                       const char *rsc_id, enum lrmd_call_options options);
options           353 include/crm/lrmd.h                               enum lrmd_call_options options, GList **output);
options           367 include/crm/lrmd.h     int (*unregister_rsc) (lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options);
options           391 include/crm/lrmd.h                  enum lrmd_call_options options, lrmd_key_value_t * params);    /* ownership of params is given up to api here */
options           434 include/crm/lrmd.h                          const char *agent, char **output, enum lrmd_call_options options);
options           504 include/crm/lrmd.h                                 char **output, enum lrmd_call_options options,
options           144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name);
options           223 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options);
options           241 include/crm/pengine/internal.h void native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           242 include/crm/pengine/internal.h void group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           243 include/crm/pengine/internal.h void clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           244 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options,
options           511 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options,
options           513 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options);
options           518 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           519 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options);
options           520 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options);
options           178 include/crm/stonith-ng.h         stonith_t *st, int options, const char *name);
options           188 include/crm/stonith-ng.h         stonith_t *st, int options, const char *id,
options           197 include/crm/stonith-ng.h         stonith_t *st, int options, const char *node, int level);
options           206 include/crm/stonith-ng.h         stonith_t *st, int options, const char *node, int level, stonith_key_value_t *device_list);
options           215 include/crm/stonith-ng.h     int (*metadata)(stonith_t *st, int options,
options           235 include/crm/stonith-ng.h     int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout);
options           242 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           259 include/crm/stonith-ng.h     int (*query)(stonith_t *st, int options, const char *node,
options           276 include/crm/stonith-ng.h     int (*fence)(stonith_t *st, int options, const char *node, const char *action,
options           284 include/crm/stonith-ng.h     int (*confirm)(stonith_t *st, int options, const char *node);
options           291 include/crm/stonith-ng.h     int (*history)(stonith_t *st, int options, const char *node, stonith_history_t **output, int timeout);
options           318 include/crm/stonith-ng.h         int options,
options           343 include/crm/stonith-ng.h     int (*remove_level_full)(stonith_t *st, int options,
options           363 include/crm/stonith-ng.h     int (*register_level_full)(stonith_t *st, int options,
options           407 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           208 lib/cib/cib_utils.c         GHashTable *options = pcmk__strkey_table(free, free);
options           210 lib/cib/cib_utils.c         cib_read_config(options, xml);
options           211 lib/cib/cib_utils.c         value = cib_pref(options, "enable-acl");
options           213 lib/cib/cib_utils.c         g_hash_table_destroy(options);
options           658 lib/cib/cib_utils.c verify_cib_options(GHashTable * options)
options           660 lib/cib/cib_utils.c     pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts));
options           664 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name)
options           666 lib/cib/cib_utils.c     return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts),
options           671 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib)
options           676 lib/cib/cib_utils.c     if (options == NULL || current_cib == NULL) {
options           682 lib/cib/cib_utils.c     g_hash_table_remove_all(options);
options           687 lib/cib/cib_utils.c                           options, CIB_OPTIONS_FIRST, TRUE, now, NULL);
options           690 lib/cib/cib_utils.c     verify_cib_options(options);
options           136 lib/common/attrd_client.c                         const char *dampen, const char *user_name, int options)
options           205 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_remote));
options           207 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_private));
options           242 lib/common/attrd_client.c                               int options)
options           255 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_remote));
options            82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset,
options           110 lib/common/crmcommon_private.h                   int options);
options           463 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *),
options           472 lib/common/options.c     if (options) {
options           473 lib/common/options.c         value = g_hash_table_lookup(options, name);
options           476 lib/common/options.c             value = g_hash_table_lookup(options, old_name);
options           485 lib/common/options.c                 g_hash_table_insert(options, strdup(name), new_value);
options           518 lib/common/options.c     if (options) {
options           520 lib/common/options.c         g_hash_table_insert(options, strdup(name), new_value);
options           537 lib/common/options.c pcmk__cluster_option(GHashTable *options, pcmk__cluster_option_t *option_list,
options           544 lib/common/options.c             value = cluster_option_value(options, option_list[lpc].is_valid,
options           618 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options,
options           622 lib/common/options.c         cluster_option_value(options, option_list[lpc].is_valid,
options            81 lib/common/output.c                       pcmk__output_factory_t create, GOptionEntry *options) {
options            90 lib/common/output.c     if (options != NULL && group != NULL) {
options            91 lib/common/output.c         g_option_group_add_entries(group, options);
options           107 lib/common/output.c         pcmk__register_format(group, entry->name, entry->create, entry->options);
options           470 lib/common/patchset.c     int options = xml_log_option_formatted;
options           606 lib/common/patchset.c         options |= xml_log_option_diff_short;
options           613 lib/common/patchset.c                          0, options|xml_log_option_diff_minus);
options           626 lib/common/patchset.c                          0, options|xml_log_option_diff_plus);
options            87 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth)
options            89 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1414 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max)
options          1440 lib/common/xml.c              const char *prefix, xmlNode *data, int depth, int options)
options          1455 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_open)) {
options          1458 lib/common/xml.c         insert_prefix(options, &buffer, &offset, &max, depth);
options          1477 lib/common/xml.c                 } else if (pcmk_any_flags_set(options,
options          1498 lib/common/xml.c             } else if (pcmk_is_set(options, xml_log_option_children)) {
options          1516 lib/common/xml.c     } else if (pcmk_is_set(options, xml_log_option_children)) {
options          1524 lib/common/xml.c                          options|xml_log_option_open|xml_log_option_close);
options          1528 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_close)) {
options          1531 lib/common/xml.c         insert_prefix(options, &buffer, &offset, &max, depth);
options          1542 lib/common/xml.c                 const char *prefix, xmlNode *data, int depth, int options)
options          1560 lib/common/xml.c                      options|xml_log_option_open|xml_log_option_close
options          1570 lib/common/xml.c         insert_prefix(options, &spaces, &s_count, &s_max, depth);
options          1584 lib/common/xml.c                      options|xml_log_option_open);
options          1622 lib/common/xml.c                             depth + 1, options);
options          1626 lib/common/xml.c                      options|xml_log_option_close);
options          1632 lib/common/xml.c                             depth + 1, options);
options          1642 lib/common/xml.c                  const char *prefix, xmlNode * data, int depth, int options)
options          1663 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_dirty_add)) {
options          1665 lib/common/xml.c                         options);
options          1669 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_formatted)) {
options          1670 lib/common/xml.c         if (pcmk_is_set(options, xml_log_option_diff_plus)
options          1672 lib/common/xml.c             options |= xml_log_option_diff_all;
options          1677 lib/common/xml.c         } else if (pcmk_is_set(options, xml_log_option_diff_minus)
options          1679 lib/common/xml.c             options |= xml_log_option_diff_all;
options          1686 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_diff_short)
options          1687 lib/common/xml.c                && !pcmk_is_set(options, xml_log_option_diff_all)) {
options          1691 lib/common/xml.c             log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options);
options          1695 lib/common/xml.c                      options|xml_log_option_open|xml_log_option_close
options          1702 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max)
options          1706 lib/common/xml.c             dump_xml_attr(a, options, buffer, offset, max);
options          1712 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1733 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1736 lib/common/xml.c     if (options & xml_log_option_filtered) {
options          1737 lib/common/xml.c         dump_filtered_xml(data, options, buffer, offset, max);
options          1741 lib/common/xml.c             dump_xml_attr(a, options, buffer, offset, max);
options          1752 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1759 lib/common/xml.c             pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1);
options          1762 lib/common/xml.c         insert_prefix(options, buffer, offset, max, depth);
options          1765 lib/common/xml.c         if (options & xml_log_option_formatted) {
options          1772 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1788 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1792 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1798 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1814 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1820 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1826 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1842 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1848 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1867 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset,
options          1876 lib/common/xml.c     if (!pcmk_is_set(options, xml_log_option_filtered)
options          1877 lib/common/xml.c         && pcmk_is_set(options, xml_log_option_full_fledged)) {
options          1909 lib/common/xml.c                           (options & xml_log_option_formatted), NULL);
options          1933 lib/common/xml.c             dump_xml_element(data, options, buffer, offset, max, depth);
options          1937 lib/common/xml.c             if (options & xml_log_option_text) {
options          1938 lib/common/xml.c                 dump_xml_text(data, options, buffer, offset, max, depth);
options          1942 lib/common/xml.c             dump_xml_comment(data, options, buffer, offset, max, depth);
options          1945 lib/common/xml.c             dump_xml_cdata(data, options, buffer, offset, max, depth);
options           403 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options,
options           427 lib/fencing/st_client.c     rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0);
options           434 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level)
options           436 lib/fencing/st_client.c     return stonith_api_remove_level_full(st, options, node,
options           497 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t * st, int options, const char *node,
options           507 lib/fencing/st_client.c     rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0);
options           514 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level,
options           517 lib/fencing/st_client.c     return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL,
options          1715 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options,
options          1730 lib/fencing/st_client.c         if (!(options & st_opt_report_only_success)) {
options          1741 lib/fencing/st_client.c     blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE;
options          1744 lib/fencing/st_client.c     blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE;
options           515 lib/lrmd/lrmd_client.c                enum lrmd_call_options options)
options           527 lib/lrmd/lrmd_client.c     crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options);
options           534 lib/lrmd/lrmd_client.c               op, (long)options, options);
options           846 lib/lrmd/lrmd_client.c                   enum lrmd_call_options options, gboolean expect_reply)
options           866 lib/lrmd/lrmd_client.c     op_msg = lrmd_create_op(native->token, op, data, timeout, options);
options          1678 lib/lrmd/lrmd_client.c                       const char *provider, const char *type, enum lrmd_call_options options)
options          1698 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE);
options          1705 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
options          1712 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE);
options          1765 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
options          1776 lib/lrmd/lrmd_client.c     lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE);
options          1815 lib/lrmd/lrmd_client.c                            enum lrmd_call_options options, GList **output)
options          1833 lib/lrmd/lrmd_client.c                            timeout_ms, options, TRUE);
options          1937 lib/lrmd/lrmd_client.c                       enum lrmd_call_options options)
options          1940 lib/lrmd/lrmd_client.c                                            output, options, NULL);
options          1946 lib/lrmd/lrmd_client.c                              char **output, enum lrmd_call_options options,
options          2005 lib/lrmd/lrmd_client.c               enum lrmd_call_options options, lrmd_key_value_t * params)
options          2024 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE);
options           247 lib/pengine/bundle.c             if(mount->options) {
options           248 lib/pengine/bundle.c                 offset += snprintf(buffer+offset, max-offset, ":%s", mount->options);
options           413 lib/pengine/bundle.c             if(mount->options) {
options           414 lib/pengine/bundle.c                 offset += snprintf(buffer+offset, max-offset, ":%s", mount->options);
options           572 lib/pengine/bundle.c                 if(mount->options) {
options           573 lib/pengine/bundle.c                     offset += snprintf(buffer+offset, max-offset, ",%s", mount->options);
options           580 lib/pengine/bundle.c                 if(mount->options) {
options           581 lib/pengine/bundle.c                     offset += snprintf(buffer+offset, max-offset, ",%s", mount->options);
options           885 lib/pengine/bundle.c           const char *target, const char *options, uint32_t flags)
options           891 lib/pengine/bundle.c     if (options) {
options           892 lib/pengine/bundle.c         mount->options = strdup(options);
options           903 lib/pengine/bundle.c     free(mount->options);
options          1114 lib/pengine/bundle.c         const char *options = crm_element_value(xml_child, "options");
options          1124 lib/pengine/bundle.c             mount_add(bundle_data, source, target, options, flags);
options          1399 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options,
options          1403 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1406 lib/pengine/bundle.c         rsc->fns->print(rsc, pre_text, options, print_data);
options          1407 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1427 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options,
options          1456 lib/pengine/bundle.c         print_rsc_in_list(replica->ip, child_text, options, print_data);
options          1457 lib/pengine/bundle.c         print_rsc_in_list(replica->child, child_text, options, print_data);
options          1458 lib/pengine/bundle.c         print_rsc_in_list(replica->container, child_text, options, print_data);
options          1459 lib/pengine/bundle.c         print_rsc_in_list(replica->remote, child_text, options, print_data);
options          1820 lib/pengine/bundle.c                      long options, void *print_data)
options          1845 lib/pengine/bundle.c     common_print(rsc, pre_text, buffer, node, options, print_data);
options          1849 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options,
options          1856 lib/pengine/bundle.c     if (options & pe_print_xml) {
options          1857 lib/pengine/bundle.c         bundle_print_xml(rsc, pre_text, options, print_data);
options          1872 lib/pengine/bundle.c     if (options & pe_print_html) {
options          1882 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1886 lib/pengine/bundle.c         if (pcmk_is_set(options, pe_print_implicit)) {
options          1891 lib/pengine/bundle.c             if (options & pe_print_html) {
options          1894 lib/pengine/bundle.c             print_rsc_in_list(replica->ip, child_text, options, print_data);
options          1895 lib/pengine/bundle.c             print_rsc_in_list(replica->container, child_text, options, print_data);
options          1896 lib/pengine/bundle.c             print_rsc_in_list(replica->remote, child_text, options, print_data);
options          1897 lib/pengine/bundle.c             print_rsc_in_list(replica->child, child_text, options, print_data);
options          1898 lib/pengine/bundle.c             if (options & pe_print_html) {
options          1903 lib/pengine/bundle.c             print_bundle_replica(replica, child_text, options, print_data);
options          1907 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1911 lib/pengine/bundle.c     if (options & pe_print_html) {
options           318 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data)
options           325 lib/pengine/clone.c         if (options & pe_print_html) {
options           330 lib/pengine/clone.c         if (options & pe_print_html) {
options           333 lib/pengine/clone.c         } else if (options & pe_print_suppres_nl) {
options           335 lib/pengine/clone.c         } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) {
options           367 lib/pengine/clone.c clone_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           390 lib/pengine/clone.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           428 lib/pengine/clone.c clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           447 lib/pengine/clone.c     if (options & pe_print_xml) {
options           448 lib/pengine/clone.c         clone_print_xml(rsc, pre_text, options, print_data);
options           462 lib/pengine/clone.c     if (options & pe_print_html) {
options           465 lib/pengine/clone.c     } else if ((options & pe_print_log) == 0) {
options           474 lib/pengine/clone.c         if (options & pe_print_clone_details) {
options           486 lib/pengine/clone.c         } else if (pcmk_is_set(options, pe_print_pending)
options           495 lib/pengine/clone.c                 && !pcmk_is_set(options, pe_print_clone_active)) {
options           537 lib/pengine/clone.c             if (options & pe_print_html) {
options           540 lib/pengine/clone.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           541 lib/pengine/clone.c             if (options & pe_print_html) {
options           556 lib/pengine/clone.c     short_print(list_text, child_text, PROMOTED_INSTANCES, NULL, options,
options           577 lib/pengine/clone.c                         UNPROMOTED_INSTANCES " (target-role)", NULL, options,
options           581 lib/pengine/clone.c                         options, print_data);
options           585 lib/pengine/clone.c         short_print(list_text, child_text, "Started", NULL, options, print_data);
options           593 lib/pengine/clone.c     if (!pcmk_is_set(options, pe_print_clone_active)) {
options           631 lib/pengine/clone.c         short_print(stopped_list, child_text, state, NULL, options, print_data);
options           635 lib/pengine/clone.c     if (options & pe_print_html) {
options           302 lib/pengine/common.c verify_pe_options(GHashTable * options)
options           304 lib/pengine/common.c     pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts));
options           308 lib/pengine/common.c pe_pref(GHashTable * options, const char *name)
options           310 lib/pengine/common.c     return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name);
options           189 lib/pengine/group.c group_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           201 lib/pengine/group.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           209 lib/pengine/group.c group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           218 lib/pengine/group.c     if (options & pe_print_xml) {
options           219 lib/pengine/group.c         group_print_xml(rsc, pre_text, options, print_data);
options           227 lib/pengine/group.c     if (options & pe_print_html) {
options           230 lib/pengine/group.c     } else if ((options & pe_print_log) == 0) {
options           234 lib/pengine/group.c     if (options & pe_print_brief) {
options           235 lib/pengine/group.c         print_rscs_brief(rsc->children, child_text, options, print_data, TRUE);
options           241 lib/pengine/group.c             if (options & pe_print_html) {
options           244 lib/pengine/group.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           245 lib/pengine/group.c             if (options & pe_print_html) {
options           251 lib/pengine/group.c     if (options & pe_print_html) {
options           367 lib/pengine/native.c     long options;
options           449 lib/pengine/native.c native_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           453 lib/pengine/native.c     const char *rsc_state = native_displayable_state(rsc, pcmk_is_set(options, pe_print_pending));
options           480 lib/pengine/native.c     if (options & pe_print_pending) {
options           489 lib/pengine/native.c     if (options & pe_print_rsconly) {
options           761 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           772 lib/pengine/native.c             && !pcmk_is_set(options, pe_print_implicit)) {
options           780 lib/pengine/native.c     if (options & pe_print_xml) {
options           781 lib/pengine/native.c         native_print_xml(rsc, pre_text, options, print_data);
options           785 lib/pengine/native.c     if ((pre_text == NULL) && (options & pe_print_printf)) {
options           789 lib/pengine/native.c     if (options & pe_print_html) {
options           811 lib/pengine/native.c         gchar *resource_s = pcmk__native_output_string(rsc, name, node, options,
options           817 lib/pengine/native.c     if (pcmk_is_set(options, pe_print_html)) {
options           821 lib/pengine/native.c     if (!pcmk_is_set(options, pe_print_rsconly)
options           827 lib/pengine/native.c         if (options & pe_print_html) {
options           829 lib/pengine/native.c         } else if ((options & pe_print_printf)
options           830 lib/pengine/native.c                    || (options & pe_print_ncurses)) {
options           839 lib/pengine/native.c             if (options & pe_print_html) {
options           842 lib/pengine/native.c             } else if ((options & pe_print_printf)
options           843 lib/pengine/native.c                        || (options & pe_print_ncurses)) {
options           846 lib/pengine/native.c             } else if ((options & pe_print_log)) {
options           852 lib/pengine/native.c             if (options & pe_print_html) {
options           858 lib/pengine/native.c         if (options & pe_print_html) {
options           860 lib/pengine/native.c         } else if ((options & pe_print_printf)
options           861 lib/pengine/native.c                    || (options & pe_print_ncurses)) {
options           866 lib/pengine/native.c     if (options & pe_print_html) {
options           868 lib/pengine/native.c     } else if (options & pe_print_suppres_nl) {
options           870 lib/pengine/native.c     } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) {
options           876 lib/pengine/native.c native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           881 lib/pengine/native.c     if (options & pe_print_xml) {
options           882 lib/pengine/native.c         native_print_xml(rsc, pre_text, options, print_data);
options           893 lib/pengine/native.c     common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data);
options          1181 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options,
options          1210 lib/pengine/native.c             if (options & pe_print_rsconly) {
options          1214 lib/pengine/native.c             if (options & pe_print_html) {
options          1229 lib/pengine/native.c             if (options & pe_print_html) {
options          1235 lib/pengine/native.c             if (options & pe_print_html) {
options          1243 lib/pengine/native.c             if (options & pe_print_html) {
options            18 lib/pengine/pe_status_private.h    if(options & pe_print_html) {           \
options            21 lib/pengine/pe_status_private.h    } else if(options & pe_print_printf || options & pe_print_ncurses) {      \
options            24 lib/pengine/pe_status_private.h    } else if(options & pe_print_xml) {     \
options            27 lib/pengine/pe_status_private.h    } else if(options & pe_print_log) {     \
options            64 lib/pengine/variant.h     char *options;
options           174 libltdl/loaders/dyld.c 						 unsigned long options) = 0;
options           177 libltdl/loaders/dyld.c 						 unsigned long options) = 0;
options           445 maint/gnulib/lib/argp-help.c   const struct argp_option *opts = argp->options;
options           295 maint/gnulib/lib/argp-parse.c   const struct argp_option *real = argp->options;
options           434 maint/gnulib/lib/argp-parse.c   const struct argp_option *opt = argp->options;
options           220 maint/gnulib/lib/argp.h   const struct argp_option *options;
options            78 maint/gnulib/lib/exclude.c     int options;
options           105 maint/gnulib/lib/exclude.c     int options;                     /* common options for this segment */
options           143 maint/gnulib/lib/exclude.c fnmatch_pattern_has_wildcards (const char *str, int options)
options           154 maint/gnulib/lib/exclude.c           if (options & EXCLUDE_REGEX)
options           159 maint/gnulib/lib/exclude.c           if (options & EXCLUDE_REGEX)
options           162 maint/gnulib/lib/exclude.c             str += ! (options & FNM_NOESCAPE) && *str;
options           166 maint/gnulib/lib/exclude.c           if (options & FNM_EXTMATCH && *str == '(')
options           255 maint/gnulib/lib/exclude.c new_exclude_segment (struct exclude *ex, enum exclude_type type, int options)
options           259 maint/gnulib/lib/exclude.c   sp->options = options;
options           267 maint/gnulib/lib/exclude.c                                      (options & FNM_CASEFOLD) ?
options           270 maint/gnulib/lib/exclude.c                                      (options & FNM_CASEFOLD) ?
options           289 maint/gnulib/lib/exclude.c           if (seg->v.pat.exclude[i].options & EXCLUDE_REGEX)
options           331 maint/gnulib/lib/exclude.c fnmatch_no_wildcards (char const *pattern, char const *f, int options)
options           333 maint/gnulib/lib/exclude.c   if (! (options & FNM_LEADING_DIR))
options           334 maint/gnulib/lib/exclude.c     return ((options & FNM_CASEFOLD)
options           337 maint/gnulib/lib/exclude.c   else if (! (options & FNM_CASEFOLD))
options           376 maint/gnulib/lib/exclude.c exclude_fnmatch (char const *pattern, char const *f, int options)
options           379 maint/gnulib/lib/exclude.c     (options & EXCLUDE_WILDCARDS
options           382 maint/gnulib/lib/exclude.c   bool matched = ((*matcher) (pattern, f, options) == 0);
options           385 maint/gnulib/lib/exclude.c   if (! (options & EXCLUDE_ANCHORED))
options           388 maint/gnulib/lib/exclude.c         matched = ((*matcher) (pattern, p + 1, options) == 0);
options           396 maint/gnulib/lib/exclude.c   int options = opts->options;
options           398 maint/gnulib/lib/exclude.c   return (options & EXCLUDE_REGEX)
options           400 maint/gnulib/lib/exclude.c           : exclude_fnmatch (opts->v.pattern, f, options);
options           426 maint/gnulib/lib/exclude.c   int options = seg->options;
options           438 maint/gnulib/lib/exclude.c           if (options & FNM_LEADING_DIR)
options           450 maint/gnulib/lib/exclude.c       if (!(options & EXCLUDE_ANCHORED))
options           509 maint/gnulib/lib/exclude.c   return invert ^ ! (seg->options & EXCLUDE_INCLUDE);
options           515 maint/gnulib/lib/exclude.c add_exclude (struct exclude *ex, char const *pattern, int options)
options           521 maint/gnulib/lib/exclude.c   if ((options & (EXCLUDE_REGEX|EXCLUDE_WILDCARDS))
options           522 maint/gnulib/lib/exclude.c       && fnmatch_pattern_has_wildcards (pattern, options))
options           525 maint/gnulib/lib/exclude.c              && ((ex->head->options & EXCLUDE_INCLUDE)
options           526 maint/gnulib/lib/exclude.c                  == (options & EXCLUDE_INCLUDE))))
options           527 maint/gnulib/lib/exclude.c         new_exclude_segment (ex, exclude_pattern, options);
options           537 maint/gnulib/lib/exclude.c       patopts->options = options;
options           538 maint/gnulib/lib/exclude.c       if (options & EXCLUDE_REGEX)
options           542 maint/gnulib/lib/exclude.c                        ((options & FNM_CASEFOLD) ? REG_ICASE : 0);
options           544 maint/gnulib/lib/exclude.c           if (options & FNM_LEADING_DIR)
options           574 maint/gnulib/lib/exclude.c           if (options & EXCLUDE_ALLOC)
options           588 maint/gnulib/lib/exclude.c              && ((ex->head->options & exclude_hash_flags)
options           589 maint/gnulib/lib/exclude.c                  == (options & exclude_hash_flags))))
options           590 maint/gnulib/lib/exclude.c         new_exclude_segment (ex, exclude_hash, options);
options           594 maint/gnulib/lib/exclude.c       if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS)
options           609 maint/gnulib/lib/exclude.c                 struct exclude *ex, FILE *fp, int options,
options           655 maint/gnulib/lib/exclude.c         (*add_func) (ex, pattern, options, data);
options           666 maint/gnulib/lib/exclude.c call_addfn (struct exclude *ex, char const *pattern, int options, void *data)
options           669 maint/gnulib/lib/exclude.c   (*addfnptr) (ex, pattern, options);
options           674 maint/gnulib/lib/exclude.c                   struct exclude *ex, char const *file_name, int options,
options           686 maint/gnulib/lib/exclude.c   rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func);
options           360 maint/gnulib/lib/fts.c           register int options,
options           371 maint/gnulib/lib/fts.c         if (options & ~FTS_OPTIONMASK) {
options           375 maint/gnulib/lib/fts.c         if ((options & FTS_NOCHDIR) && (options & FTS_CWDFD)) {
options           379 maint/gnulib/lib/fts.c         if ( ! (options & (FTS_LOGICAL | FTS_PHYSICAL))) {
options           389 maint/gnulib/lib/fts.c         sp->fts_options = options;
options           469 maint/gnulib/lib/fts.c                 if ( ! (options & FTS_VERBATIM))
options            28 maint/gnulib/lib/getopt1.c getopt_long (int argc, char *__getopt_argv_const *argv, const char *options,
options            31 maint/gnulib/lib/getopt1.c   return _getopt_internal (argc, (char **) argv, options, long_options,
options            36 maint/gnulib/lib/getopt1.c _getopt_long_r (int argc, char **argv, const char *options,
options            40 maint/gnulib/lib/getopt1.c   return _getopt_internal_r (argc, argv, options, long_options, opt_index,
options            51 maint/gnulib/lib/getopt1.c 		  const char *options,
options            54 maint/gnulib/lib/getopt1.c   return _getopt_internal (argc, (char **) argv, options, long_options,
options            59 maint/gnulib/lib/getopt1.c _getopt_long_only_r (int argc, char **argv, const char *options,
options            63 maint/gnulib/lib/getopt1.c   return _getopt_internal_r (argc, argv, options, long_options, opt_index,
options           412 maint/gnulib/lib/human.c humblock (char const *spec, uintmax_t *block_size, int *options)
options           441 maint/gnulib/lib/human.c               *options = 0;
options           457 maint/gnulib/lib/human.c   *options = opts;
options            88 maint/gnulib/lib/mkdir-p.c                   void *options,
options           105 maint/gnulib/lib/mkdir-p.c           prefix_len = mkancesdirs (dir, wd, make_ancestor, options);
options           136 maint/gnulib/lib/mkdir-p.c               announce (dir, options);
options            29 maint/gnulib/lib/mkdir-p.h                        void *options,
options          1002 maint/gnulib/lib/mountlist.c         char *options, *ignore;
options          1029 maint/gnulib/lib/mountlist.c         options = thisent + vmp->vmt_data[VMT_ARGS].vmt_off;
options          1030 maint/gnulib/lib/mountlist.c         ignore = strstr (options, "ignore");
options          1032 maint/gnulib/lib/mountlist.c                         && (ignore == options || ignore[-1] == ',')
options           871 maint/gnulib/lib/quotearg.c                     struct quoting_options const *options)
options           898 maint/gnulib/lib/quotearg.c     int flags = options->flags | QA_ELIDE_NULL_BYTES;
options           900 maint/gnulib/lib/quotearg.c                                              options->style, flags,
options           901 maint/gnulib/lib/quotearg.c                                              options->quote_these_too,
options           902 maint/gnulib/lib/quotearg.c                                              options->left_quote,
options           903 maint/gnulib/lib/quotearg.c                                              options->right_quote);
options           911 maint/gnulib/lib/quotearg.c         quotearg_buffer_restyled (val, size, arg, argsize, options->style,
options           912 maint/gnulib/lib/quotearg.c                                   flags, options->quote_these_too,
options           913 maint/gnulib/lib/quotearg.c                                   options->left_quote,
options           914 maint/gnulib/lib/quotearg.c                                   options->right_quote);
options           976 maint/gnulib/lib/quotearg.c   struct quoting_options options;
options           977 maint/gnulib/lib/quotearg.c   options = default_quoting_options;
options           978 maint/gnulib/lib/quotearg.c   set_char_quoting (&options, ch, 1);
options           979 maint/gnulib/lib/quotearg.c   return quotearg_n_options (0, arg, argsize, &options);
options          1003 maint/gnulib/lib/quotearg.c   struct quoting_options options;
options          1004 maint/gnulib/lib/quotearg.c   options = quoting_options_from_style (s);
options          1005 maint/gnulib/lib/quotearg.c   set_char_quoting (&options, ':', 1);
options          1006 maint/gnulib/lib/quotearg.c   return quotearg_n_options (n, arg, SIZE_MAX, &options);
options            68 maint/gnulib/lib/readutmp.c desirable_utmp_entry (STRUCT_UTMP const *u, int options)
options            71 maint/gnulib/lib/readutmp.c   if ((options & READ_UTMP_USER_PROCESS) && !user_proc)
options            73 maint/gnulib/lib/readutmp.c   if ((options & READ_UTMP_CHECK_PIDS)
options            92 maint/gnulib/lib/readutmp.c            int options)
options           108 maint/gnulib/lib/readutmp.c     if (desirable_utmp_entry (u, options))
options           128 maint/gnulib/lib/readutmp.c            int options)
options           145 maint/gnulib/lib/readutmp.c       n_read += desirable_utmp_entry (&utmp[n_read], options);
options           221 maint/gnulib/lib/readutmp.h                int options);
options           101 maint/gnulib/lib/regex-quote.c regex_quote_spec_pcre (int options, bool anchored)
options           109 maint/gnulib/lib/regex-quote.c   if (options & PCRE_EXTENDED)
options           125 maint/gnulib/lib/regex-quote.c   result.anchored = (options & PCRE_ANCHORED ? 0 : anchored);
options            70 maint/gnulib/lib/regex-quote.h        regex_quote_spec_pcre (int options, bool anchored);
options            99 maint/gnulib/lib/savewd.c savewd_chdir (struct savewd *wd, char const *dir, int options,
options           108 maint/gnulib/lib/savewd.c       || (options & (HAVE_WORKING_O_NOFOLLOW ? SAVEWD_CHDIR_NOFOLLOW : 0)))
options           112 maint/gnulib/lib/savewd.c                   | (options & SAVEWD_CHDIR_NOFOLLOW ? O_NOFOLLOW : 0)));
options           124 maint/gnulib/lib/savewd.c   if (result == 0 && ! (0 <= fd && options & SAVEWD_CHDIR_SKIP_READABLE))
options           269 maint/gnulib/lib/savewd.c                       void *options)
options           285 maint/gnulib/lib/savewd.c           int s = act (file[i], &wd, options);
options           302 maint/gnulib/lib/savewd.c       int s = act (file[i], &wd, options);
options           111 maint/gnulib/lib/savewd.h int savewd_chdir (struct savewd *wd, char const *dir, int options,
options           149 maint/gnulib/lib/savewd.h                           void *options);
options            60 maint/gnulib/lib/se-label.in.h               _GL_ATTRIBUTE_MAYBE_UNUSED struct selinux_opt *options,
options           115 maint/gnulib/lib/sys_wait.in.h _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options));
options           119 maint/gnulib/lib/sys_wait.in.h _GL_CXXALIAS_SYS_CAST (waitpid, pid_t, (pid_t pid, int *statusp, int options));
options           126 maint/gnulib/lib/utimecmp.c           int options)
options           128 maint/gnulib/lib/utimecmp.c   return utimecmpat (AT_FDCWD, dst_name, dst_stat, src_stat, options);
options           135 maint/gnulib/lib/utimecmp.c             int options)
options           158 maint/gnulib/lib/utimecmp.c   if (options & UTIMECMP_TRUNCATE_SOURCE)
options            27 maint/gnulib/lib/waitpid.c waitpid (pid_t pid, int *statusp, int options)
options            25 maint/gnulib/tests/test-fnmatch-h.c int options[] = { FNM_PATHNAME, FNM_PERIOD, FNM_NOESCAPE };
options            34 maint/gnulib/tests/test-getopt.h              const char *options,
options            43 maint/gnulib/tests/test-getopt.h   while ((c = getopt (argc, (char **) argv, options)) != -1)
options            61 maint/gnulib/tests/test-getopt.h           ASSERT (options[0] == '-');
options            66 maint/gnulib/tests/test-getopt.h           ASSERT (options[0] == ':'
options            67 maint/gnulib/tests/test-getopt.h                   || ((options[0] == '-' || options[0] == '+')
options            68 maint/gnulib/tests/test-getopt.h                       && options[1] == ':'));
options            47 maint/gnulib/tests/test-getopt_long.h                   const char *options, const struct option *long_options,
options            57 maint/gnulib/tests/test-getopt_long.h   while ((c = getopt_long (argc, (char **) argv, options, long_options,
options            82 maint/gnulib/tests/test-getopt_long.h           ASSERT (options[0] == '-');
options            87 maint/gnulib/tests/test-getopt_long.h           ASSERT (options[0] == ':'
options            88 maint/gnulib/tests/test-getopt_long.h                   || ((options[0] == '-' || options[0] == '+')
options            89 maint/gnulib/tests/test-getopt_long.h                       && options[1] == ':'));
options            56 tools/crm_attribute.c } options = {
options            67 tools/crm_attribute.c     options.command = 'D';
options            69 tools/crm_attribute.c     if (options.attr_value) {
options            70 tools/crm_attribute.c         free(options.attr_value);
options            73 tools/crm_attribute.c     options.attr_value = NULL;
options            81 tools/crm_attribute.c     options.promotion_score = TRUE;
options            83 tools/crm_attribute.c     if (options.attr_name) {
options            84 tools/crm_attribute.c         g_free(options.attr_name);
options            89 tools/crm_attribute.c         options.attr_name = g_strdup(score_name);
options            92 tools/crm_attribute.c         options.attr_name = NULL;
options           100 tools/crm_attribute.c     options.command = 'v';
options           102 tools/crm_attribute.c     if (options.attr_value) {
options           103 tools/crm_attribute.c         free(options.attr_value);
options           106 tools/crm_attribute.c     options.attr_value = strdup(optarg);
options           112 tools/crm_attribute.c     if (options.type) {
options           113 tools/crm_attribute.c         g_free(options.type);
options           116 tools/crm_attribute.c     options.type = g_strdup(XML_CIB_TAG_NODES);
options           118 tools/crm_attribute.c     if (options.set_type) {
options           119 tools/crm_attribute.c         free(options.set_type);
options           122 tools/crm_attribute.c     options.set_type = strdup(XML_TAG_UTILIZATION);
options           128 tools/crm_attribute.c     options.command = 'G';
options           130 tools/crm_attribute.c     if (options.attr_value) {
options           131 tools/crm_attribute.c         free(options.attr_value);
options           134 tools/crm_attribute.c     options.attr_value = NULL;
options           139 tools/crm_attribute.c     { "id", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id,
options           145 tools/crm_attribute.c     { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name,
options           150 tools/crm_attribute.c     { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern,
options           164 tools/crm_attribute.c     { "set-name", 's', 0, G_OPTION_ARG_STRING, &options.set_name,
options           193 tools/crm_attribute.c     { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default,
options           198 tools/crm_attribute.c     { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type,
options           204 tools/crm_attribute.c     { "node", 'N', 0, G_OPTION_ARG_STRING, &options.dest_uname,
options           210 tools/crm_attribute.c     { "type", 't', 0, G_OPTION_ARG_STRING, &options.type,
options           221 tools/crm_attribute.c     { "inhibit-policy-engine", '!', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.inhibit,
options           229 tools/crm_attribute.c     { "attr-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_id,
options           233 tools/crm_attribute.c     { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name,
options           249 tools/crm_attribute.c     { "node-uname", 'U', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.dest_uname,
options           332 tools/crm_attribute.c     if (options.promotion_score && options.attr_name == NULL) {
options           340 tools/crm_attribute.c     if (options.inhibit) {
options           360 tools/crm_attribute.c     if (options.type == NULL) {
options           361 tools/crm_attribute.c         if (options.promotion_score) {
options           363 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_STATUS);
options           365 tools/crm_attribute.c         } else if (options.dest_uname != NULL) {
options           367 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_NODES);
options           371 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_CRMCONFIG);
options           373 tools/crm_attribute.c     } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) {
options           374 tools/crm_attribute.c         options.type = g_strdup(XML_CIB_TAG_STATUS);
options           376 tools/crm_attribute.c     } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) {
options           377 tools/crm_attribute.c         options.type = g_strdup(XML_CIB_TAG_NODES);
options           381 tools/crm_attribute.c     if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS,
options           387 tools/crm_attribute.c         const char *target = pcmk__node_attr_target(options.dest_uname);
options           390 tools/crm_attribute.c             g_free(options.dest_uname);
options           391 tools/crm_attribute.c             options.dest_uname = g_strdup(target);
options           394 tools/crm_attribute.c         if (options.dest_uname == NULL) {
options           395 tools/crm_attribute.c             options.dest_uname = g_strdup(get_local_node_name());
options           398 tools/crm_attribute.c         rc = query_node_uuid(the_cib, options.dest_uname, &options.dest_node, &is_remote_node);
options           400 tools/crm_attribute.c             fprintf(stderr, "Could not map name=%s to a UUID\n", options.dest_uname);
options           406 tools/crm_attribute.c     if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) {
options           412 tools/crm_attribute.c     if (options.attr_pattern) {
options           413 tools/crm_attribute.c         if (((options.command != 'v') && (options.command != 'D'))
options           414 tools/crm_attribute.c             || !pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei)) {
options           420 tools/crm_attribute.c         options.command = 'u';
options           421 tools/crm_attribute.c         g_free(options.attr_name);
options           422 tools/crm_attribute.c         options.attr_name = options.attr_pattern;
options           426 tools/crm_attribute.c     try_attrd = pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei);
options           436 tools/crm_attribute.c     if (((options.command == 'v') || (options.command == 'D') || (options.command == 'u')) && try_attrd
options           437 tools/crm_attribute.c         && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name,
options           438 tools/crm_attribute.c                                     options.attr_value, options.type, options.set_name, NULL, NULL,
options           441 tools/crm_attribute.c                  options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value));
options           443 tools/crm_attribute.c     } else if (options.command == 'D') {
options           444 tools/crm_attribute.c         rc = delete_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name,
options           445 tools/crm_attribute.c                                   options.attr_id, options.attr_name, options.attr_value, TRUE, NULL);
options           455 tools/crm_attribute.c     } else if (options.command == 'v') {
options           456 tools/crm_attribute.c         CRM_LOG_ASSERT(options.type != NULL);
options           457 tools/crm_attribute.c         CRM_LOG_ASSERT(options.attr_name != NULL);
options           458 tools/crm_attribute.c         CRM_LOG_ASSERT(options.attr_value != NULL);
options           460 tools/crm_attribute.c         rc = update_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name,
options           461 tools/crm_attribute.c                                   options.attr_id, options.attr_name, options.attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL);
options           467 tools/crm_attribute.c         rc = read_attr_delegate(the_cib, options.type, options.dest_node, options.set_type, options.set_name,
options           468 tools/crm_attribute.c                                 options.attr_id, options.attr_name, &read_value, TRUE, NULL);
options           470 tools/crm_attribute.c         if (rc == -ENXIO && options.attr_default) {
options           471 tools/crm_attribute.c             read_value = strdup(options.attr_default);
options           476 tools/crm_attribute.c                  options.attr_name, crm_str(read_value), options.set_name ? "in " : "", options.set_name ? options.set_name : "");
options           484 tools/crm_attribute.c                     options.type ? "scope=" : "", options.type ? options.type : "",
options           485 tools/crm_attribute.c                     options.attr_id ? "id=" : "", options.attr_id ? options.attr_id : "",
options           486 tools/crm_attribute.c                     options.attr_name ? "name=" : "", options.attr_name ? options.attr_name : "",
options           508 tools/crm_attribute.c     free(options.attr_default);
options           509 tools/crm_attribute.c     g_free(options.attr_id);
options           510 tools/crm_attribute.c     g_free(options.attr_name);
options           511 tools/crm_attribute.c     free(options.attr_value);
options           512 tools/crm_attribute.c     free(options.dest_node);
options           513 tools/crm_attribute.c     g_free(options.dest_uname);
options           514 tools/crm_attribute.c     g_free(options.set_name);
options           515 tools/crm_attribute.c     free(options.set_type);
options           516 tools/crm_attribute.c     g_free(options.type);
options            40 tools/crm_diff.c } options;
options            47 tools/crm_diff.c     { "original", 'o', 0, G_OPTION_ARG_STRING, &options.xml_file_1,
options            58 tools/crm_diff.c     { "new", 'n', 0, G_OPTION_ARG_STRING, &options.xml_file_2,
options            72 tools/crm_diff.c     { "cib", 'c', 0, G_OPTION_ARG_NONE, &options.as_cib,
options            75 tools/crm_diff.c     { "stdin", 's', 0, G_OPTION_ARG_NONE, &options.use_stdin,
options            78 tools/crm_diff.c     { "no-version", 'u', 0, G_OPTION_ARG_NONE, &options.no_version,
options            87 tools/crm_diff.c     options.raw_2 = TRUE;
options            89 tools/crm_diff.c     if (options.xml_file_2 != NULL) {
options            90 tools/crm_diff.c         free(options.xml_file_2);
options            93 tools/crm_diff.c     options.xml_file_2 = strdup(optarg);
options            99 tools/crm_diff.c     options.raw_1 = TRUE;
options           101 tools/crm_diff.c     if (options.xml_file_1 != NULL) {
options           102 tools/crm_diff.c         free(options.xml_file_1);
options           105 tools/crm_diff.c     options.xml_file_1 = strdup(optarg);
options           111 tools/crm_diff.c     options.apply = TRUE;
options           113 tools/crm_diff.c     if (options.xml_file_2 != NULL) {
options           114 tools/crm_diff.c         free(options.xml_file_2);
options           117 tools/crm_diff.c     options.xml_file_2 = strdup(optarg);
options           328 tools/crm_diff.c     if (options.apply && options.no_version) {
options           330 tools/crm_diff.c     } else if (options.as_cib && options.no_version) {
options           336 tools/crm_diff.c     if (options.raw_1) {
options           337 tools/crm_diff.c         object_1 = string2xml(options.xml_file_1);
options           339 tools/crm_diff.c     } else if (options.use_stdin) {
options           343 tools/crm_diff.c     } else if (options.xml_file_1 != NULL) {
options           344 tools/crm_diff.c         object_1 = filename2xml(options.xml_file_1);
options           347 tools/crm_diff.c     if (options.raw_2) {
options           348 tools/crm_diff.c         object_2 = string2xml(options.xml_file_2);
options           350 tools/crm_diff.c     } else if (options.use_stdin) {
options           354 tools/crm_diff.c     } else if (options.xml_file_2 != NULL) {
options           355 tools/crm_diff.c         object_2 = filename2xml(options.xml_file_2);
options           369 tools/crm_diff.c     if (options.apply) {
options           370 tools/crm_diff.c         int ret = apply_patch(object_1, object_2, options.as_cib);
options           373 tools/crm_diff.c         int ret = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version);
options           380 tools/crm_diff.c     free(options.xml_file_1);
options           381 tools/crm_diff.c     free(options.xml_file_2);
options            24 tools/crm_error.c } options;
options            27 tools/crm_error.c     { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name,
options            31 tools/crm_error.c     { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list,
options            34 tools/crm_error.c     { "exit", 'X', 0, G_OPTION_ARG_NONE, &options.as_exit_code,
options            37 tools/crm_error.c     { "rc", 'r', 0, G_OPTION_ARG_NONE, &options.as_rc,
options            47 tools/crm_error.c     if (options.as_exit_code) {
options            50 tools/crm_error.c     } else if (options.as_rc) {
options            99 tools/crm_error.c     if (options.do_list) {
options           103 tools/crm_error.c         if (options.as_rc) {
options           121 tools/crm_error.c             } else if(options.with_name) {
options           141 tools/crm_error.c             if (options.with_name) {
options           130 tools/crm_mon.c } options = {
options           260 tools/crm_mon.c             if (options.neg_location_prefix != NULL) {
options           261 tools/crm_mon.c                 free(options.neg_location_prefix);
options           262 tools/crm_mon.c                 options.neg_location_prefix = NULL;
options           266 tools/crm_mon.c                 options.neg_location_prefix = strdup(*s+5);
options           320 tools/crm_mon.c     options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s);
options           328 tools/crm_mon.c     options.includes_excludes = g_slist_append(options.includes_excludes, s);
options           340 tools/crm_mon.c     options.one_shot = TRUE;
options           373 tools/crm_mon.c     options.one_shot = TRUE;
options           398 tools/crm_mon.c             options.fence_connect = TRUE;
options           403 tools/crm_mon.c             options.fence_connect = TRUE;
options           408 tools/crm_mon.c             options.fence_connect = TRUE;
options           413 tools/crm_mon.c             options.fence_connect = FALSE;
options           472 tools/crm_mon.c         options.reconnect_ms = crm_parse_interval_spec(optarg);
options           513 tools/crm_mon.c     options.one_shot = TRUE;
options           525 tools/crm_mon.c     { "one-shot", '1', 0, G_OPTION_ARG_NONE, &options.one_shot,
options           529 tools/crm_mon.c     { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &options.daemonize,
options           534 tools/crm_mon.c     { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file,
options           538 tools/crm_mon.c     { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent,
options           542 tools/crm_mon.c     { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient,
options           546 tools/crm_mon.c     { "watch-fencing", 'W', 0, G_OPTION_ARG_NONE, &options.watch_fencing,
options           568 tools/crm_mon.c     { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node,
options           573 tools/crm_mon.c     { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc,
options           629 tools/crm_mon.c     { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending,
options           690 tools/crm_mon.c     reconnect_timer = g_timeout_add(options.reconnect_ms,
options           721 tools/crm_mon.c         reconnect_timer = g_timeout_add(options.reconnect_ms,
options           769 tools/crm_mon.c     if (options.fence_connect && st == NULL) {
options           773 tools/crm_mon.c     if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) {
options           780 tools/crm_mon.c         if (options.watch_fencing) {
options           866 tools/crm_mon.c             options.fence_connect = TRUE;
options           872 tools/crm_mon.c             options.fence_connect = TRUE;
options           878 tools/crm_mon.c             options.fence_connect = TRUE;
options           885 tools/crm_mon.c             options.fence_connect = FALSE;
options           974 tools/crm_mon.c                 rc = pcmk_poll_ipc(pacemakerd_api, options.reconnect_ms/2);
options          1319 tools/crm_mon.c     } else if (options.one_shot) {
options          1399 tools/crm_mon.c     options.pid_file = strdup("/tmp/ClusterMon.pid");
options          1407 tools/crm_mon.c         options.one_shot = TRUE;
options          1438 tools/crm_mon.c         if (options.watch_fencing) {
options          1440 tools/crm_mon.c             options.fence_connect = TRUE;
options          1466 tools/crm_mon.c                     options.one_shot = TRUE;
options          1483 tools/crm_mon.c         if (options.one_shot) {
options          1488 tools/crm_mon.c         } else if (options.daemonize) {
options          1494 tools/crm_mon.c             if (pcmk__str_eq(args->output_dest, "-", pcmk__str_null_matches | pcmk__str_casei) && !options.external_agent) {
options          1505 tools/crm_mon.c                 pcmk__daemonize(crm_system_name, options.pid_file);
options          1520 tools/crm_mon.c             options.one_shot = TRUE;
options          1560 tools/crm_mon.c     apply_include_exclude(options.includes_excludes, &error);
options          1566 tools/crm_mon.c     if (!apply_include_exclude(options.user_includes_excludes, &error)) {
options          1598 tools/crm_mon.c         } else if (options.external_agent != NULL) {
options          1601 tools/crm_mon.c         } else if (options.daemonize == TRUE) {
options          1610 tools/crm_mon.c         if (!options.daemonize) {
options          1611 tools/crm_mon.c             options.one_shot = TRUE;
options          1618 tools/crm_mon.c                               pcmk__itoa(options.reconnect_ms / 1000), NULL);
options          1630 tools/crm_mon.c     if (options.one_shot) {
options          1644 tools/crm_mon.c             pcmk__sleep_ms(options.reconnect_ms);
options          1784 tools/crm_mon.c     crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent);
options          1789 tools/crm_mon.c     if (options.external_recipient) {
options          1790 tools/crm_mon.c         setenv("CRM_notify_recipient", options.external_recipient, 1);
options          1805 tools/crm_mon.c         execl(options.external_agent, options.external_agent, NULL);
options          1809 tools/crm_mon.c     crm_trace("Finished running custom notification program '%s'.", options.external_agent);
options          1907 tools/crm_mon.c     if (notify && options.external_agent) {
options          2083 tools/crm_mon.c     if (options.external_agent) {
options          2175 tools/crm_mon.c     if (options.daemonize) {
options          2179 tools/crm_mon.c     unames = pe__build_node_name_list(mon_data_set, options.only_node);
options          2180 tools/crm_mon.c     resources = pe__build_rsc_list(mon_data_set, options.only_rsc);
options          2192 tools/crm_mon.c                              options.neg_location_prefix, unames, resources) != 0) {
options          2214 tools/crm_mon.c                          options.neg_location_prefix, unames, resources);
options          2218 tools/crm_mon.c     if (options.daemonize) {
options          2240 tools/crm_mon.c     } else if (options.external_agent) {
options          2286 tools/crm_mon.c         ((now - last_refresh) > (options.reconnect_ms / 1000)) ||
options          2358 tools/crm_mon.c     free(options.neg_location_prefix);
options          2359 tools/crm_mon.c     free(options.only_node);
options          2360 tools/crm_mon.c     free(options.only_rsc);
options          2361 tools/crm_mon.c     free(options.pid_file);
options          2362 tools/crm_mon.c     g_slist_free_full(options.includes_excludes, free);
options          2413 tools/crm_mon.c         if (!options.daemonize) {
options            35 tools/crm_node.c } options = {
options            78 tools/crm_node.c     { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag,
options            83 tools/crm_node.c     { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync,
options            96 tools/crm_node.c         options.command = 'i';
options            98 tools/crm_node.c         options.command = 'l';
options           100 tools/crm_node.c         options.command = 'n';
options           102 tools/crm_node.c         options.command = 'p';
options           104 tools/crm_node.c         options.command = 'q';
options           115 tools/crm_node.c     options.command = 'N';
options           116 tools/crm_node.c     pcmk__scan_min_int(optarg, &(options.nodeid), 0);
options           128 tools/crm_node.c     options.command = 'R';
options           129 tools/crm_node.c     options.dangerous_cmd = TRUE;
options           130 tools/crm_node.c     options.target_uname = strdup(optarg);
options           173 tools/crm_node.c     switch (options.command) {
options           236 tools/crm_node.c                 if (options.command == 'l') {
options           245 tools/crm_node.c             if (options.command == 'p') {
options           555 tools/crm_node.c     if (options.command == 0) {
options           564 tools/crm_node.c     if (options.dangerous_cmd && options.force_flag == FALSE) {
options           572 tools/crm_node.c     switch (options.command) {
options           577 tools/crm_node.c             remove_node(options.target_uname);
options           582 tools/crm_node.c             run_controller_mainloop(options.nodeid, false);
options           115 tools/crm_resource.c } options = {
options           127 tools/crm_resource.c         if (options.rsc_cmd != cmd_none) {                                  \
options           132 tools/crm_resource.c         options.rsc_cmd = (cmd);                                            \
options           135 tools/crm_resource.c #define SET_COMMAND(cmd) do { options.rsc_cmd = (cmd); } while (0)
options           486 tools/crm_resource.c     { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime,
options           491 tools/crm_resource.c       &options.promoted_role_only,
options           499 tools/crm_resource.c       &options.promoted_role_only,
options           563 tools/crm_resource.c     { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname,
options           566 tools/crm_resource.c     { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive,
options           569 tools/crm_resource.c     { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type,
options           572 tools/crm_resource.c     { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value,
options           583 tools/crm_resource.c     { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation,
options           586 tools/crm_resource.c     { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec,
options           606 tools/crm_resource.c     { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set,
options           609 tools/crm_resource.c     { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id,
options           616 tools/crm_resource.c     { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force,
options           620 tools/crm_resource.c     { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file,
options           623 tools/crm_resource.c     { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname,
options           632 tools/crm_resource.c     options.cmdline_config = TRUE;
options           633 tools/crm_resource.c     options.require_resource = FALSE;
options           636 tools/crm_resource.c         if (options.v_provider) {
options           637 tools/crm_resource.c            free(options.v_provider);
options           639 tools/crm_resource.c         options.v_provider = strdup(optarg);
options           641 tools/crm_resource.c         if (options.v_agent) {
options           642 tools/crm_resource.c            free(options.v_agent);
options           644 tools/crm_resource.c         options.v_agent = strdup(optarg);
options           653 tools/crm_resource.c         options.attr_set_type = XML_TAG_META_SETS;
options           655 tools/crm_resource.c         options.attr_set_type = XML_TAG_UTILIZATION;
options           663 tools/crm_resource.c     if (options.v_class != NULL) {
options           664 tools/crm_resource.c         free(options.v_class);
options           667 tools/crm_resource.c     options.v_class = strdup(optarg);
options           669 tools/crm_resource.c     options.cmdline_config = TRUE;
options           670 tools/crm_resource.c     options.require_resource = FALSE;
options           682 tools/crm_resource.c     options.require_resource = FALSE;
options           684 tools/crm_resource.c         options.require_crmd = TRUE;
options           686 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           692 tools/crm_resource.c     options.require_dataset = FALSE;
options           694 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           700 tools/crm_resource.c     options.clear_expired = TRUE;
options           701 tools/crm_resource.c     options.require_resource = FALSE;
options           708 tools/crm_resource.c     options.require_cib = FALSE;
options           709 tools/crm_resource.c     options.require_dataset = FALSE;
options           710 tools/crm_resource.c     options.require_resource = FALSE;
options           711 tools/crm_resource.c     if (options.agent_spec != NULL) {
options           712 tools/crm_resource.c         free(options.agent_spec);
options           713 tools/crm_resource.c         options.agent_spec = NULL;
options           716 tools/crm_resource.c         options.agent_spec = strdup(optarg);
options           743 tools/crm_resource.c     options.require_cib = FALSE;
options           744 tools/crm_resource.c     options.require_dataset = FALSE;
options           745 tools/crm_resource.c     options.require_resource = FALSE;
options           777 tools/crm_resource.c     if (options.cmdline_params == NULL) {
options           778 tools/crm_resource.c         options.cmdline_params = pcmk__strkey_table(free, free);
options           780 tools/crm_resource.c     g_hash_table_replace(options.cmdline_params, name, value);
options           786 tools/crm_resource.c     options.require_crmd = TRUE;
options           787 tools/crm_resource.c     options.require_node = TRUE;
options           795 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           798 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           801 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           804 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_any;
options           807 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_any;
options           810 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           813 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           816 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           831 tools/crm_resource.c     if (options.prop_name) {
options           832 tools/crm_resource.c         free(options.prop_name);
options           835 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           836 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           854 tools/crm_resource.c     options.require_resource = FALSE;
options           866 tools/crm_resource.c     if (options.prop_name) {
options           867 tools/crm_resource.c         free(options.prop_name);
options           870 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           871 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           877 tools/crm_resource.c     options.require_dataset = FALSE;
options           879 tools/crm_resource.c     if (options.prop_name) {
options           880 tools/crm_resource.c         free(options.prop_name);
options           883 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           885 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           891 tools/crm_resource.c     options.timeout_ms = crm_get_msec(optarg);
options           900 tools/crm_resource.c     if (options.operation) {
options           901 tools/crm_resource.c         g_free(options.operation);
options           903 tools/crm_resource.c     options.operation = g_strdup(option_name + 2); // skip "--"
options           904 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           905 tools/crm_resource.c     if (options.override_params == NULL) {
options           906 tools/crm_resource.c         options.override_params = pcmk__strkey_table(free, free);
options           910 tools/crm_resource.c         if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) {
options           925 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           934 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           935 tools/crm_resource.c     if (options.override_params == NULL) {
options           936 tools/crm_resource.c         options.override_params = pcmk__strkey_table(free, free);
options           938 tools/crm_resource.c     options.require_node = TRUE;
options           939 tools/crm_resource.c     options.require_dataset = TRUE;
options           946 tools/crm_resource.c     options.require_resource = FALSE;
options           947 tools/crm_resource.c     options.require_dataset = FALSE;
options           953 tools/crm_resource.c     options.require_resource = FALSE;
options           955 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           971 tools/crm_resource.c         rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL,
options           972 tools/crm_resource.c                               cib_conn, options.cib_options, options.promoted_role_only);
options           990 tools/crm_resource.c             rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL,
options           991 tools/crm_resource.c                                   cib_conn, options.cib_options, options.promoted_role_only);
options          1001 tools/crm_resource.c                         options.rsc_id, nactive, count, options.rsc_id, options.rsc_id);
options          1010 tools/crm_resource.c                     options.rsc_id, nactive, options.rsc_id);
options          1021 tools/crm_resource.c     if (options.force == FALSE) {
options          1026 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
options          1027 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation,
options          1028 tools/crm_resource.c                              options.interval_spec, TRUE, data_set, options.force);
options          1054 tools/crm_resource.c     if (options.clear_expired) {
options          1055 tools/crm_resource.c         rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options,
options          1056 tools/crm_resource.c                                             options.rsc_id, options.host_uname,
options          1057 tools/crm_resource.c                                             options.promoted_role_only);
options          1059 tools/crm_resource.c     } else if (options.host_uname) {
options          1060 tools/crm_resource.c         dest = pe_find_node(data_set->nodes, options.host_uname);
options          1068 tools/crm_resource.c         rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL,
options          1069 tools/crm_resource.c                                 cib_conn, options.cib_options, TRUE, options.force);
options          1072 tools/crm_resource.c         rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes,
options          1073 tools/crm_resource.c                                 cib_conn, options.cib_options, TRUE, options.force);
options          1113 tools/crm_resource.c     if (options.rsc_type == NULL) {
options          1120 tools/crm_resource.c     msg_data = create_xml_node(NULL, options.rsc_type);
options          1121 tools/crm_resource.c     crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id);
options          1124 tools/crm_resource.c                                 options.cib_options);
options          1184 tools/crm_resource.c     switch (options.rsc_cmd) {
options          1247 tools/crm_resource.c     if (options.xml_file != NULL) {
options          1248 tools/crm_resource.c         *cib_xml_copy = filename2xml(options.xml_file);
options          1283 tools/crm_resource.c     const char *router_node = options.host_uname;
options          1286 tools/crm_resource.c     if (options.host_uname) {
options          1287 tools/crm_resource.c         pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname);
options          1295 tools/crm_resource.c                             options.host_uname);
options          1305 tools/crm_resource.c                   options.host_uname? options.host_uname : "all nodes");
options          1310 tools/crm_resource.c     crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes");
options          1312 tools/crm_resource.c     rc = pcmk__node_attr_request_clear(NULL, options.host_uname,
options          1316 tools/crm_resource.c     if (pcmk_controld_api_reprobe(controld_api, options.host_uname,
options          1329 tools/crm_resource.c     if (options.force == FALSE) {
options          1334 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
options          1335 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL,
options          1336 tools/crm_resource.c                              0, FALSE, data_set, options.force);
options          1354 tools/crm_resource.c     if (pcmk__str_empty(options.rsc_type)) {
options          1360 tools/crm_resource.c     } else if (pcmk__str_empty(options.prop_value)) {
options          1367 tools/crm_resource.c     CRM_LOG_ASSERT(options.prop_name != NULL);
options          1369 tools/crm_resource.c     msg_data = create_xml_node(NULL, options.rsc_type);
options          1370 tools/crm_resource.c     crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id);
options          1371 tools/crm_resource.c     crm_xml_add(msg_data, options.prop_name, options.prop_value);
options          1374 tools/crm_resource.c                                 options.cib_options);
options          1435 tools/crm_resource.c     if (options.rsc_id != NULL) {
options          1440 tools/crm_resource.c     } else if (options.rsc_cmd != cmd_execute_agent) {
options          1448 tools/crm_resource.c     } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) {
options          1449 tools/crm_resource.c         if (options.v_provider != NULL) {
options          1453 tools/crm_resource.c         } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) {
options          1455 tools/crm_resource.c                         "%s is not a known stonith agent", options.v_agent ? options.v_agent : "");
options          1458 tools/crm_resource.c     } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) {
options          1461 tools/crm_resource.c                     options.v_class ? options.v_class : "",
options          1462 tools/crm_resource.c                     options.v_provider ? options.v_provider : "",
options          1463 tools/crm_resource.c                     options.v_agent ? options.v_agent : "");
options          1470 tools/crm_resource.c     if (options.cmdline_params == NULL) {
options          1471 tools/crm_resource.c         options.cmdline_params = pcmk__strkey_table(free, free);
options          1473 tools/crm_resource.c     options.require_resource = FALSE;
options          1474 tools/crm_resource.c     options.require_dataset = FALSE;
options          1475 tools/crm_resource.c     options.require_cib = FALSE;
options          1486 tools/crm_resource.c         { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id,
options          1489 tools/crm_resource.c         { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder,
options          1593 tools/crm_resource.c     if (options.rsc_cmd == cmd_none) {
options          1594 tools/crm_resource.c         options.rsc_cmd = cmd_list_resources;
options          1595 tools/crm_resource.c         options.require_resource = FALSE;
options          1599 tools/crm_resource.c     if (options.clear_expired && (options.rsc_cmd != cmd_clear)) {
options          1605 tools/crm_resource.c     if ((options.remainder != NULL) && (options.override_params != NULL)) {
options          1607 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1613 tools/crm_resource.c                 g_hash_table_replace(options.override_params, name, value);
options          1626 tools/crm_resource.c     } else if (options.remainder != NULL) {
options          1632 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1641 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1663 tools/crm_resource.c         switch (options.rsc_cmd) {
options          1680 tools/crm_resource.c         if (options.rsc_cmd == cmd_colocations || options.rsc_cmd == cmd_colocations_deep ||
options          1681 tools/crm_resource.c             options.rsc_cmd == cmd_list_resources) {
options          1691 tools/crm_resource.c     if (options.cmdline_config) {
options          1701 tools/crm_resource.c     } else if (options.cmdline_params != NULL) {
options          1703 tools/crm_resource.c         g_hash_table_destroy(options.cmdline_params);
options          1704 tools/crm_resource.c         options.cmdline_params = NULL;
options          1707 tools/crm_resource.c     if (options.require_resource && (options.rsc_id == NULL)) {
options          1713 tools/crm_resource.c     if (options.require_node && (options.host_uname == NULL)) {
options          1724 tools/crm_resource.c     if (options.force) {
options          1726 tools/crm_resource.c         cib__set_call_options(options.cib_options, crm_system_name,
options          1730 tools/crm_resource.c     if (options.find_flags && options.rsc_id) {
options          1731 tools/crm_resource.c         options.require_dataset = TRUE;
options          1735 tools/crm_resource.c     if (options.require_cib) {
options          1754 tools/crm_resource.c     if (options.require_dataset) {
options          1763 tools/crm_resource.c     if (options.find_flags && options.rsc_id) {
options          1764 tools/crm_resource.c         rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id,
options          1765 tools/crm_resource.c                                           options.find_flags);
options          1769 tools/crm_resource.c                         "Resource '%s' not found", options.rsc_id);
options          1775 tools/crm_resource.c     if ((options.host_uname != NULL) && (data_set != NULL)) {
options          1776 tools/crm_resource.c         node = pe_find_node(data_set->nodes, options.host_uname);
options          1780 tools/crm_resource.c     if (options.require_crmd) {
options          1803 tools/crm_resource.c     switch (options.rsc_cmd) {
options          1830 tools/crm_resource.c             rc = list_providers(out, options.agent_spec);
options          1834 tools/crm_resource.c             rc = list_agents(out, options.agent_spec);
options          1838 tools/crm_resource.c             rc = show_metadata(out, options.agent_spec);
options          1847 tools/crm_resource.c             rc = cli_resource_restart(out, rsc, options.host_uname,
options          1848 tools/crm_resource.c                                       options.move_lifetime, options.timeout_ms,
options          1849 tools/crm_resource.c                                       cib_conn, options.cib_options,
options          1850 tools/crm_resource.c                                       options.promoted_role_only,
options          1851 tools/crm_resource.c                                       options.force);
options          1855 tools/crm_resource.c             rc = wait_till_stable(out, options.timeout_ms, cib_conn);
options          1859 tools/crm_resource.c             if (options.cmdline_config) {
options          1861 tools/crm_resource.c                     options.v_class, options.v_provider, options.v_agent,
options          1862 tools/crm_resource.c                     options.operation, options.cmdline_params,
options          1863 tools/crm_resource.c                     options.override_params, options.timeout_ms,
options          1864 tools/crm_resource.c                     args->verbosity, options.force, options.check_level);
options          1866 tools/crm_resource.c                 exit_code = cli_resource_execute(rsc, options.rsc_id,
options          1867 tools/crm_resource.c                     options.operation, options.override_params,
options          1868 tools/crm_resource.c                     options.timeout_ms, cib_conn, data_set,
options          1869 tools/crm_resource.c                     args->verbosity, options.force, options.check_level);
options          1874 tools/crm_resource.c             node = pe_find_node(data_set->nodes, options.host_uname);
options          1879 tools/crm_resource.c                                             options.override_params, data_set);
options          1898 tools/crm_resource.c             rc = cli_resource_fail(controld_api, options.host_uname,
options          1899 tools/crm_resource.c                                    options.rsc_id, data_set);
options          1906 tools/crm_resource.c             rc = cli_resource_print_operations(options.rsc_id,
options          1907 tools/crm_resource.c                                                options.host_uname, TRUE,
options          1912 tools/crm_resource.c             rc = cli_resource_print_operations(options.rsc_id,
options          1913 tools/crm_resource.c                                                options.host_uname, FALSE,
options          1918 tools/crm_resource.c             GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set);
options          1919 tools/crm_resource.c             rc = out->message(out, "resource-search-list", nodes, options.rsc_id);
options          1933 tools/crm_resource.c             if ((options.host_uname != NULL) && (node == NULL)) {
options          1946 tools/crm_resource.c             if (options.host_uname == NULL) {
options          1947 tools/crm_resource.c                 rc = ban_or_move(out, rsc, options.move_lifetime);
options          1949 tools/crm_resource.c                 rc = cli_resource_move(rsc, options.rsc_id, options.host_uname,
options          1950 tools/crm_resource.c                                        options.move_lifetime, cib_conn,
options          1951 tools/crm_resource.c                                        options.cib_options, data_set,
options          1952 tools/crm_resource.c                                        options.promoted_role_only,
options          1953 tools/crm_resource.c                                        options.force);
options          1964 tools/crm_resource.c             if (options.host_uname == NULL) {
options          1965 tools/crm_resource.c                 rc = ban_or_move(out, rsc, options.move_lifetime);
options          1969 tools/crm_resource.c                 rc = cli_resource_ban(out, options.rsc_id, node->details->uname,
options          1970 tools/crm_resource.c                                       options.move_lifetime, NULL, cib_conn,
options          1971 tools/crm_resource.c                                       options.cib_options,
options          1972 tools/crm_resource.c                                       options.promoted_role_only);
options          1983 tools/crm_resource.c             rc = out->message(out, "property-list", rsc, options.prop_name);
options          2002 tools/crm_resource.c                          " returning the default value for %s", rsc->id, crm_str(options.prop_name));
options          2006 tools/crm_resource.c             crm_debug("Looking up %s in %s", options.prop_name, rsc->id);
options          2008 tools/crm_resource.c             if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_casei)) {
options          2012 tools/crm_resource.c             } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_casei)) {
options          2022 tools/crm_resource.c             rc = out->message(out, "attribute-list", rsc, options.prop_name, params);
options          2030 tools/crm_resource.c             if (pcmk__str_empty(options.prop_value)) {
options          2038 tools/crm_resource.c             rc = cli_resource_update_attribute(rsc, options.rsc_id,
options          2039 tools/crm_resource.c                                                options.prop_set,
options          2040 tools/crm_resource.c                                                options.attr_set_type,
options          2041 tools/crm_resource.c                                                options.prop_id,
options          2042 tools/crm_resource.c                                                options.prop_name,
options          2043 tools/crm_resource.c                                                options.prop_value,
options          2044 tools/crm_resource.c                                                options.recursive, cib_conn,
options          2045 tools/crm_resource.c                                                options.cib_options, data_set,
options          2046 tools/crm_resource.c                                                options.force);
options          2051 tools/crm_resource.c             rc = cli_resource_delete_attribute(rsc, options.rsc_id,
options          2052 tools/crm_resource.c                                                options.prop_set,
options          2053 tools/crm_resource.c                                                options.attr_set_type,
options          2054 tools/crm_resource.c                                                options.prop_id,
options          2055 tools/crm_resource.c                                                options.prop_name, cib_conn,
options          2056 tools/crm_resource.c                                                options.cib_options, data_set,
options          2057 tools/crm_resource.c                                                options.force);
options          2062 tools/crm_resource.c                 rc = cli_cleanup_all(controld_api, options.host_uname,
options          2063 tools/crm_resource.c                                      options.operation, options.interval_spec,
options          2088 tools/crm_resource.c                         "Unimplemented command: %d", (int) options.rsc_cmd);
options          2126 tools/crm_resource.c     g_free(options.host_uname);
options          2127 tools/crm_resource.c     g_free(options.interval_spec);
options          2128 tools/crm_resource.c     g_free(options.move_lifetime);
options          2129 tools/crm_resource.c     g_free(options.operation);
options          2130 tools/crm_resource.c     g_free(options.prop_id);
options          2131 tools/crm_resource.c     free(options.prop_name);
options          2132 tools/crm_resource.c     g_free(options.prop_set);
options          2133 tools/crm_resource.c     g_free(options.prop_value);
options          2134 tools/crm_resource.c     g_free(options.rsc_id);
options          2135 tools/crm_resource.c     g_free(options.rsc_type);
options          2136 tools/crm_resource.c     free(options.agent_spec);
options          2137 tools/crm_resource.c     free(options.v_agent);
options          2138 tools/crm_resource.c     free(options.v_class);
options          2139 tools/crm_resource.c     free(options.v_provider);
options          2140 tools/crm_resource.c     g_free(options.xml_file);
options          2141 tools/crm_resource.c     g_strfreev(options.remainder);
options          2143 tools/crm_resource.c     if (options.override_params != NULL) {
options          2144 tools/crm_resource.c         g_hash_table_destroy(options.override_params);
options            36 tools/crm_rule.c } options = {
options            53 tools/crm_rule.c     { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml,
options            61 tools/crm_rule.c     { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date,
options            64 tools/crm_rule.c     { "rule", 'r', 0, G_OPTION_ARG_STRING, &options.rule,
options            74 tools/crm_rule.c         options.mode = crm_rule_mode_check;
options           262 tools/crm_rule.c     switch(options.mode) {
options           264 tools/crm_rule.c             if (options.rule == NULL) {
options           280 tools/crm_rule.c     rule_date = crm_time_new(options.date);
options           290 tools/crm_rule.c     if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) {
options           298 tools/crm_rule.c     } else if (options.input_xml != NULL) {
options           299 tools/crm_rule.c         input = string2xml(options.input_xml);
options           302 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            48 tools/crm_simulate.c } options = {
options            69 tools/crm_simulate.c     options.flags |= pcmk_sim_all_actions;
options            87 tools/crm_simulate.c     options.store = TRUE;
options            88 tools/crm_simulate.c     options.flags |= pcmk_sim_process | pcmk_sim_simulate;
options            94 tools/crm_simulate.c     if (options.xml_file) {
options            95 tools/crm_simulate.c         free(options.xml_file);
options            98 tools/crm_simulate.c     options.xml_file = NULL;
options            99 tools/crm_simulate.c     options.flags &= ~pcmk_sim_sanitized;
options           105 tools/crm_simulate.c     options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg));
options           111 tools/crm_simulate.c     options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg));
options           118 tools/crm_simulate.c     options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg));
options           124 tools/crm_simulate.c     options.flags |= pcmk_sim_process | pcmk_sim_simulate;
options           125 tools/crm_simulate.c     options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg));
options           131 tools/crm_simulate.c     options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg));
options           137 tools/crm_simulate.c     options.flags |= pcmk_sim_show_pending;
options           143 tools/crm_simulate.c     options.flags |= pcmk_sim_process;
options           149 tools/crm_simulate.c     if (options.injections->quorum) {
options           150 tools/crm_simulate.c         free(options.injections->quorum);
options           153 tools/crm_simulate.c     options.injections->quorum = strdup(optarg);
options           159 tools/crm_simulate.c     if (options.dot_file) {
options           160 tools/crm_simulate.c         free(options.dot_file);
options           163 tools/crm_simulate.c     options.flags |= pcmk_sim_process;
options           164 tools/crm_simulate.c     options.dot_file = strdup(optarg);
options           170 tools/crm_simulate.c     if (options.graph_file) {
options           171 tools/crm_simulate.c         free(options.graph_file);
options           174 tools/crm_simulate.c     options.flags |= pcmk_sim_process;
options           175 tools/crm_simulate.c     options.graph_file = strdup(optarg);
options           181 tools/crm_simulate.c     options.flags |= pcmk_sim_process | pcmk_sim_show_scores;
options           187 tools/crm_simulate.c     options.flags |= pcmk_sim_process | pcmk_sim_simulate;
options           193 tools/crm_simulate.c     options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg));
options           199 tools/crm_simulate.c     options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg));
options           205 tools/crm_simulate.c     options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg));
options           211 tools/crm_simulate.c     options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg));
options           217 tools/crm_simulate.c     options.flags |= pcmk_sim_process | pcmk_sim_show_utilization;
options           223 tools/crm_simulate.c     if (options.injections->watchdog) {
options           224 tools/crm_simulate.c         free(options.injections->watchdog);
options           227 tools/crm_simulate.c     options.injections->watchdog = strdup(optarg);
options           233 tools/crm_simulate.c     if (options.xml_file) {
options           234 tools/crm_simulate.c         free(options.xml_file);
options           237 tools/crm_simulate.c     options.xml_file = strdup(optarg);
options           238 tools/crm_simulate.c     options.flags |= pcmk_sim_sanitized;
options           244 tools/crm_simulate.c     if (options.xml_file) {
options           245 tools/crm_simulate.c         free(options.xml_file);
options           248 tools/crm_simulate.c     options.xml_file = strdup("-");
options           249 tools/crm_simulate.c     options.flags |= pcmk_sim_sanitized;
options           275 tools/crm_simulate.c     { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir,
options           278 tools/crm_simulate.c     { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat,
options           309 tools/crm_simulate.c     { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date,
options           335 tools/crm_simulate.c     { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file,
options           338 tools/crm_simulate.c     { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file,
options           487 tools/crm_simulate.c     options.injections = calloc(1, sizeof(pcmk_injections_t));
options           488 tools/crm_simulate.c     if (options.injections == NULL) {
options           494 tools/crm_simulate.c     options.xml_file = strdup("-");
options           513 tools/crm_simulate.c         !pcmk_is_set(options.flags, pcmk_sim_show_scores) &&
options           514 tools/crm_simulate.c         !pcmk_is_set(options.flags, pcmk_sim_show_utilization)) {
options           531 tools/crm_simulate.c         options.flags |= pcmk_sim_verbose;
options           547 tools/crm_simulate.c     if (pcmk_is_set(options.flags, pcmk_sim_show_scores)) {
options           550 tools/crm_simulate.c     if (pcmk_is_set(options.flags, pcmk_sim_show_utilization)) {
options           555 tools/crm_simulate.c     if (options.test_dir != NULL) {
options           557 tools/crm_simulate.c         pcmk__profile_dir(options.test_dir, options.repeat, data_set, options.use_date);
options           562 tools/crm_simulate.c     rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error);
options           567 tools/crm_simulate.c     rc = pcmk__simulate(data_set, out, options.injections, options.flags, section_opts,
options           568 tools/crm_simulate.c                         options.use_date, options.input_file, options.graph_file,
options           569 tools/crm_simulate.c                         options.dot_file);
options           575 tools/crm_simulate.c     free(options.dot_file);
options           576 tools/crm_simulate.c     free(options.graph_file);
options           577 tools/crm_simulate.c     g_free(options.input_file);
options           578 tools/crm_simulate.c     g_free(options.output_file);
options           579 tools/crm_simulate.c     g_free(options.test_dir);
options           580 tools/crm_simulate.c     free(options.use_date);
options           581 tools/crm_simulate.c     free(options.xml_file);
options           583 tools/crm_simulate.c     pcmk_free_injections(options.injections);
options            46 tools/crm_verify.c } options;
options            52 tools/crm_verify.c       &options.use_live_cib, "Check the configuration used by the running cluster",
options            55 tools/crm_verify.c       &options.xml_file, "Check the configuration in the named file",
options            58 tools/crm_verify.c       &options.xml_stdin, "Check the configuration piped in via stdin",
options            61 tools/crm_verify.c       &options.xml_string, "Check the configuration in the supplied string",
options            69 tools/crm_verify.c       &options.cib_save, "Save verified XML to named file (most useful with -L)",
options           150 tools/crm_verify.c     if (options.use_live_cib) {
options           159 tools/crm_verify.c     } else if (options.xml_file != NULL) {
options           160 tools/crm_verify.c         cib_object = filename2xml(options.xml_file);
options           163 tools/crm_verify.c             g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file);
options           167 tools/crm_verify.c     } else if (options.xml_string != NULL) {
options           168 tools/crm_verify.c         cib_object = string2xml(options.xml_string);
options           171 tools/crm_verify.c             g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string);
options           174 tools/crm_verify.c     } else if (options.xml_stdin) {
options           197 tools/crm_verify.c     if (options.cib_save != NULL) {
options           198 tools/crm_verify.c         write_xml_file(cib_object, options.cib_save, FALSE);
options           230 tools/crm_verify.c     } else if (status != NULL || options.use_live_cib) {
options           267 tools/crm_verify.c     free(options.cib_save);
options           268 tools/crm_verify.c     free(options.xml_file);
options           269 tools/crm_verify.c     free(options.xml_string);
options            40 tools/crmadmin.c } options = {
options            73 tools/crmadmin.c     { "health", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.health,
options            87 tools/crmadmin.c     { "bash-export", 'B', 0, G_OPTION_ARG_NONE, &options.BASH_EXPORT,
options            91 tools/crmadmin.c     { "ipc-name", 'i', 0, G_OPTION_ARG_STRING, &options.ipc_name,
options           120 tools/crmadmin.c         options.timeout = crm_parse_interval_spec(optarg);
options           128 tools/crmadmin.c         if (options.optarg != NULL) {
options           129 tools/crmadmin.c             free(options.optarg);
options           131 tools/crmadmin.c         options.optarg = strdup(optarg);
options           223 tools/crmadmin.c     if (options.health) {
options           244 tools/crmadmin.c             rc = pcmk__controller_status(out, options.optarg, options.timeout);
options           247 tools/crmadmin.c             rc = pcmk__pacemakerd_status(out, options.ipc_name, options.timeout);
options           250 tools/crmadmin.c             rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT);
options           253 tools/crmadmin.c             rc = pcmk__designated_controller(out, options.timeout);
options            72 tools/stonith_admin.c } options = {
options            87 tools/stonith_admin.c     { "register", 'R', 0, G_OPTION_ARG_STRING, &options.register_dev,
options            91 tools/stonith_admin.c     { "deregister", 'D', 0, G_OPTION_ARG_STRING, &options.unregister_dev,
options            94 tools/stonith_admin.c     { "register-level", 'r', 0, G_OPTION_ARG_STRING, &options.register_level,
options            99 tools/stonith_admin.c     { "deregister-level", 'd', 0, G_OPTION_ARG_STRING, &options.unregister_level,
options           108 tools/stonith_admin.c     { "list", 'l', 0, G_OPTION_ARG_STRING, &options.terminate,
options           112 tools/stonith_admin.c     { "list-registered", 'L', 0, G_OPTION_ARG_NONE, &options.registered,
options           115 tools/stonith_admin.c     { "list-installed", 'I', 0, G_OPTION_ARG_NONE, &options.installed,
options           118 tools/stonith_admin.c     { "list-targets", 's', 0, G_OPTION_ARG_STRING, &options.targets,
options           122 tools/stonith_admin.c     { "metadata", 'M', 0, G_OPTION_ARG_NONE, &options.metadata,
options           126 tools/stonith_admin.c     { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query,
options           129 tools/stonith_admin.c     { "history", 'H', 0, G_OPTION_ARG_STRING, &options.history,
options           136 tools/stonith_admin.c     { "last", 'h', 0, G_OPTION_ARG_STRING, &options.last_fenced,
options           140 tools/stonith_admin.c     { "validate", 'K', 0, G_OPTION_ARG_NONE, &options.validate_cfg,
options           150 tools/stonith_admin.c     { "fence", 'F', 0, G_OPTION_ARG_STRING, &options.fence_host,
options           153 tools/stonith_admin.c     { "unfence", 'U', 0, G_OPTION_ARG_STRING, &options.unfence_host,
options           156 tools/stonith_admin.c     { "reboot", 'B', 0, G_OPTION_ARG_STRING, &options.reboot_host,
options           159 tools/stonith_admin.c     { "confirm", 'C', 0, G_OPTION_ARG_STRING, &options.confirm_host,
options           167 tools/stonith_admin.c     { "cleanup", 'c', 0, G_OPTION_ARG_NONE, &options.cleanup,
options           170 tools/stonith_admin.c     { "broadcast", 'b', 0, G_OPTION_ARG_NONE, &options.broadcast,
options           173 tools/stonith_admin.c     { "agent", 'a', 0, G_OPTION_ARG_STRING, &options.agent,
options           202 tools/stonith_admin.c     { "index", 'i', 0, G_OPTION_ARG_INT, &options.fence_level,
options           206 tools/stonith_admin.c     { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout,
options           210 tools/stonith_admin.c     { "delay", 'y', 0, G_OPTION_ARG_INT, &options.delay,
options           216 tools/stonith_admin.c     { "as-node-id", 'n', 0, G_OPTION_ARG_NONE, &options.as_nodeid,
options           253 tools/stonith_admin.c         options.params = stonith_key_value_add(options.params, optarg, env);
options           262 tools/stonith_admin.c     options.devices = stonith_key_value_add(options.devices, NULL, optarg);
options           268 tools/stonith_admin.c     options.tolerance = crm_get_msec(optarg) / 1000;
options           289 tools/stonith_admin.c         options.params = stonith_key_value_add(options.params, name, value);
options           380 tools/stonith_admin.c     if (options.validate_cfg) {
options           386 tools/stonith_admin.c     if (options.installed) {
options           391 tools/stonith_admin.c     if (options.registered) {
options           395 tools/stonith_admin.c     if (options.register_dev != NULL) {
options           398 tools/stonith_admin.c         device = options.register_dev;
options           401 tools/stonith_admin.c     if (options.query != NULL) {
options           403 tools/stonith_admin.c         device = options.query;
options           406 tools/stonith_admin.c     if (options.unregister_dev != NULL) {
options           408 tools/stonith_admin.c         device = options.unregister_dev;
options           411 tools/stonith_admin.c     if (options.targets != NULL) {
options           413 tools/stonith_admin.c         device = options.targets;
options           416 tools/stonith_admin.c     if (options.terminate != NULL) {
options           418 tools/stonith_admin.c         target = options.terminate;
options           421 tools/stonith_admin.c     if (options.metadata) {
options           427 tools/stonith_admin.c     if (options.reboot_host != NULL) {
options           430 tools/stonith_admin.c         target = options.reboot_host;
options           434 tools/stonith_admin.c     if (options.fence_host != NULL) {
options           437 tools/stonith_admin.c         target = options.fence_host;
options           441 tools/stonith_admin.c     if (options.unfence_host != NULL) {
options           444 tools/stonith_admin.c         target = options.unfence_host;
options           448 tools/stonith_admin.c     if (options.confirm_host != NULL) {
options           450 tools/stonith_admin.c         target = options.confirm_host;
options           454 tools/stonith_admin.c     if (options.last_fenced != NULL) {
options           456 tools/stonith_admin.c         target = options.last_fenced;
options           459 tools/stonith_admin.c     if (options.history != NULL) {
options           461 tools/stonith_admin.c         target = options.history;
options           464 tools/stonith_admin.c     if (options.register_level != NULL) {
options           466 tools/stonith_admin.c         target = options.register_level;
options           469 tools/stonith_admin.c     if (options.unregister_level != NULL) {
options           471 tools/stonith_admin.c         target = options.unregister_level;
options           483 tools/stonith_admin.c     if (required_agent && options.agent == NULL) {
options           509 tools/stonith_admin.c             rc = pcmk__fence_installed(out, st, options.timeout*1000);
options           517 tools/stonith_admin.c             rc = pcmk__fence_registered(out, st, target, options.timeout*1000);
options           525 tools/stonith_admin.c             rc = st->cmds->monitor(st, st_opts, device, options.timeout);
options           527 tools/stonith_admin.c                 rc = st->cmds->list(st, st_opts, device, NULL, options.timeout);
options           533 tools/stonith_admin.c             rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000);
options           541 tools/stonith_admin.c             rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent,
options           542 tools/stonith_admin.c                                            options.params);
options           552 tools/stonith_admin.c             rc = pcmk__fence_unregister_level(st, target, options.fence_level);
options           556 tools/stonith_admin.c             rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices);
options           560 tools/stonith_admin.c             rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000);
options           573 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000,
options           574 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           578 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000,
options           579 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           583 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000,
options           584 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           588 tools/stonith_admin.c             rc = pcmk__fence_last(out, target, options.as_nodeid);
options           592 tools/stonith_admin.c             rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,
options           593 tools/stonith_admin.c                                      options.broadcast, options.cleanup);
options           597 tools/stonith_admin.c             device = options.devices ? options.devices->key : NULL;
options           598 tools/stonith_admin.c             rc = pcmk__fence_validate(out, st, options.agent, device, options.params,
options           599 tools/stonith_admin.c                                         options.timeout*1000);
options           617 tools/stonith_admin.c     stonith_key_value_freeall(options.params, 1, 1);