attr_name 361 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 370 daemons/controld/controld_schedulerd.c XML_CIB_TAG_PROPSET, attr_name); attr_name 377 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 387 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 410 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 411 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 35 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 54 include/crm/cib/util.h const char *attr_id, const char *attr_name, attr_name 24 include/crm/lrmd_internal.h const char *attr_name, const char *attr_value); attr_name 50 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 122 lib/cib/cib_attrs.c if (attr_name) { attr_name 126 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); attr_name 136 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, attr_name 146 lib/cib/cib_attrs.c attr_msg(LOG_WARNING, "Multiple attributes match name=%s", attr_name); attr_name 171 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 185 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 188 lib/cib/cib_attrs.c attr_id, attr_name, to_console, &local_attr_id, user_name); attr_name 200 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 265 lib/cib/cib_attrs.c local_attr_id = crm_strdup_printf("%s-%s", set_name, attr_name); attr_name 269 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 270 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 303 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 314 lib/cib/cib_attrs.c attr_name, attr_value, section, crm_str(set_name), pcmk_strerror(rc)); attr_name 328 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 335 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 340 lib/cib/cib_attrs.c set_name, attr_id, attr_name, to_console, attr_value, user_name); attr_name 343 lib/cib/cib_attrs.c attr_name, section, crm_str(set_name), crm_str(node_uuid), pcmk_strerror(rc)); attr_name 351 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 359 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 363 lib/cib/cib_attrs.c set_name, attr_id, attr_name, to_console, &local_attr_id, attr_name 371 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 380 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 2097 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2107 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2115 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 2118 lib/common/xml.c attr_name, old_value, element); attr_name 2126 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2129 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 2132 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 2135 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2138 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 2222 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 2225 lib/common/xml.c attr_name, crm_element_value(new_xml, attr_name), attr_name 2231 lib/common/xml.c if (pcmk__check_acl(new_xml, attr_name, xpf_acl_write)) { attr_name 129 lib/lrmd/lrmd_alerts.c const char *attr_name, lrmd_key_value_t *params) attr_name 155 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { attr_name 158 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); attr_name 240 lib/lrmd/lrmd_alerts.c const char *attr_name, const char *attr_value) attr_name 251 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, PCMK__alert_key_attribute_name, attr_name); attr_name 255 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_attribute, attr_name, attr_name 468 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = pcmk_promotion_score_name(name); attr_name 470 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 471 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 356 lib/pacemaker/pcmk_sched_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, attr_name 380 lib/pacemaker/pcmk_sched_transition.c crm_xml_add(ticket_state_xml, attr_name, attr_value); 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 146 tools/attrd_updater.c static int do_query(const char *attr_name, const char *attr_node, gboolean query_all); attr_name 147 tools/attrd_updater.c static int do_update(char command, const char *attr_node, const char *attr_name, attr_name 154 tools/attrd_updater.c free(attr_name); \ attr_name 174 tools/attrd_updater.c char *attr_name = NULL; attr_name 207 tools/attrd_updater.c set_option(attr_name); attr_name 254 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { attr_name 264 tools/attrd_updater.c exit_code = crm_errno2exit(do_query(attr_name, attr_node, query_all)); attr_name 275 tools/attrd_updater.c attr_name, attr_value, attr_name 342 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) attr_name 348 tools/attrd_updater.c attr_name); attr_name 356 tools/attrd_updater.c attr_name); attr_name 362 tools/attrd_updater.c || strcmp(reply_attr, attr_name)) { attr_name 365 tools/attrd_updater.c attr_name); attr_name 380 tools/attrd_updater.c print_attrd_values(xmlNode *reply, const char *attr_name) attr_name 402 tools/attrd_updater.c attr_name, reply_host, (reply_value? reply_value : "")); attr_name 420 tools/attrd_updater.c do_query(const char *attr_name, const char *attr_node, gboolean query_all) attr_name 436 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); attr_name 438 tools/attrd_updater.c fprintf(stderr, "Could not query value of %s: %s (%d)\n", attr_name, pcmk_strerror(rc), rc); attr_name 443 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); attr_name 452 tools/attrd_updater.c if (print_attrd_values(reply, attr_name) == FALSE) { attr_name 455 tools/attrd_updater.c attr_name); attr_name 464 tools/attrd_updater.c do_update(char command, const char *attr_node, const char *attr_name, attr_name 468 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, attr_name 473 tools/attrd_updater.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 46 tools/crm_attribute.c gchar *attr_name; attr_name 83 tools/crm_attribute.c if (options.attr_name) { attr_name 84 tools/crm_attribute.c g_free(options.attr_name); attr_name 89 tools/crm_attribute.c options.attr_name = g_strdup(score_name); attr_name 92 tools/crm_attribute.c options.attr_name = NULL; attr_name 145 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, attr_name 233 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, attr_name 332 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { attr_name 406 tools/crm_attribute.c if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) { attr_name 421 tools/crm_attribute.c g_free(options.attr_name); attr_name 422 tools/crm_attribute.c options.attr_name = options.attr_pattern; attr_name 437 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name, attr_name 441 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); attr_name 445 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL); attr_name 457 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); attr_name 461 tools/crm_attribute.c options.attr_id, options.attr_name, options.attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); attr_name 468 tools/crm_attribute.c options.attr_id, options.attr_name, &read_value, TRUE, NULL); attr_name 476 tools/crm_attribute.c options.attr_name, crm_str(read_value), options.set_name ? "in " : "", options.set_name ? options.set_name : ""); attr_name 486 tools/crm_attribute.c options.attr_name ? "name=" : "", options.attr_name ? options.attr_name : "", attr_name 510 tools/crm_attribute.c g_free(options.attr_name); attr_name 99 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 105 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 106 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, char **value) attr_name 139 tools/crm_resource_runtime.c if (attr_name) { attr_name 143 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); attr_name 161 tools/crm_resource_runtime.c out->info(out, "Multiple attributes match name=%s", attr_name); attr_name 190 tools/crm_resource_runtime.c const char * attr_id, const char * attr_name, attr_name 201 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 209 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 227 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, attr_name 244 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 250 tools/crm_resource_runtime.c cmd, attr_name, rsc->id, rsc_id); attr_name 259 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 264 tools/crm_resource_runtime.c attr_name, lookup_id, cmd, rsc_id); attr_name 274 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 283 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 300 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 307 tools/crm_resource_runtime.c attr_name, &local_attr_id); attr_name 310 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); attr_name 323 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); attr_name 343 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 346 tools/crm_resource_runtime.c crm_debug("Found a match for name=%s: id=%s", attr_name, local_attr_id); attr_name 364 tools/crm_resource_runtime.c local_attr_id = crm_strdup_printf("%s-%s", attr_set, attr_name); attr_name 375 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 388 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : "", attr_value); attr_name 418 tools/crm_resource_runtime.c crm_debug("Setting %s=%s for dependent resource %s", attr_name, attr_value, peer->id); attr_name 420 tools/crm_resource_runtime.c NULL, attr_name, attr_value, recursive, attr_name 434 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 444 tools/crm_resource_runtime.c NULL, NULL, attr_name, NULL); attr_name 449 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); attr_name 463 tools/crm_resource_runtime.c attr_set, attr_id, attr_name, &local_attr_id); attr_name 480 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); attr_name 490 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 39 tools/crm_ticket.c const char *attr_name = NULL; attr_name 268 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, attr_name 281 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 786 tools/crm_ticket.c attr_name = optarg; attr_name 787 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 788 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 789 tools/crm_ticket.c attr_name = NULL; attr_name 803 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 804 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 805 tools/crm_ticket.c attr_name = NULL; attr_name 997 tools/crm_ticket.c && (pcmk__str_empty(attr_name))) { attr_name 1003 tools/crm_ticket.c if (attr_name attr_name 1005 tools/crm_ticket.c CMD_ERR("Must supply attribute value with -v for -S %s", attr_name); attr_name 1027 tools/crm_ticket.c if (pcmk__str_empty(attr_name)) { attr_name 1041 tools/crm_ticket.c CMD_ERR("Must supply value with -v for -S %s", attr_name);