attr_name 366 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 382 daemons/controld/controld_schedulerd.c attr_name); attr_name 389 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 399 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 422 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 423 daemons/controld/controld_schedulerd.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); attr_name 165 daemons/controld/controld_te_events.c char *attr_name = NULL; attr_name 178 daemons/controld/controld_te_events.c attr_name = pcmk__failcount_name(rsc_id, task, interval_ms); attr_name 179 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); attr_name 180 daemons/controld/controld_te_events.c free(attr_name); attr_name 186 daemons/controld/controld_te_events.c attr_name = pcmk__lastfailure_name(rsc_id, task, interval_ms); attr_name 187 daemons/controld/controld_te_events.c update_attrd(on_uname, attr_name, now, NULL, is_remote_node); attr_name 188 daemons/controld/controld_te_events.c free(attr_name); attr_name 246 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 252 include/crm/cib/internal.h const char *attr_id, const char *attr_name, char **attr_value, attr_name 257 include/crm/cib/internal.h const char *set_name, const char *attr_id, const char *attr_name, attr_name 32 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 39 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 45 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 51 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 65 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, char **value, attr_name 143 lib/cib/cib_attrs.c if (attr_name) { attr_name 147 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); attr_name 157 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, attr_name 169 lib/cib/cib_attrs.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 190 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 203 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 206 lib/cib/cib_attrs.c attr_id, attr_name, &local_attr_id, user_name); attr_name 218 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 283 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); attr_name 287 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 288 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 321 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 333 lib/cib/cib_attrs.c attr_name, attr_value, section, crm_str(set_name), pcmk_rc_str(rc)); attr_name 349 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, char **attr_value, attr_name 356 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return EINVAL); attr_name 361 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name); attr_name 364 lib/cib/cib_attrs.c attr_name, section, crm_str(set_name), crm_str(node_uuid), pcmk_strerror(rc)); attr_name 373 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 set_name, attr_id, attr_name, &local_attr_id, attr_name 393 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 404 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 415 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 427 lib/cib/cib_attrs.c set_name, attr_id, attr_name, value, user_name); attr_name 437 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, const char *attr_value, attr_name 449 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name, attr_name 460 lib/cib/cib_attrs.c const char *attr_name, char **attr_value, gboolean to_console, attr_name 472 lib/cib/cib_attrs.c attr_id, attr_name, attr_value, user_name); attr_name 482 lib/cib/cib_attrs.c const char *attr_name, const char *attr_value, gboolean to_console, attr_name 494 lib/cib/cib_attrs.c set_name, attr_id, attr_name, attr_value, user_name); attr_name 2098 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2108 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2116 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 2119 lib/common/xml.c attr_name, old_value, element); attr_name 2127 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2130 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 2133 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 2136 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2139 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 2225 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 2228 lib/common/xml.c attr_name, crm_element_value(new_xml, attr_name), attr_name 2234 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 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 478 lib/pacemaker/pcmk_injections.c const char *attr_name, bool attr_value, cib_t *cib) attr_name 506 lib/pacemaker/pcmk_injections.c pcmk__xe_set_bool_attr(ticket_state_xml, attr_name, attr_value); attr_name 478 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = pcmk_promotion_score_name(name); attr_name 480 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 481 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 45 tools/attrd_updater.c gchar *attr_name; attr_name 87 tools/attrd_updater.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 176 tools/attrd_updater.c static int do_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, attr_name 178 tools/attrd_updater.c static int do_update(char command, const char *attr_node, const char *attr_name, attr_name 234 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { attr_name 243 tools/attrd_updater.c int rc = do_query(out, options.attr_name, options.attr_node, options.query_all); attr_name 255 tools/attrd_updater.c options.attr_name, options.attr_value, attr_name 264 tools/attrd_updater.c g_free(options.attr_name); attr_name 338 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) attr_name 347 tools/attrd_updater.c attr_name); attr_name 357 tools/attrd_updater.c attr_name); attr_name 363 tools/attrd_updater.c || strcmp(reply_attr, attr_name)) { attr_name 367 tools/attrd_updater.c attr_name); attr_name 383 tools/attrd_updater.c print_attrd_values(pcmk__output_t *out, xmlNode *reply, const char *attr_name) attr_name 404 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, attr_name, reply_value, reply_host); attr_name 423 tools/attrd_updater.c do_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, gboolean query_all) attr_name 439 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); attr_name 442 tools/attrd_updater.c attr_name, pcmk_strerror(rc), rc); attr_name 447 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); attr_name 456 tools/attrd_updater.c if (!print_attrd_values(out, reply, attr_name)) { attr_name 459 tools/attrd_updater.c attr_name); attr_name 468 tools/attrd_updater.c do_update(char command, const char *attr_node, const char *attr_name, attr_name 472 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, attr_name 477 tools/attrd_updater.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 87 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 179 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 267 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, attr_name 473 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { attr_name 562 tools/crm_attribute.c if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) { attr_name 579 tools/crm_attribute.c g_free(options.attr_name); attr_name 580 tools/crm_attribute.c options.attr_name = options.attr_pattern; attr_name 595 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name, attr_name 599 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); attr_name 604 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); attr_name 616 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); attr_name 621 tools/crm_attribute.c options.attr_name, options.attr_value, NULL, attr_name 628 tools/crm_attribute.c if (options.attr_id == NULL && options.attr_name == NULL) { attr_name 637 tools/crm_attribute.c options.attr_name, &read_value, NULL); attr_name 645 tools/crm_attribute.c options.attr_name, crm_str(read_value), options.set_name ? "in " : "", options.set_name ? options.set_name : ""); attr_name 652 tools/crm_attribute.c options.attr_name, read_value); attr_name 675 tools/crm_attribute.c g_free(options.attr_name); attr_name 98 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 104 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 107 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, char **value) attr_name 147 tools/crm_resource_runtime.c if (attr_name) { attr_name 151 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); attr_name 169 tools/crm_resource_runtime.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 194 tools/crm_resource_runtime.c const char * attr_id, const char * attr_name, attr_name 205 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 213 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 231 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 248 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 254 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 263 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 268 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 278 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 287 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 304 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 311 tools/crm_resource_runtime.c attr_name, &local_attr_id); attr_name 314 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); attr_name 327 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); attr_name 347 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 350 tools/crm_resource_runtime.c crm_debug("Found a match for name=%s: id=%s", attr_name, local_attr_id); attr_name 368 tools/crm_resource_runtime.c local_attr_id = crm_strdup_printf("%s-%s", attr_set, attr_name); attr_name 379 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 392 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : "", attr_value); attr_name 420 tools/crm_resource_runtime.c attr_name, attr_value, cons->dependent->id); attr_name 424 tools/crm_resource_runtime.c attr_name, attr_value, attr_name 439 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 449 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 454 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); attr_name 468 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 485 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); attr_name 495 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 478 tools/crm_ticket.c get_ticket_state_attr(gchar *ticket_id, const char *attr_name, const char **attr_value, attr_name 491 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 925 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { attr_name 932 tools/crm_ticket.c if (options.attr_name attr_name 960 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { attr_name 977 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); attr_name 1011 tools/crm_ticket.c free(options.attr_name);