attr_name 373 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 389 daemons/controld/controld_schedulerd.c attr_name); attr_name 396 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 406 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 429 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 430 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); attr_name 330 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 336 include/crm/cib/internal.h const char *attr_id, const char *attr_name, const char *user_name, attr_name 341 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 29 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 36 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 42 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 48 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 26 include/crm/lrmd_internal.h const char *attr_name, const char *attr_value); attr_name 56 lib/cib/cib_attrs.c const char *attr_name, const char *user_name, xmlNode **result) attr_name 121 lib/cib/cib_attrs.c if (attr_id && attr_name) { attr_name 124 lib/cib/cib_attrs.c "and @" XML_ATTR_NAME "='", attr_name, "']", NULL); attr_name 129 lib/cib/cib_attrs.c } else if (attr_name) { attr_name 130 lib/cib/cib_attrs.c pcmk__g_strcat(xpath, "[@" XML_ATTR_NAME "='", attr_name, "']", NULL); attr_name 139 lib/cib/cib_attrs.c attr_name, section, pcmk__s(node_uuid, "<null>"), attr_name 153 lib/cib/cib_attrs.c handle_multiples(pcmk__output_t *out, xmlNode *search, const char *attr_name) attr_name 158 lib/cib/cib_attrs.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 174 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 187 lib/cib/cib_attrs.c && ((attr_id != NULL) || (attr_name != NULL)) attr_name 191 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 194 lib/cib/cib_attrs.c if (handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 213 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 278 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); attr_name 282 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 283 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 316 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 328 lib/cib/cib_attrs.c attr_name, attr_value, section, pcmk__s(set_name, "<null>"), attr_name 345 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *user_name, attr_name 355 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, attr_name, attr_name 360 lib/cib/cib_attrs.c pcmk__s(attr_name, "with unspecified name"), attr_name 371 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 380 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 384 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 386 lib/cib/cib_attrs.c if (rc != pcmk_rc_ok || handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 396 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 407 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 418 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 431 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 434 lib/cib/cib_attrs.c rc = handle_multiples(out, xml_search, attr_name); attr_name 450 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 462 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name, attr_name 473 lib/cib/cib_attrs.c const char *attr_name, char **attr_value, gboolean to_console, attr_name 486 lib/cib/cib_attrs.c attr_id, attr_name, user_name, &result); attr_name 505 lib/cib/cib_attrs.c const char *attr_name, const char *attr_value, gboolean to_console, attr_name 517 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name); attr_name 1765 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1776 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1784 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 1787 lib/common/xml.c attr_name, old_value, element); attr_name 1795 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1798 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 1801 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 1804 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1807 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 1908 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 1911 lib/common/xml.c attr_name, pcmk__xml_attr_value(new_attr), attr_name 1917 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, pcmk__xf_acl_write)) { attr_name 128 lib/lrmd/lrmd_alerts.c enum pcmk__alert_flags kind, const char *attr_name, attr_name 156 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { attr_name 159 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); attr_name 239 lib/lrmd/lrmd_alerts.c const char *attr_name, const char *attr_value) attr_name 250 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_attribute_name, attr_name); attr_name 254 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_attribute, attr_name, attr_name 508 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) attr_name 536 lib/pacemaker/pcmk_injections.c pcmk__xe_set_bool_attr(ticket_state_xml, attr_name, attr_value); attr_name 657 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = NULL; attr_name 665 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); attr_name 666 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe__node_attribute_calculated(node, attr_name, rsc, node_type, attr_name 668 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 137 lib/pengine/rules_alerts.c const char *attr_name; attr_name 145 lib/pengine/rules_alerts.c attr_name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); attr_name 146 lib/pengine/rules_alerts.c if (attr_name) { attr_name 154 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); attr_name 46 tools/attrd_updater.c gchar *attr_name; attr_name 133 tools/attrd_updater.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 253 tools/attrd_updater.c static int send_attrd_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, attr_name 255 tools/attrd_updater.c static int send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 321 tools/attrd_updater.c if (options.attr_name) { attr_name 335 tools/attrd_updater.c g_free(options.attr_name); attr_name 336 tools/attrd_updater.c options.attr_name = options.attr_pattern; attr_name 340 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { attr_name 351 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); attr_name 360 tools/attrd_updater.c options.attr_name, options.attr_value, attr_name 370 tools/attrd_updater.c g_free(options.attr_name); attr_name 434 tools/attrd_updater.c send_attrd_query(pcmk__output_t *out, const char *attr_name, attr_name 466 tools/attrd_updater.c rc = pcmk__attrd_api_query(attrd_api, attr_node, attr_name, options); attr_name 470 tools/attrd_updater.c attr_name, pcmk_rc_str(rc), rc); attr_name 474 tools/attrd_updater.c "Could not query value of %s: attribute does not exist", attr_name); attr_name 484 tools/attrd_updater.c send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 492 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 498 tools/attrd_updater.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, attr_options); attr_name 506 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 512 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, NULL, attr_name 520 tools/attrd_updater.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 91 tools/crm_attribute.c gchar *attr_name; attr_name 122 tools/crm_attribute.c if (options.attr_name) { attr_name 123 tools/crm_attribute.c g_free(options.attr_name); attr_name 128 tools/crm_attribute.c options.attr_name = g_strdup(score_name); attr_name 131 tools/crm_attribute.c options.attr_name = NULL; attr_name 189 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 291 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, attr_name 330 tools/crm_attribute.c send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 339 tools/crm_attribute.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, opts); attr_name 343 tools/crm_attribute.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_name 351 tools/crm_attribute.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 367 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); attr_name 370 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 377 tools/crm_attribute.c attr_name, options.attr_value, NULL); attr_name 415 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); attr_name 443 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); attr_name 445 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 452 tools/crm_attribute.c attr_name, options.attr_value, NULL, attr_name 465 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); attr_name 490 tools/crm_attribute.c options.attr_name, options.attr_value, attr_name 550 tools/crm_attribute.c options.attr_name, NULL, &result); attr_name 557 tools/crm_attribute.c const char *attr_name = options.attr_name; attr_name 561 tools/crm_attribute.c out->message(out, "attribute", type, attr_id, attr_name, attr_default, attr_name 639 tools/crm_attribute.c return options.command != 'D' || options.attr_name != NULL || options.attr_pattern != NULL; attr_name 729 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { attr_name 804 tools/crm_attribute.c if (options.attr_name) { attr_name 818 tools/crm_attribute.c g_free(options.attr_name); attr_name 819 tools/crm_attribute.c options.attr_name = options.attr_pattern; attr_name 832 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, attr_name 835 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); attr_name 864 tools/crm_attribute.c g_free(options.attr_name); attr_name 114 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 120 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 80 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, char **value) attr_name 118 tools/crm_resource_runtime.c if (attr_name != NULL) { attr_name 122 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "@" XML_NVPAIR_ATTR_NAME "=\"", attr_name, "\"", attr_name 140 tools/crm_resource_runtime.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 166 tools/crm_resource_runtime.c const char * attr_id, const char * attr_name, attr_name 178 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 186 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 204 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 222 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 228 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 239 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 244 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 254 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 263 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 277 tools/crm_resource_runtime.c attr_name, NULL); attr_name 284 tools/crm_resource_runtime.c attr_name, &found_attr_id); attr_name 289 tools/crm_resource_runtime.c top_id, attr_name, found_attr_id); attr_name 302 tools/crm_resource_runtime.c crm_xml_add(rsc->xml, attr_name, attr_value); attr_name 309 tools/crm_resource_runtime.c attr_name, attr_value); attr_name 316 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 345 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &found_attr_id); attr_name 350 tools/crm_resource_runtime.c attr_name, found_attr_id); attr_name 362 tools/crm_resource_runtime.c rsc_attr_set, attr_name); attr_name 380 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, rsc_attr_id, attr_name, attr_name 396 tools/crm_resource_runtime.c ((attr_name == NULL)? "" : " name="), attr_name 397 tools/crm_resource_runtime.c pcmk__s(attr_name, ""), attr_value); attr_name 431 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); attr_name 435 tools/crm_resource_runtime.c attr_name, attr_value, attr_name 450 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 460 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 466 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 470 tools/crm_resource_runtime.c xml_remove_prop(rsc->xml, attr_name); attr_name 476 tools/crm_resource_runtime.c out->info(out, "Deleted attribute: %s", attr_name); attr_name 494 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &found_attr_id); attr_name 514 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, rsc_attr_id, attr_name, NULL); attr_name 527 tools/crm_resource_runtime.c ((attr_name == NULL)? "" : " name="), attr_name 528 tools/crm_resource_runtime.c pcmk__s(attr_name, "")); attr_name 46 tools/crm_ticket.c char *attr_name; attr_name 70 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 74 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); attr_name 75 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); attr_name 137 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); attr_name 139 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 143 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); attr_name 144 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); attr_name 473 tools/crm_ticket.c get_ticket_state_attr(gchar *ticket_id, const char *attr_name, const char **attr_value, attr_name 486 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 919 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { attr_name 926 tools/crm_ticket.c if (options.attr_name attr_name 954 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { attr_name 971 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); attr_name 1001 tools/crm_ticket.c free(options.attr_name);