attr_name 368 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 384 daemons/controld/controld_schedulerd.c attr_name); attr_name 391 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 401 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 424 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 425 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); attr_name 257 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 263 include/crm/cib/internal.h const char *attr_id, const char *attr_name, const char *user_name, attr_name 268 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 2210 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2221 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2229 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 2232 lib/common/xml.c attr_name, old_value, element); attr_name 2240 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2243 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 2246 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 2249 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2252 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 2353 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 2356 lib/common/xml.c attr_name, crm_element_value(new_xml, attr_name), attr_name 2362 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, pcmk__xf_acl_write)) { attr_name 128 lib/lrmd/lrmd_alerts.c const char *attr_name, lrmd_key_value_t *params) attr_name 154 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { attr_name 157 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); attr_name 237 lib/lrmd/lrmd_alerts.c const char *attr_name, const char *attr_value) attr_name 248 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_attribute_name, attr_name); attr_name 252 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_attribute, attr_name, attr_name 471 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) attr_name 499 lib/pacemaker/pcmk_injections.c pcmk__xe_set_bool_attr(ticket_state_xml, attr_name, attr_value); attr_name 634 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = NULL; attr_name 639 lib/pacemaker/pcmk_sched_promotable.c attr_name = pcmk_promotion_score_name(name); attr_name 640 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 641 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 122 lib/pengine/rules_alerts.c const char *attr_name; attr_name 130 lib/pengine/rules_alerts.c attr_name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); attr_name 131 lib/pengine/rules_alerts.c if (attr_name) { attr_name 139 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 103 tools/attrd_updater.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 197 tools/attrd_updater.c static int send_attrd_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, attr_name 199 tools/attrd_updater.c static int send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 255 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { attr_name 266 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); attr_name 275 tools/attrd_updater.c options.attr_name, options.attr_value, attr_name 285 tools/attrd_updater.c g_free(options.attr_name); attr_name 347 tools/attrd_updater.c send_attrd_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, gboolean query_all) attr_name 376 tools/attrd_updater.c rc = pcmk__attrd_api_query(attrd_api, attr_node, attr_name, 0); attr_name 380 tools/attrd_updater.c attr_name, pcmk_strerror(rc), rc); attr_name 384 tools/attrd_updater.c "Could not query value of %s: attribute does not exist", attr_name); attr_name 394 tools/attrd_updater.c send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 402 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 408 tools/attrd_updater.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, attr_options); attr_name 416 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_value, attr_name 422 tools/attrd_updater.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, NULL, attr_name 430 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 121 tools/crm_attribute.c if (options.attr_name) { attr_name 122 tools/crm_attribute.c g_free(options.attr_name); attr_name 127 tools/crm_attribute.c options.attr_name = g_strdup(score_name); attr_name 130 tools/crm_attribute.c options.attr_name = NULL; attr_name 168 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 259 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, attr_name 378 tools/crm_attribute.c send_attrd_update(char command, const char *attr_node, const char *attr_name, attr_name 391 tools/crm_attribute.c rc = pcmk__attrd_api_delete(NULL, attr_node, attr_name, opts); attr_name 395 tools/crm_attribute.c rc = pcmk__attrd_api_update(NULL, attr_node, attr_name, attr_name 403 tools/crm_attribute.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 419 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); attr_name 422 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 429 tools/crm_attribute.c attr_name, options.attr_value, NULL); attr_name 467 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); attr_name 495 tools/crm_attribute.c const char *attr_name = crm_element_value(child, XML_NVPAIR_ATTR_NAME); attr_name 497 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { attr_name 504 tools/crm_attribute.c attr_name, options.attr_value, NULL, attr_name 517 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); attr_name 542 tools/crm_attribute.c options.attr_name, options.attr_value, 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 613 tools/crm_attribute.c out->message(out, "attribute", type, attr_id, attr_name, attr_default, attr_name 694 tools/crm_attribute.c return options.command != 'D' || options.attr_name != NULL || options.attr_pattern != NULL; attr_name 785 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { attr_name 871 tools/crm_attribute.c g_free(options.attr_name); attr_name 872 tools/crm_attribute.c options.attr_name = options.attr_pattern; attr_name 880 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, attr_name 883 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); attr_name 912 tools/crm_attribute.c g_free(options.attr_name); attr_name 105 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 111 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 77 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, char **value) attr_name 115 tools/crm_resource_runtime.c if (attr_name != NULL) { attr_name 119 tools/crm_resource_runtime.c pcmk__g_strcat(xpath, "@" XML_NVPAIR_ATTR_NAME "=\"", attr_name, "\"", attr_name 137 tools/crm_resource_runtime.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 162 tools/crm_resource_runtime.c const char * attr_id, const char * attr_name, attr_name 173 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 181 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 199 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 216 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 222 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 231 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 236 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 246 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 255 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 272 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 279 tools/crm_resource_runtime.c attr_name, &local_attr_id); attr_name 282 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); attr_name 295 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); attr_name 315 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 318 tools/crm_resource_runtime.c crm_debug("Found a match for name=%s: id=%s", attr_name, local_attr_id); attr_name 336 tools/crm_resource_runtime.c local_attr_id = crm_strdup_printf("%s-%s", attr_set, attr_name); attr_name 347 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 360 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : "", attr_value); attr_name 388 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); attr_name 392 tools/crm_resource_runtime.c attr_name, attr_value, attr_name 407 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 417 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 422 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); attr_name 436 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 453 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); attr_name 463 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? 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 1001 tools/crm_ticket.c free(options.attr_name);