attr_name 374 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 390 daemons/controld/controld_schedulerd.c attr_name); attr_name 397 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 407 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 430 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 431 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); attr_name 250 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 256 include/crm/cib/internal.h const char *attr_id, const char *attr_name, const char *user_name, attr_name 261 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 157 lib/cib/cib_attrs.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 175 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 189 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 192 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 195 lib/cib/cib_attrs.c if (handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 214 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 279 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); attr_name 283 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 284 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 317 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 329 lib/cib/cib_attrs.c attr_name, attr_value, section, pcmk__s(set_name, "<null>"), attr_name 346 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *user_name, attr_name 356 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, attr_name, attr_name 361 lib/cib/cib_attrs.c pcmk__s(attr_name, "with unspecified name"), attr_name 372 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 381 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 385 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 387 lib/cib/cib_attrs.c if (rc != pcmk_rc_ok || handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 397 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 408 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 419 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 432 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 435 lib/cib/cib_attrs.c rc = handle_multiples(out, xml_search, attr_name); attr_name 451 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 463 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name, attr_name 474 lib/cib/cib_attrs.c const char *attr_name, char **attr_value, gboolean to_console, attr_name 487 lib/cib/cib_attrs.c attr_id, attr_name, user_name, &result); attr_name 506 lib/cib/cib_attrs.c const char *attr_name, const char *attr_value, gboolean to_console, attr_name 518 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name); attr_name 1800 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1811 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1819 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 1822 lib/common/xml.c attr_name, old_value, element); attr_name 1830 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1833 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 1836 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 1839 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1842 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 1943 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 1946 lib/common/xml.c attr_name, crm_element_value(new_xml, attr_name), attr_name 1952 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 504 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) attr_name 532 lib/pacemaker/pcmk_injections.c pcmk__xe_set_bool_attr(ticket_state_xml, attr_name, attr_value); attr_name 646 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = NULL; attr_name 651 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); attr_name 652 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 653 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 142 lib/pengine/rules_alerts.c const char *attr_name; attr_name 150 lib/pengine/rules_alerts.c attr_name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); attr_name 151 lib/pengine/rules_alerts.c if (attr_name) { attr_name 159 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 250 tools/attrd_updater.c static int send_attrd_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, attr_name 252 tools/attrd_updater.c static int send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 318 tools/attrd_updater.c if (options.attr_name) { attr_name 332 tools/attrd_updater.c g_free(options.attr_name); attr_name 333 tools/attrd_updater.c options.attr_name = options.attr_pattern; attr_name 337 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { attr_name 348 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); attr_name 357 tools/attrd_updater.c options.attr_name, options.attr_value, attr_name 367 tools/attrd_updater.c g_free(options.attr_name); attr_name 431 tools/attrd_updater.c send_attrd_query(pcmk__output_t *out, const char *attr_name, attr_name 462 tools/attrd_updater.c rc = pcmk__attrd_api_query(attrd_api, attr_node, attr_name, options); attr_name 466 tools/attrd_updater.c attr_name, pcmk_strerror(rc), rc); attr_name 470 tools/attrd_updater.c "Could not query value of %s: attribute does not exist", attr_name); attr_name 480 tools/attrd_updater.c send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 488 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 494 tools/attrd_updater.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, attr_options); attr_name 502 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 508 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, NULL, attr_name 516 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 108 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 113 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 165 tools/crm_resource_runtime.c const char * attr_id, const char * attr_name, attr_name 176 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 184 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 202 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 219 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 225 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 234 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 239 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 249 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 258 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 272 tools/crm_resource_runtime.c attr_name, NULL); attr_name 279 tools/crm_resource_runtime.c attr_name, &found_attr_id); attr_name 284 tools/crm_resource_runtime.c top_id, attr_name, found_attr_id); attr_name 297 tools/crm_resource_runtime.c crm_xml_add(rsc->xml, attr_name, attr_value); attr_name 304 tools/crm_resource_runtime.c attr_name, attr_value); attr_name 311 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 340 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &found_attr_id); attr_name 345 tools/crm_resource_runtime.c attr_name, found_attr_id); attr_name 357 tools/crm_resource_runtime.c rsc_attr_set, attr_name); attr_name 375 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, rsc_attr_id, attr_name, attr_name 391 tools/crm_resource_runtime.c ((attr_name == NULL)? "" : " name="), attr_name 392 tools/crm_resource_runtime.c pcmk__s(attr_name, ""), attr_value); attr_name 426 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); attr_name 430 tools/crm_resource_runtime.c attr_name, attr_value, attr_name 445 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 455 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 461 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 465 tools/crm_resource_runtime.c xml_remove_prop(rsc->xml, attr_name); attr_name 471 tools/crm_resource_runtime.c out->info(out, "Deleted attribute: %s", attr_name); attr_name 489 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &found_attr_id); attr_name 509 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, rsc_attr_id, attr_name, NULL); attr_name 522 tools/crm_resource_runtime.c ((attr_name == NULL)? "" : " name="), attr_name 523 tools/crm_resource_runtime.c pcmk__s(attr_name, "")); attr_name 45 tools/crm_ticket.c char *attr_name; attr_name 69 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 73 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); attr_name 74 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); attr_name 136 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); attr_name 138 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 142 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); attr_name 143 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 915 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { attr_name 922 tools/crm_ticket.c if (options.attr_name attr_name 950 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { attr_name 967 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); attr_name 997 tools/crm_ticket.c free(options.attr_name);