standard 155 daemons/controld/controld_execd.c free(history->rsc.standard); standard 192 daemons/controld/controld_execd.c entry->rsc.standard = strdup(rsc->standard); standard 710 daemons/controld/controld_execd.c || !crm_op_needs_metadata(rsc->standard, op->op_type)) { standard 738 daemons/controld/controld_execd.c rsc->standard, rsc->provider, rsc->type); standard 791 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); standard 1890 daemons/controld/controld_execd.c if ((md == NULL) && crm_op_needs_metadata(rsc->standard, standard 1907 daemons/controld/controld_execd.c rsc->id, rsc->standard, standard 2495 daemons/controld/controld_execd.c crm_xml_add(iter, XML_AGENT_ATTR_CLASS, rsc->standard); standard 2734 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); standard 2738 daemons/controld/controld_execd.c if (standard && type) { standard 2740 daemons/controld/controld_execd.c op->rsc_id, standard, standard 2742 daemons/controld/controld_execd.c rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type); standard 136 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 154 daemons/controld/controld_metadata.c if (strcmp(rsc->standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 199 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); standard 236 daemons/controld/controld_metadata.c rsc->id, rsc->standard, ((rsc->provider == NULL)? "" : ":"), standard 267 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 274 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 301 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 305 daemons/controld/controld_metadata.c rc = lrm_state_get_metadata(lrm_state, rsc->standard, rsc->provider, standard 309 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 932 daemons/controld/controld_remote_ra.c info->standard = strdup(PCMK_RESOURCE_CLASS_OCF); standard 318 daemons/execd/cts-exec-helper.c rsc_info->id, rsc_info->standard, standard 832 daemons/execd/execd_commands.c code = services_result2ocf(action->standard, cmd->action, action->rc); standard 460 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; standard 465 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 468 daemons/fenced/pacemaker-fenced.c if (!pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 935 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; standard 939 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 941 daemons/fenced/pacemaker-fenced.c if (!pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 66 include/crm/common/agents.h uint32_t pcmk_get_ra_caps(const char *standard); standard 67 include/crm/common/agents.h char *crm_generate_ra_key(const char *standard, const char *provider, standard 69 include/crm/common/agents.h int crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 29 include/crm/common/agents_compat.h bool crm_provider_required(const char *standard); standard 96 include/crm/common/ipc_controld.h const char *rsc_long_id, const char *standard, standard 100 include/crm/common/ipc_controld.h const char *rsc_long_id, const char *standard, standard 277 include/crm/lrmd.h char *standard; standard 288 include/crm/lrmd.h lrmd_rsc_info_t *lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 376 include/crm/lrmd.h int (*register_rsc) (lrmd_t *lrmd, const char *rsc_id, const char *standard, standard 503 include/crm/lrmd.h int (*get_metadata) (lrmd_t *lrmd, const char *standard, standard 522 include/crm/lrmd.h const char *standard, const char *provider); standard 590 include/crm/lrmd.h int (*get_metadata_params) (lrmd_t *lrmd, const char *standard, standard 183 include/crm/pengine/common.h const char *standard; standard 128 include/crm/services.h char *standard; standard 199 include/crm/services.h GList *resources_list_providers(const char *standard); standard 211 include/crm/services.h GList *resources_list_agents(const char *standard, const char *provider); standard 231 include/crm/services.h gboolean resources_agent_exists(const char *standard, const char *provider, standard 252 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, standard 370 include/crm/services.h enum ocf_exitcode services_result2ocf(const char *standard, const char *action, standard 38 include/crm/services_internal.h const char *standard, standard 31 lib/common/agents.c pcmk_get_ra_caps(const char *standard) standard 36 lib/common/agents.c if (standard == NULL) { standard 39 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF)) { standard 43 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_STONITH)) { standard 54 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) standard 55 lib/common/agents.c || !strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) standard 56 lib/common/agents.c || !strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB) standard 57 lib/common/agents.c || !strcasecmp(standard, PCMK_RESOURCE_CLASS_UPSTART)) { standard 64 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_NAGIOS)) { standard 92 lib/common/agents.c crm_generate_ra_key(const char *standard, const char *provider, standard 95 lib/common/agents.c bool std_empty = pcmk__str_empty(standard); standard 104 lib/common/agents.c standard, standard 124 lib/common/agents.c crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 129 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); standard 130 lib/common/agents.c *standard = NULL; standard 139 lib/common/agents.c *standard = strndup(spec, colon - spec); standard 142 lib/common/agents.c if (pcmk_is_set(pcmk_get_ra_caps(*standard), pcmk_ra_cap_provider)) { standard 145 lib/common/agents.c free(*standard); standard 153 lib/common/agents.c free(*standard); standard 207 lib/common/agents.c crm_provider_required(const char *standard) standard 209 lib/common/agents.c return pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider); standard 456 lib/common/ipc_controld.c const char *rsc_long_id, const char *standard, standard 494 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, standard); standard 532 lib/common/ipc_controld.c const char *standard, const char *provider, standard 542 lib/common/ipc_controld.c standard, provider, type); standard 565 lib/common/ipc_controld.c const char *standard, const char *provider, standard 575 lib/common/ipc_controld.c standard, provider, type); standard 619 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); standard 1722 lib/lrmd/lrmd_client.c lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 1729 lib/lrmd/lrmd_client.c pcmk__str_update(&rsc_info->standard, standard); standard 1738 lib/lrmd/lrmd_client.c return lrmd_new_rsc_info(rsc_info->id, rsc_info->standard, standard 1750 lib/lrmd/lrmd_client.c free(rsc_info->standard); standard 1926 lib/lrmd/lrmd_client.c lrmd_api_get_metadata(lrmd_t *lrmd, const char *standard, const char *provider, standard 1930 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, standard 1935 lib/lrmd/lrmd_client.c lrmd_api_get_metadata_params(lrmd_t *lrmd, const char *standard, standard 1943 lib/lrmd/lrmd_client.c if (!standard || !type) { standard 1948 lib/lrmd/lrmd_client.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 1957 lib/lrmd/lrmd_client.c action = services__create_resource_action(type, standard, provider, type, standard 1973 lib/lrmd/lrmd_client.c standard, provider, type); standard 1980 lib/lrmd/lrmd_client.c standard, provider, type); standard 2404 lib/lrmd/lrmd_client.c if ((rsc == NULL) || (rsc->standard == NULL) || (rsc->type == NULL)) { standard 2413 lib/lrmd/lrmd_client.c if (strcmp(rsc->standard, PCMK_RESOURCE_CLASS_STONITH) == 0) { standard 2420 lib/lrmd/lrmd_client.c rsc->standard, rsc->provider, standard 148 lib/pengine/clone.c pe__force_anon(const char *standard, pe_resource_t *rsc, const char *rid, standard 158 lib/pengine/clone.c rsc->id, standard, rid); standard 146 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), standard 201 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); standard 202 lib/pengine/native.c uint32_t ra_caps = pcmk_get_ra_caps(standard); standard 215 lib/pengine/native.c pe__force_anon(standard, parent, rsc->id, data_set); standard 230 lib/pengine/native.c rsc->id, standard); standard 643 lib/pengine/pe_actions.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), standard 727 lib/pengine/pe_actions.c if (pcmk_is_set(pcmk_get_ra_caps(rsc_rule_data.standard), standard 46 lib/pengine/pe_status_private.h void pe__force_anon(const char *standard, pe_resource_t *rsc, const char *rid, standard 1180 lib/pengine/rules.c !pcmk__str_eq(class, rule_data->rsc_data->standard, pcmk__str_none)) { standard 1181 lib/pengine/rules.c crm_trace("Class doesn't match: %s != %s", class, rule_data->rsc_data->standard); standard 111 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 129 lib/services/services.c expand_resource_class(const char *rsc, const char *standard, const char *agent) standard 133 lib/services/services.c if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0) { standard 145 lib/services/services.c expanded_class = strdup(standard); standard 179 lib/services/services.c const char *standard, const char *provider, standard 187 lib/services/services.c if (pcmk__str_empty(standard)) { standard 196 lib/services/services.c "without provider (bug?)", standard, name); standard 217 lib/services/services.c const char *standard, const char *provider, standard 230 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); standard 231 lib/services/services.c if (op->standard == NULL) { standard 254 lib/services/services.c services__create_resource_action(const char *name, const char *standard, standard 260 lib/services/services.c uint32_t ra_caps = pcmk_get_ra_caps(standard); standard 285 lib/services/services.c if (required_argument_missing(ra_caps, name, standard, provider, agent, standard 295 lib/services/services.c if (copy_action_arguments(op, ra_caps, name, standard, provider, agent, standard 303 lib/services/services.c if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 306 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 310 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 314 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 318 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 322 lib/services/services.c crm_info("Unknown resource standard: %s", op->standard); standard 335 lib/services/services.c resources_action_create(const char *name, const char *standard, standard 340 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, standard 419 lib/services/services.c action->standard = strdup(PCMK_RESOURCE_CLASS_ALERT); standard 420 lib/services/services.c CRM_ASSERT((action->id != NULL) && (action->standard != NULL)); standard 518 lib/services/services.c op->standard, op->id); standard 521 lib/services/services.c op->standard, op->id); standard 550 lib/services/services.c services_result2ocf(const char *standard, const char *action, int exit_status) standard 552 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 556 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 562 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART, standard 568 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS, standard 573 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_LSB, standard 579 lib/services/services.c ((standard == NULL)? "unspecified" : standard)); standard 622 lib/services/services.c free(op->standard); standard 640 lib/services/services.c crm_info("Cancelling %s operation %s", op->standard, op->id); standard 818 lib/services/services.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_UPSTART, standard 825 lib/services/services.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 974 lib/services/services.c const char *class = op->standard; standard 1109 lib/services/services.c resources_list_providers(const char *standard) standard 1111 lib/services/services.c if (pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider)) { standard 1119 lib/services/services.c resources_list_agents(const char *standard, const char *provider) standard 1121 lib/services/services.c if ((standard == NULL) standard 1122 lib/services/services.c || (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0)) { standard 1128 lib/services/services.c if (standard == NULL) { standard 1153 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 1155 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 1158 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 1162 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 1166 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 1175 lib/services/services.c resources_agent_exists(const char *standard, const char *provider, const char *agent) standard 1185 lib/services/services.c if (pcmk__str_eq(iter->data, standard, pcmk__str_none)) { standard 1197 lib/services/services.c has_providers = pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider); standard 1199 lib/services/services.c providers = resources_list_providers(standard); standard 1214 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SERVICE, pcmk__str_casei)) { standard 1230 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 1233 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)) { standard 1237 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__str_casei)) { standard 1242 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART, pcmk__str_casei)) { standard 1247 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 1354 lib/services/services.c if ((action == NULL) || (action->standard == NULL)) { standard 1356 lib/services/services.c } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_STONITH, standard 1359 lib/services/services.c } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_ALERT, standard 412 lib/services/services_linux.c } else if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 609 lib/services/services_linux.c !pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_none)) { standard 723 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 727 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 734 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 758 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 762 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 769 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 793 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 797 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 804 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 829 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 833 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 840 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 904 lib/services/services_linux.c && pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, standard 1205 lib/services/services_linux.c if (pcmk_is_set(pcmk_get_ra_caps(op->standard), pcmk_ra_cap_stdin)) { standard 1380 tools/crm_resource.c char *standard = NULL; standard 1394 tools/crm_resource.c rc = crm_parse_agent_spec(agent_spec, &standard, &provider, &type); standard 1398 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard,