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 397 daemons/controld/controld_schedulerd.c pcmk__xe_id(match), attr_name, attr_value); attr_name 407 daemons/controld/controld_schedulerd.c PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS, attr_name, attr_name, attr_name 435 daemons/controld/controld_schedulerd.c PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS, attr_name); attr_name 436 daemons/controld/controld_schedulerd.c crm_xml_add(xml, PCMK_XA_NAME, attr_name); attr_name 298 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 304 include/crm/cib/internal.h const char *attr_id, const char *attr_name, const char *user_name, attr_name 309 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 483 include/pacemaker.h const char *attr_name, const char *attr_default); attr_name 75 include/pcmki/pcmki_ticket.h const char *ticket_id, const char *attr_name, attr_name 55 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 @" PCMK_XA_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, "[@" PCMK_XA_NAME "='", attr_name, "']", NULL); attr_name 140 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 156 lib/cib/cib_attrs.c pcmk__warn_multiple_name_matches(out, search, attr_name); attr_name 166 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 179 lib/cib/cib_attrs.c && ((attr_id != NULL) || (attr_name != NULL)) attr_name 183 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 186 lib/cib/cib_attrs.c if (handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 205 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 272 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); attr_name 276 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 277 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 313 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 332 lib/cib/cib_attrs.c attr_name, attr_value, section, pcmk__s(set_name, "<null>"), attr_name 347 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *user_name, attr_name 357 lib/cib/cib_attrs.c rc = find_attr(cib, section, node_uuid, set_type, set_name, attr_id, attr_name, attr_name 362 lib/cib/cib_attrs.c pcmk__s(attr_name, "with unspecified name"), attr_name 373 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 382 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 386 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 388 lib/cib/cib_attrs.c if (rc != pcmk_rc_ok || handle_multiples(out, xml_search, attr_name) == ENOTUNIQ) { attr_name 398 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 415 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 425 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 438 lib/cib/cib_attrs.c attr_name, user_name, &xml_search); attr_name 441 lib/cib/cib_attrs.c rc = handle_multiples(out, xml_search, attr_name); attr_name 457 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 469 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name, attr_name 480 lib/cib/cib_attrs.c const char *attr_name, char **attr_value, gboolean to_console, attr_name 493 lib/cib/cib_attrs.c attr_id, attr_name, user_name, &result); attr_name 513 lib/cib/cib_attrs.c const char *attr_name, const char *attr_value, gboolean to_console, attr_name 525 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name); attr_name 959 lib/common/nvpair.c crm_meta_name(const char *attr_name) attr_name 963 lib/common/nvpair.c CRM_ASSERT(!pcmk__str_empty(attr_name)); attr_name 965 lib/common/nvpair.c env_name = crm_strdup_printf(CRM_META "_%s", attr_name); attr_name 987 lib/common/nvpair.c crm_meta_value(GHashTable *meta, const char *attr_name) attr_name 989 lib/common/nvpair.c if ((meta != NULL) && (attr_name != NULL)) { attr_name 990 lib/common/nvpair.c char *key = crm_meta_name(attr_name); attr_name 1239 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1250 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1261 lib/common/xml.c attr_name, old_value, element); attr_name 1269 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 1272 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 1275 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 1278 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 1281 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 1382 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 1385 lib/common/xml.c attr_name, pcmk__xml_attr_value(new_attr), attr_name 1391 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 495 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) attr_name 528 lib/pacemaker/pcmk_injections.c pcmk__xe_set_bool_attr(ticket_state_xml, attr_name, attr_value); attr_name 637 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = NULL; attr_name 648 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); attr_name 649 lib/pacemaker/pcmk_sched_promotable.c attr_value = pcmk__node_attr(node, attr_name, target, node_type); attr_name 650 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 260 lib/pacemaker/pcmk_ticket.c const char *ticket_id, const char *attr_name, attr_name 269 lib/pacemaker/pcmk_ticket.c if (ticket_id == NULL || attr_name == NULL) { attr_name 276 lib/pacemaker/pcmk_ticket.c attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 280 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_value); attr_name 282 lib/pacemaker/pcmk_ticket.c out->message(out, "ticket-attribute", ticket_id, attr_name, attr_default); attr_name 292 lib/pacemaker/pcmk_ticket.c const char *attr_name, const char *attr_default) attr_name 303 lib/pacemaker/pcmk_ticket.c rc = pcmk__ticket_get_attr(out, scheduler, ticket_id, attr_name, attr_default); attr_name 76 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c verify_results(xmlNode *xml, const char *ticket_id, const char *attr_name, attr_name 100 lib/pacemaker/tests/pcmk_ticket/pcmk_ticket_get_attr_test.c assert_string_equal(crm_element_value(node, PCMK_XA_NAME), attr_name); attr_name 143 lib/pengine/rules_alerts.c const char *attr_name; attr_name 151 lib/pengine/rules_alerts.c attr_name = crm_element_value(attr, PCMK_XA_NAME); attr_name 152 lib/pengine/rules_alerts.c if (attr_name) { attr_name 160 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 66 tools/crm_attribute.c gchar *attr_name; attr_name 107 tools/crm_attribute.c if (options.attr_name != NULL) { attr_name 108 tools/crm_attribute.c g_free(options.attr_name); attr_name 110 tools/crm_attribute.c options.attr_name = g_strdup(optarg); attr_name 120 tools/crm_attribute.c if (options.attr_name) { attr_name 121 tools/crm_attribute.c g_free(options.attr_name); attr_name 126 tools/crm_attribute.c options.attr_name = g_strdup(score_name); attr_name 129 tools/crm_attribute.c options.attr_name = NULL; attr_name 370 tools/crm_attribute.c const char *attr_name, const char *attr_value, attr_name 379 tools/crm_attribute.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, opts); attr_name 383 tools/crm_attribute.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_name 394 tools/crm_attribute.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 410 tools/crm_attribute.c const char *attr_name = crm_element_value(child, PCMK_XA_NAME); attr_name 413 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 420 tools/crm_attribute.c attr_name, options.attr_value, NULL); attr_name 470 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); attr_name 498 tools/crm_attribute.c const char *attr_name = crm_element_value(child, PCMK_XA_NAME); attr_name 500 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 507 tools/crm_attribute.c attr_name, options.attr_value, NULL, attr_name 542 tools/crm_attribute.c options.attr_name, options.attr_value, NULL, attr_name 602 tools/crm_attribute.c options.attr_name, NULL, &result); attr_name 609 tools/crm_attribute.c const char *attr_name = options.attr_name; attr_name 612 tools/crm_attribute.c out->message(out, "attribute", type, attr_id, attr_name, attr_default, attr_name 700 tools/crm_attribute.c || (options.attr_name != NULL) attr_name 708 tools/crm_attribute.c || (options.attr_name != NULL) attr_name 807 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { attr_name 904 tools/crm_attribute.c if (options.attr_name) { attr_name 918 tools/crm_attribute.c g_free(options.attr_name); attr_name 919 tools/crm_attribute.c options.attr_name = options.attr_pattern; attr_name 932 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, attr_name 941 tools/crm_attribute.c options.attr_name, update); attr_name 970 tools/crm_attribute.c g_free(options.attr_name); attr_name 40 tools/crm_resource.h char *attr_name; attr_name 124 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 130 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 151 tools/crm_resource_print.c ((ud->attr_name == NULL)? "" : " " PCMK_XA_NAME "="), attr_name 152 tools/crm_resource_print.c pcmk__s(ud->attr_name, ""), ud->attr_value); attr_name 174 tools/crm_resource_print.c PCMK_XA_NAME, ud->attr_name, attr_name 87 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, xmlNode **result) attr_name 122 tools/crm_resource_runtime.c if (attr_id != NULL && attr_name!= NULL) { attr_name 125 tools/crm_resource_runtime.c "and @" PCMK_XA_NAME "='", attr_name, "']", NULL); attr_name 130 tools/crm_resource_runtime.c } else if (attr_name != NULL) { attr_name 131 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "[@" PCMK_XA_NAME "='", attr_name, "']", NULL); attr_name 142 tools/crm_resource_runtime.c pcmk__warn_multiple_name_matches(out, xml_search, attr_name); attr_name 163 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, int depth) attr_name 173 tools/crm_resource_runtime.c attr_name, cib, depth+1); attr_name 181 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, NULL); attr_name 198 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 212 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, NULL); attr_name 217 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 228 tools/crm_resource_runtime.c attr_set_type, attr_set, attr_id, attr_name, NULL); attr_name 233 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 242 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 249 tools/crm_resource_runtime.c cib_t *cib, const char *attr_name, const char *attr_value) attr_name 257 tools/crm_resource_runtime.c crm_xml_add(rsc->xml, attr_name, attr_value); attr_name 263 tools/crm_resource_runtime.c attr_name, attr_value); attr_name 273 tools/crm_resource_runtime.c const char *attr_name, const char *top_id, gboolean force, attr_name 284 tools/crm_resource_runtime.c attr_name, &xml_search); attr_name 295 tools/crm_resource_runtime.c top_id, attr_name, found_attr_id); attr_name 314 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 343 tools/crm_resource_runtime.c free(ud->attr_name); attr_name 353 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 365 tools/crm_resource_runtime.c attr_name, NULL); attr_name 369 tools/crm_resource_runtime.c attr_id, attr_name, top_id, force, &resources); attr_name 390 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); attr_name 396 tools/crm_resource_runtime.c PCMK_XA_ID "='%s'", attr_name, found_attr_id); attr_name 408 tools/crm_resource_runtime.c rsc_attr_set, attr_name); attr_name 427 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, rsc_attr_id, attr_name, attr_name 450 tools/crm_resource_runtime.c ud->attr_name = pcmk__str_copy(attr_name); attr_name 485 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); attr_name 487 tools/crm_resource_runtime.c attr_set_type, NULL, attr_name, attr_value, attr_name 501 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 515 tools/crm_resource_runtime.c return update_element_attribute(out, rsc, cib, attr_name, attr_value); attr_name 526 tools/crm_resource_runtime.c attr_id, attr_name, attr_value, recursive, cib, attr_name 545 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 555 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 561 tools/crm_resource_runtime.c attr_id, attr_name, cib, attr_name 565 tools/crm_resource_runtime.c pcmk__xe_remove_attr(rsc->xml, attr_name); attr_name 570 tools/crm_resource_runtime.c out->info(out, "Deleted attribute: %s", attr_name); attr_name 589 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &xml_search); attr_name 612 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, rsc_attr_id, attr_name, NULL); attr_name 624 tools/crm_resource_runtime.c ((attr_name == NULL)? "" : " " PCMK_XA_NAME "="), attr_name 625 tools/crm_resource_runtime.c pcmk__s(attr_name, "")); attr_name 45 tools/crm_ticket.c char *attr_name; attr_name 77 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 81 tools/crm_ticket.c pcmk__insert_dup(attr_set, options.attr_name, options.attr_value); attr_name 82 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); attr_name 144 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); attr_name 146 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { attr_name 150 tools/crm_ticket.c pcmk__insert_dup(attr_set, options.attr_name, options.attr_value); attr_name 151 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); attr_name 545 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { attr_name 552 tools/crm_ticket.c if (options.attr_name attr_name 602 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { attr_name 619 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); attr_name 649 tools/crm_ticket.c free(options.attr_name);