standard 450 fencing/main.c const char *standard = NULL; standard 455 fencing/main.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 458 fencing/main.c if (safe_str_neq(standard, PCMK_RESOURCE_CLASS_STONITH)) { standard 846 fencing/main.c const char *standard = NULL; standard 850 fencing/main.c standard = crm_element_value(match, XML_AGENT_ATTR_CLASS); standard 852 fencing/main.c if (safe_str_neq(standard, PCMK_RESOURCE_CLASS_STONITH)) { standard 188 include/crm/common/util.h bool crm_provider_required(const char *standard); standard 189 include/crm/common/util.h int crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 168 include/crm/services.h char *standard; standard 226 include/crm/services.h GList *resources_list_providers(const char *standard); standard 237 include/crm/services.h GList *resources_list_agents(const char *standard, const char *provider); standard 268 include/crm/services.h svc_action_t *resources_action_create(const char *name, const char *standard, standard 1481 lib/common/utils.c crm_provider_required(const char *standard) standard 1483 lib/common/utils.c CRM_CHECK(standard != NULL, return FALSE); standard 1491 lib/common/utils.c if (!strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF)) { standard 1512 lib/common/utils.c crm_parse_agent_spec(const char *spec, char **standard, char **provider, standard 1517 lib/common/utils.c CRM_CHECK(spec && standard && provider && type, return -EINVAL); standard 1518 lib/common/utils.c *standard = NULL; standard 1527 lib/common/utils.c *standard = calloc(colon - spec + 1, sizeof(char)); standard 1528 lib/common/utils.c strncpy(*standard, spec, colon - spec); standard 1531 lib/common/utils.c if (crm_provider_required(*standard)) { standard 1534 lib/common/utils.c free(*standard); standard 1543 lib/common/utils.c free(*standard); standard 124 lib/services/services.c return (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) standard 125 lib/services/services.c || safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_UPSTART)) standard 142 lib/services/services.c expand_resource_class(const char *rsc, const char *standard, const char *agent) standard 146 lib/services/services.c if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0) { standard 158 lib/services/services.c expanded_class = strdup(standard); standard 165 lib/services/services.c resources_action_create(const char *name, const char *standard, const char *provider, standard 181 lib/services/services.c if (crm_strlen_zero(standard)) { standard 186 lib/services/services.c if (crm_provider_required(standard) && crm_strlen_zero(provider)) { standard 210 lib/services/services.c op->standard = expand_resource_class(name, standard, agent); standard 218 lib/services/services.c safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_HB) || standard 220 lib/services/services.c safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB))) { standard 225 lib/services/services.c if (crm_provider_required(op->standard)) { standard 237 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 250 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_HB) == 0) { standard 288 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 292 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 296 lib/services/services.c } else if (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 347 lib/services/services.c crm_err("Unknown resource standard: %s", op->standard); standard 599 lib/services/services.c free(op->standard); standard 617 lib/services/services.c crm_info("Cancelling %s operation %s", op->standard, op->id); standard 683 lib/services/services.c op->standard, op->id); standard 774 lib/services/services.c if (op->standard standard 775 lib/services/services.c && (strcasecmp(op->standard, PCMK_RESOURCE_CLASS_UPSTART) == 0)) { standard 779 lib/services/services.c } else if (op->standard && strcasecmp(op->standard, standard 1273 lib/services/services.c const char *class = op->standard; standard 1415 lib/services/services.c resources_list_providers(const char *standard) standard 1417 lib/services/services.c if (crm_provider_required(standard)) { standard 1425 lib/services/services.c resources_list_agents(const char *standard, const char *provider) standard 1427 lib/services/services.c if ((standard == NULL) standard 1428 lib/services/services.c || (strcasecmp(standard, PCMK_RESOURCE_CLASS_SERVICE) == 0)) { standard 1434 lib/services/services.c if (standard == NULL) { standard 1459 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_OCF) == 0) { standard 1461 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_LSB) == 0) { standard 1464 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_HB) == 0) { standard 1468 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_SYSTEMD) == 0) { standard 1472 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_UPSTART) == 0) { standard 1476 lib/services/services.c } else if (strcasecmp(standard, PCMK_RESOURCE_CLASS_NAGIOS) == 0) { standard 171 lib/services/services_linux.c if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_OCF) == FALSE) { standard 332 lib/services/services_linux.c if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_LSB) standard 340 lib/services/services_linux.c } else if (safe_str_eq(op->standard, PCMK_RESOURCE_CLASS_NAGIOS)) { standard 740 lrmd/lrmd.c get_uniform_rc(const char *standard, const char *action, int rc) standard 742 lrmd/lrmd.c if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_OCF)) { standard 744 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_STONITH)) { standard 746 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_SYSTEMD)) { standard 748 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_UPSTART)) { standard 751 lrmd/lrmd.c } else if (safe_str_eq(standard, PCMK_RESOURCE_CLASS_NAGIOS)) { standard 764 lrmd/lrmd.c if (safe_str_eq(action->standard, PCMK_RESOURCE_CLASS_HB)) { standard 768 lrmd/lrmd.c return get_uniform_rc(action->standard, cmd->action, action->rc); standard 527 tools/crm_resource.c char *standard = NULL; standard 533 tools/crm_resource.c rc = crm_parse_agent_spec(optarg, &standard, &provider, &type); standard 535 tools/crm_resource.c rc = lrmd_conn->cmds->get_metadata(lrmd_conn, standard,