standard 674 daemons/controld/controld_cib.c || !crm_op_needs_metadata(rsc->standard, op->op_type)) { standard 702 daemons/controld/controld_cib.c rsc->standard, rsc->provider, rsc->type); standard 911 daemons/controld/controld_cib.c crm_xml_add(xml, PCMK_XA_CLASS, rsc->standard); standard 146 daemons/controld/controld_execd.c free(history->rsc.standard); standard 183 daemons/controld/controld_execd.c entry->rsc.standard = pcmk__str_copy(rsc->standard); standard 547 daemons/controld/controld_execd.c crm_xml_add(xml_rsc, PCMK_XA_CLASS, entry->rsc.standard); standard 1538 daemons/controld/controld_execd.c if ((md == NULL) && crm_op_needs_metadata(rsc->standard, standard 1555 daemons/controld/controld_execd.c rsc->id, rsc->standard, standard 2228 daemons/controld/controld_execd.c const char *standard = crm_element_value(xml, PCMK_XA_CLASS); standard 2232 daemons/controld/controld_execd.c if (standard && type) { standard 2234 daemons/controld/controld_execd.c op->rsc_id, standard, standard 2236 daemons/controld/controld_execd.c rsc = lrmd_new_rsc_info(op->rsc_id, standard, provider, type); standard 129 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 143 daemons/controld/controld_metadata.c if (strcmp(rsc->standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 190 daemons/controld/controld_metadata.c PCMK_XA_NAME, rsc->standard, rsc->provider, rsc->type); standard 227 daemons/controld/controld_metadata.c rsc->id, rsc->standard, ((rsc->provider == NULL)? "" : ":"), standard 258 daemons/controld/controld_metadata.c key = crm_generate_ra_key(rsc->standard, rsc->provider, rsc->type); standard 265 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 292 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 296 daemons/controld/controld_metadata.c rc = lrm_state_get_metadata(lrm_state, rsc->standard, rsc->provider, standard 300 daemons/controld/controld_metadata.c rsc->id, rsc->standard, standard 1052 daemons/controld/controld_remote_ra.c info->standard = pcmk__str_copy(PCMK_RESOURCE_CLASS_OCF); standard 318 daemons/execd/cts-exec-helper.c rsc_info->id, rsc_info->standard, standard 842 daemons/execd/execd_commands.c code = services_result2ocf(action->standard, cmd->action, action->rc); standard 65 include/crm/common/agents.h uint32_t pcmk_get_ra_caps(const char *standard); standard 66 include/crm/common/agents.h char *crm_generate_ra_key(const char *standard, const char *provider, standard 68 include/crm/common/agents.h int crm_parse_agent_spec(const char *spec, char **standard, char **provider, 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 91 include/crm/fencing/internal.h enum stonith_namespace standard, standard 153 include/crm/lrmd.h char *standard; standard 164 include/crm/lrmd.h lrmd_rsc_info_t *lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 252 include/crm/lrmd.h int (*register_rsc) (lrmd_t *lrmd, const char *rsc_id, const char *standard, standard 379 include/crm/lrmd.h int (*get_metadata) (lrmd_t *lrmd, const char *standard, standard 398 include/crm/lrmd.h const char *standard, const char *provider); standard 466 include/crm/lrmd.h int (*get_metadata_params) (lrmd_t *lrmd, const char *standard, standard 35 include/crm/pengine/common.h const char *standard; standard 115 include/crm/services.h char *standard; standard 186 include/crm/services.h GList *resources_list_providers(const char *standard); standard 198 include/crm/services.h GList *resources_list_agents(const char *standard, const char *provider); standard 218 include/crm/services.h gboolean resources_agent_exists(const char *standard, const char *provider, standard 239 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, standard 357 include/crm/services.h enum ocf_exitcode services_result2ocf(const char *standard, const char *action, standard 40 include/crm/services_internal.h const char *standard, standard 27 lib/common/agents.c pcmk_get_ra_caps(const char *standard) standard 32 lib/common/agents.c if (standard == NULL) { standard 35 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF)) { standard 40 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_STONITH)) { standard 52 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB)) { standard 55 lib/common/agents.c } else if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) standard 56 lib/common/agents.c || !strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE)) { standard 84 lib/common/agents.c crm_generate_ra_key(const char *standard, const char *provider, standard 87 lib/common/agents.c bool std_empty = pcmk__str_empty(standard); standard 96 lib/common/agents.c standard, standard 116 lib/common/agents.c crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 121 lib/common/agents.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); standard 122 lib/common/agents.c *standard = NULL; standard 131 lib/common/agents.c *standard = strndup(spec, colon - spec); standard 134 lib/common/agents.c if (pcmk_is_set(pcmk_get_ra_caps(*standard), pcmk_ra_cap_provider)) { standard 137 lib/common/agents.c free(*standard); standard 145 lib/common/agents.c free(*standard); standard 495 lib/common/ipc_controld.c const char *rsc_long_id, const char *standard, standard 533 lib/common/ipc_controld.c crm_xml_add(xml_rsc, PCMK_XA_CLASS, standard); standard 571 lib/common/ipc_controld.c const char *standard, const char *provider, standard 581 lib/common/ipc_controld.c standard, provider, type); standard 604 lib/common/ipc_controld.c const char *standard, const char *provider, standard 614 lib/common/ipc_controld.c standard, provider, type); standard 1113 lib/common/rules.c const char *standard = NULL; standard 1131 lib/common/rules.c standard = crm_element_value(rsc_expression, PCMK_XA_CLASS); standard 1132 lib/common/rules.c if ((standard != NULL) standard 1133 lib/common/rules.c && !pcmk__str_eq(standard, rule_input->rsc_standard, pcmk__str_none)) { standard 1136 lib/common/rules.c id, pcmk__s(rule_input->rsc_standard, ""), standard); standard 1161 lib/common/rules.c id, pcmk__s(standard, ""), standard 616 lib/fencing/st_actions.c svc_action->standard = strdup(PCMK_RESOURCE_CLASS_STONITH); standard 292 lib/fencing/st_client.c create_device_registration_xml(const char *id, enum stonith_namespace standard, standard 301 lib/fencing/st_client.c if (standard == st_namespace_any) { standard 302 lib/fencing/st_client.c standard = stonith_get_namespace(agent, NULL); standard 304 lib/fencing/st_client.c if (standard == st_namespace_lha) { standard 313 lib/fencing/st_client.c if ((standard != st_namespace_any) && (standard != st_namespace_invalid)) { standard 315 lib/fencing/st_client.c stonith_namespace2text(standard)); standard 1871 lib/lrmd/lrmd_client.c lrmd_new_rsc_info(const char *rsc_id, const char *standard, standard 1877 lib/lrmd/lrmd_client.c rsc_info->standard = pcmk__str_copy(standard); standard 1886 lib/lrmd/lrmd_client.c return lrmd_new_rsc_info(rsc_info->id, rsc_info->standard, standard 1898 lib/lrmd/lrmd_client.c free(rsc_info->standard); standard 2080 lib/lrmd/lrmd_client.c lrmd_api_get_metadata(lrmd_t *lrmd, const char *standard, const char *provider, standard 2084 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, standard 2089 lib/lrmd/lrmd_client.c lrmd_api_get_metadata_params(lrmd_t *lrmd, const char *standard, standard 2097 lib/lrmd/lrmd_client.c if (!standard || !type) { standard 2102 lib/lrmd/lrmd_client.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_STONITH, pcmk__str_casei)) { standard 2111 lib/lrmd/lrmd_client.c action = services__create_resource_action(type, standard, provider, type, standard 2127 lib/lrmd/lrmd_client.c standard, provider, type); standard 2134 lib/lrmd/lrmd_client.c standard, provider, type); standard 2548 lib/lrmd/lrmd_client.c if ((rsc == NULL) || (rsc->standard == NULL) || (rsc->type == NULL)) { standard 2557 lib/lrmd/lrmd_client.c if (strcmp(rsc->standard, PCMK_RESOURCE_CLASS_STONITH) == 0) { standard 2564 lib/lrmd/lrmd_client.c rsc->standard, rsc->provider, standard 205 lib/pengine/clone.c pe__force_anon(const char *standard, pcmk_resource_t *rsc, const char *rid, standard 213 lib/pengine/clone.c "anonymous clones", rsc->id, standard, rid); standard 179 lib/pengine/complex.c .standard = crm_element_value(rsc->priv->xml, PCMK_XA_CLASS), standard 208 lib/pengine/native.c const char *standard = crm_element_value(rsc->priv->xml, PCMK_XA_CLASS); standard 209 lib/pengine/native.c uint32_t ra_caps = pcmk_get_ra_caps(standard); standard 223 lib/pengine/native.c pe__force_anon(standard, parent, rsc->id, scheduler); standard 238 lib/pengine/native.c rsc->id, standard); standard 691 lib/pengine/pe_actions.c .standard = crm_element_value(rsc->priv->xml, PCMK_XA_CLASS), standard 779 lib/pengine/pe_actions.c if (pcmk_is_set(pcmk_get_ra_caps(rsc_rule_data.standard), standard 71 lib/pengine/pe_status_private.h void pe__force_anon(const char *standard, pcmk_resource_t *rsc, const char *rid, standard 46 lib/pengine/rules.c new->rsc_standard = old->rsc_data->standard; standard 99 lib/services/services.c return pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 117 lib/services/services.c expand_resource_class(const char *rsc, const char *standard, const char *agent) standard 122 lib/services/services.c if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0) { standard 146 lib/services/services.c expanded_class = pcmk__str_copy(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 307 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 311 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 315 lib/services/services.c crm_info("Unknown resource standard: %s", op->standard); standard 328 lib/services/services.c resources_action_create(const char *name, const char *standard, standard 333 lib/services/services.c svc_action_t *op = services__create_resource_action(name, standard, standard 412 lib/services/services.c action->standard = pcmk__str_copy(PCMK_RESOURCE_CLASS_ALERT); standard 508 lib/services/services.c op->standard, op->id); standard 511 lib/services/services.c op->standard, op->id); standard 540 lib/services/services.c services_result2ocf(const char *standard, const char *action, int exit_status) standard 542 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 546 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 552 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_LSB, standard 559 lib/services/services.c ((standard == NULL)? "unspecified" : standard)); standard 602 lib/services/services.c free(op->standard); standard 620 lib/services/services.c crm_info("Cancelling %s operation %s", op->standard, op->id); standard 798 lib/services/services.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD, standard 947 lib/services/services.c const char *class = op->standard; standard 1061 lib/services/services.c resources_list_providers(const char *standard) standard 1063 lib/services/services.c if (pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider)) { standard 1071 lib/services/services.c resources_list_agents(const char *standard, const char *provider) standard 1073 lib/services/services.c if ((standard == NULL) standard 1075 lib/services/services.c || (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0) standard 1083 lib/services/services.c if (standard == NULL) { standard 1105 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 1108 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 1112 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 1121 lib/services/services.c resources_agent_exists(const char *standard, const char *provider, const char *agent) standard 1131 lib/services/services.c if (pcmk__str_eq(iter->data, standard, pcmk__str_none)) { standard 1143 lib/services/services.c has_providers = pcmk_is_set(pcmk_get_ra_caps(standard), pcmk_ra_cap_provider); standard 1145 lib/services/services.c providers = resources_list_providers(standard); standard 1161 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SERVICE, pcmk__str_casei)) { standard 1179 lib/services/services.c if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 1183 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei)) { standard 1188 lib/services/services.c } else if (pcmk__str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD, pcmk__str_casei)) { standard 1295 lib/services/services.c if ((action == NULL) || (action->standard == NULL)) { standard 1297 lib/services/services.c } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_STONITH, standard 1300 lib/services/services.c } else if (pcmk__str_eq(action->standard, PCMK_RESOURCE_CLASS_ALERT, standard 455 lib/services/services_linux.c } else if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_casei)) { standard 653 lib/services/services_linux.c !pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, pcmk__str_none)) { standard 767 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 772 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 798 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 803 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 829 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 834 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 861 lib/services/services_linux.c if ((op == NULL) || (op->standard == NULL)) { standard 866 lib/services/services_linux.c if (pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB, pcmk__str_casei) standard 932 lib/services/services_linux.c && pcmk__str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF, standard 1245 lib/services/services_linux.c if (pcmk_is_set(pcmk_get_ra_caps(op->standard), pcmk_ra_cap_stdin)) { standard 1092 tools/crm_resource.c char *standard = NULL; standard 1106 tools/crm_resource.c rc = crm_parse_agent_spec(agent_spec, &standard, &provider, &type); standard 1110 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard,