standard 150 daemons/controld/controld_execd.c free(history->rsc.standard); standard 187 daemons/controld/controld_execd.c entry->rsc.standard = strdup(rsc->standard); standard 681 daemons/controld/controld_execd.c || !crm_op_needs_metadata(rsc->standard, op->op_type)) { standard 712 daemons/controld/controld_execd.c int rc = lrm_state_get_metadata(lrm_state, rsc->standard, standard 718 daemons/controld/controld_execd.c rsc->id, rsc->standard, rsc->provider, rsc->type); standard 727 daemons/controld/controld_execd.c rsc->id, rsc->standard, rsc->provider, rsc->type); standard 736 daemons/controld/controld_execd.c crm_trace("Including additional digests for %s::%s:%s", rsc->standard, rsc->provider, rsc->type); standard 789 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, entry->rsc.standard); standard 2481 daemons/controld/controld_execd.c crm_xml_add(iter, XML_AGENT_ATTR_CLASS, rsc->standard); standard 2643 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, XML_AGENT_ATTR_CLASS); standard 2647 daemons/controld/controld_execd.c if (standard && type) { standard 2649 daemons/controld/controld_execd.c op->rsc_id, standard, standard 2651 daemons/controld/controld_execd.c rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type); standard 129 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); standard 134 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); standard 139 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type, version); standard 188 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 197 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); standard 233 daemons/controld/controld_metadata.c rsc->standard, rsc->provider, rsc->type); standard 265 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 909 daemons/controld/controld_remote_ra.c info->standard = strdup(PCMK_RESOURCE_CLASS_OCF); standard 306 daemons/execd/cts-exec-helper.c rsc_info->id, rsc_info->standard, standard 789 daemons/execd/execd_commands.c get_uniform_rc(const char *standard, const char *action, int rc) standard 791 daemons/execd/execd_commands.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 793 daemons/execd/execd_commands.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 795 daemons/execd/execd_commands.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__str_casei)) { standard 797 daemons/execd/execd_commands.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART, pcmk__str_casei)) { standard 800 daemons/execd/execd_commands.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 812 daemons/execd/execd_commands.c return get_uniform_rc(action->standard, cmd->action, action->rc); standard 424 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; standard 429 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 432 daemons/fenced/pacemaker-fenced.c if (!pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 814 daemons/fenced/pacemaker-fenced.c const char *standard = NULL; standard 818 daemons/fenced/pacemaker-fenced.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 820 daemons/fenced/pacemaker-fenced.c if (!pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 95 include/crm/common/ipc_controld.h const char *rsc_long_id, const char *standard, standard 99 include/crm/common/ipc_controld.h const char *rsc_long_id, const char *standard, standard 150 include/crm/common/util.h uint32_t pcmk_get_ra_caps(const char *standard); standard 151 include/crm/common/util.h char *crm_generate_ra_key(const char *standard, const char *provider, standard 153 include/crm/common/util.h int crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 259 include/crm/common/util.h bool crm_provider_required(const char *standard); standard 259 include/crm/lrmd.h char *standard; standard 270 include/crm/lrmd.h lrmd_rsc_info_t *lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 339 include/crm/lrmd.h const char *standard, standard 451 include/crm/lrmd.h const char *standard, standard 465 include/crm/lrmd.h const char *standard, const char *provider); standard 525 include/crm/lrmd.h int (*get_metadata_params) (lrmd_t *lrmd, const char *standard, standard 162 include/crm/pengine/common.h const char *standard; standard 128 include/crm/services.h char *standard; standard 189 include/crm/services.h GList *resources_list_providers(const char *standard); standard 200 include/crm/services.h GList *resources_list_agents(const char *standard, const char *provider); standard 219 include/crm/services.h gboolean resources_agent_exists(const char *standard, const char *provider, const char *agent); standard 242 include/crm/services.h svc_action_t *resources_action_create(const char *name, 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 if (!standard && !provider && !type) { standard 100 lib/common/agents.c (standard? standard : ""), standard 120 lib/common/agents.c crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 125 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); standard 126 lib/common/agents.c *standard = NULL; standard 135 lib/common/agents.c *standard = strndup(spec, colon - spec); standard 138 lib/common/agents.c if (pcmk_is_set(pcmk_get_ra_caps(*standard), pcmk_ra_cap_provider)) { standard 141 lib/common/agents.c free(*standard); standard 149 lib/common/agents.c free(*standard); standard 159 lib/common/agents.c bool crm_provider_required(const char *standard); standard 170 lib/common/agents.c crm_provider_required(const char *standard) standard 172 lib/common/agents.c return pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider); standard 493 lib/common/ipc_controld.c const char *rsc_long_id, const char *standard, standard 531 lib/common/ipc_controld.c crm_xml_add(xml_rsc, XML_AGENT_ATTR_CLASS, standard); standard 569 lib/common/ipc_controld.c const char *standard, const char *provider, standard 577 lib/common/ipc_controld.c standard, provider, type); standard 600 lib/common/ipc_controld.c const char *standard, const char *provider, standard 608 lib/common/ipc_controld.c standard, provider, type); standard 803 lib/fencing/st_client.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); standard 1539 lib/lrmd/lrmd_client.c lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 1549 lib/lrmd/lrmd_client.c if (standard) { standard 1550 lib/lrmd/lrmd_client.c rsc_info->standard = strdup(standard); standard 1551 lib/lrmd/lrmd_client.c CRM_ASSERT(rsc_info->standard); standard 1567 lib/lrmd/lrmd_client.c return lrmd_new_rsc_info(rsc_info->id, rsc_info->standard, standard 1579 lib/lrmd/lrmd_client.c free(rsc_info->standard); standard 1751 lib/lrmd/lrmd_client.c lrmd_api_get_metadata(lrmd_t *lrmd, const char *standard, const char *provider, standard 1755 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, standard 1760 lib/lrmd/lrmd_client.c lrmd_api_get_metadata_params(lrmd_t *lrmd, const char *standard, standard 1768 lib/lrmd/lrmd_client.c if (!standard || !type) { standard 1773 lib/lrmd/lrmd_client.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 1782 lib/lrmd/lrmd_client.c action = resources_action_create(type, standard, provider, type, standard 1790 lib/lrmd/lrmd_client.c standard, provider, type); standard 1796 lib/lrmd/lrmd_client.c standard, provider, type); standard 1803 lib/lrmd/lrmd_client.c standard, provider, type); standard 23 lib/pengine/clone.c pe__force_anon(const char *standard, pe_resource_t *rsc, const char *rid, standard 33 lib/pengine/clone.c rsc->id, standard, rid); standard 104 lib/pengine/complex.c .standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS), standard 195 lib/pengine/native.c const char *standard = crm_element_value(rsc->xml, XML_AGENT_ATTR_CLASS); standard 196 lib/pengine/native.c uint32_t ra_caps = pcmk_get_ra_caps(standard); standard 212 lib/pengine/native.c pe__force_anon(standard, parent, rsc->id, data_set); standard 227 lib/pengine/native.c rsc->id, standard); standard 47 lib/pengine/pe_status_private.h void pe__force_anon(const char *standard, pe_resource_t *rsc, const char *rid, standard 1344 lib/pengine/rules.c !pcmk__str_eq(class, rule_data->rsc_data->standard, pcmk__str_none)) { standard 1345 lib/pengine/rules.c crm_trace("Class doesn't match: %s != %s", class, rule_data->rsc_data->standard); standard 1002 lib/pengine/utils.c .standard = crm_element_value(action->rsc->xml, XML_AGENT_ATTR_CLASS), standard 1098 lib/pengine/utils.c if (pcmk_is_set(pcmk_get_ra_caps(rsc_rule_data.standard), standard 109 lib/services/services.c return pcmk__strcase_any_of(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 127 lib/services/services.c expand_resource_class(const char *rsc, const char *standard, const char *agent) standard 131 lib/services/services.c if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0) { standard 143 lib/services/services.c expanded_class = strdup(standard); standard 165 lib/services/services.c resources_action_create(const char *name, const char *standard, standard 183 lib/services/services.c if (pcmk__str_empty(standard)) { standard 187 lib/services/services.c ra_caps = pcmk_get_ra_caps(standard); standard 214 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); standard 237 lib/services/services.c if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 243 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 249 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 253 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 257 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 292 lib/services/services.c crm_err("Unknown resource standard: %s", op->standard); standard 450 lib/services/services.c op->standard, op->id); standard 453 lib/services/services.c op->standard, op->id); standard 508 lib/services/services.c free(op->standard); standard 526 lib/services/services.c crm_info("Cancelling %s operation %s", op->standard, op->id); standard 687 lib/services/services.c if (op->standard standard 688 lib/services/services.c && (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0)) { standard 692 lib/services/services.c } else if (op->standard && strcasecmp(op->standard, standard 840 lib/services/services.c const char *class = op->standard; standard 958 lib/services/services.c resources_list_providers(const char *standard) standard 960 lib/services/services.c if (pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider)) { standard 968 lib/services/services.c resources_list_agents(const char *standard, const char *provider) standard 970 lib/services/services.c if ((standard == NULL) standard 971 lib/services/services.c || (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0)) { standard 977 lib/services/services.c if (standard == NULL) { standard 1002 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 1004 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 1007 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 1011 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 1015 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 1024 lib/services/services.c resources_agent_exists(const char *standard, const char *provider, const char *agent) standard 1034 lib/services/services.c if (pcmk__str_eq(iter->data, standard, pcmk__str_none)) { standard 1046 lib/services/services.c has_providers = pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider); standard 1048 lib/services/services.c providers = resources_list_providers(standard); standard 1063 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SERVICE, pcmk__str_casei)) { standard 1079 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 1082 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)) { standard 1086 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__str_casei)) { standard 1091 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART, pcmk__str_casei)) { standard 1096 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 411 lib/services/services_linux.c } else if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 640 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 648 lib/services/services_linux.c } else if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS, pcmk__str_casei)) { standard 926 lib/services/services_linux.c if (pcmk_is_set(pcmk_get_ra_caps(op->standard), pcmk_ra_cap_stdin)) { standard 1354 tools/crm_resource.c char *standard = NULL; standard 1360 tools/crm_resource.c rc = crm_parse_agent_spec(agent_spec, &standard, &provider, &type); standard 1364 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard,