attr_name 351 daemons/controld/controld_schedulerd.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 360 daemons/controld/controld_schedulerd.c XML_CIB_TAG_PROPSET, attr_name); attr_name 367 daemons/controld/controld_schedulerd.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 377 daemons/controld/controld_schedulerd.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 400 daemons/controld/controld_schedulerd.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 401 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 23 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 2080 lib/common/xml.c mark_attr_deleted(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2090 lib/common/xml.c attr = xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2098 lib/common/xml.c xml_remove_prop(new_xml, attr_name); attr_name 2101 lib/common/xml.c attr_name, old_value, element); attr_name 2109 lib/common/xml.c mark_attr_changed(xmlNode *new_xml, const char *element, const char *attr_name, attr_name 2112 lib/common/xml.c char *vcopy = crm_element_value_copy(new_xml, attr_name); attr_name 2115 lib/common/xml.c attr_name, old_value, vcopy, element); attr_name 2118 lib/common/xml.c xmlSetProp(new_xml, (pcmkXmlStr) attr_name, (pcmkXmlStr) old_value); attr_name 2121 lib/common/xml.c crm_xml_add(new_xml, attr_name, vcopy); attr_name 2205 lib/common/xml.c const char *attr_name = (const char *) new_attr->name; attr_name 2208 lib/common/xml.c attr_name, crm_element_value(new_xml, attr_name), attr_name 2214 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 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 466 lib/pacemaker/pcmk_sched_promotable.c char *attr_name = crm_strdup_printf("master-%s", name); attr_name 468 lib/pacemaker/pcmk_sched_promotable.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 469 lib/pacemaker/pcmk_sched_promotable.c free(attr_name); attr_name 368 lib/pacemaker/pcmk_sched_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, attr_name 392 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 273 tools/attrd_updater.c attr_name, attr_value, attr_name 340 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) attr_name 346 tools/attrd_updater.c attr_name); attr_name 354 tools/attrd_updater.c attr_name); attr_name 360 tools/attrd_updater.c || strcmp(reply_attr, attr_name)) { attr_name 363 tools/attrd_updater.c attr_name); attr_name 378 tools/attrd_updater.c print_attrd_values(xmlNode *reply, const char *attr_name) attr_name 400 tools/attrd_updater.c attr_name, reply_host, (reply_value? reply_value : "")); attr_name 418 tools/attrd_updater.c do_query(const char *attr_name, const char *attr_node, gboolean query_all) attr_name 431 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); attr_name 433 tools/attrd_updater.c fprintf(stderr, "Could not query value of %s: %s (%d)\n", attr_name, pcmk_strerror(rc), rc); attr_name 438 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); attr_name 447 tools/attrd_updater.c if (print_attrd_values(reply, attr_name) == FALSE) { attr_name 450 tools/attrd_updater.c attr_name); attr_name 459 tools/attrd_updater.c do_update(char command, const char *attr_node, const char *attr_name, attr_name 463 tools/attrd_updater.c int rc = pcmk__node_attr_request(NULL, command, attr_node, attr_name, attr_name 468 tools/attrd_updater.c attr_name, attr_value, pcmk_rc_str(rc), rc); attr_name 42 tools/crm_attribute.c char *attr_name = NULL; attr_name 314 tools/crm_attribute.c attr_name = strdup(optarg); attr_name 399 tools/crm_attribute.c if ((command == 'D') && (attr_name == NULL) && (attr_pattern == NULL)) { attr_name 412 tools/crm_attribute.c free(attr_name); attr_name 413 tools/crm_attribute.c attr_name = attr_pattern; attr_name 428 tools/crm_attribute.c && (pcmk__node_attr_request(NULL, command, dest_uname, attr_name, attr_name 432 tools/crm_attribute.c attr_name, ((command == 'D')? "<none>" : attr_value)); attr_name 436 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL); attr_name 448 tools/crm_attribute.c CRM_LOG_ASSERT(attr_name != NULL); attr_name 452 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); attr_name 459 tools/crm_attribute.c attr_id, attr_name, &read_value, TRUE, NULL); attr_name 467 tools/crm_attribute.c attr_name, crm_str(read_value), set_name ? "in " : "", set_name ? set_name : ""); attr_name 477 tools/crm_attribute.c attr_name ? "name=" : "", attr_name ? attr_name : "", attr_name 88 tools/crm_resource.h const char *attr_id, const char *attr_name, attr_name 93 tools/crm_resource.h const char *attr_id, const char *attr_name, cib_t *cib, attr_name 80 tools/crm_resource_runtime.c const char *set_name, const char *attr_id, const char *attr_name, char **value) attr_name 113 tools/crm_resource_runtime.c if (attr_name) { attr_name 117 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); attr_name 135 tools/crm_resource_runtime.c printf("Multiple attributes match name=%s\n", attr_name); attr_name 161 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, int depth) attr_name 171 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); attr_name 178 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); attr_name 195 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, gboolean force) attr_name 210 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, rsc_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); attr_name 216 tools/crm_resource_runtime.c printf("Performing %s of '%s' on '%s', the parent of '%s'\n", cmd, attr_name, rsc->id, rsc_id); attr_name 225 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); attr_name 230 tools/crm_resource_runtime.c printf("A value for '%s' already exists in child '%s', performing %s on that instead of '%s'\n", attr_name, lookup_id, cmd, rsc_id); attr_name 241 tools/crm_resource_runtime.c attr_set_type, attr_id, attr_name, attr_name 250 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, attr_name 266 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { attr_name 274 tools/crm_resource_runtime.c attr_name, &local_attr_id); attr_name 277 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); attr_name 290 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); attr_name 309 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, attr_name 313 tools/crm_resource_runtime.c crm_debug("Found a match for name=%s: id=%s", attr_name, local_attr_id); attr_name 331 tools/crm_resource_runtime.c local_attr_id = crm_strdup_printf("%s-%s", attr_set, attr_name); attr_name 342 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 355 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : "", attr_value); attr_name 389 tools/crm_resource_runtime.c crm_debug("Setting %s=%s for dependent resource %s", attr_name, attr_value, peer->id); attr_name 391 tools/crm_resource_runtime.c NULL, attr_name, attr_value, recursive, attr_name 405 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, cib_t *cib, attr_name 414 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { attr_name 420 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); attr_name 433 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, attr_name 451 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); attr_name 461 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 265 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, attr_name 278 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 783 tools/crm_ticket.c attr_name = optarg; attr_name 784 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 785 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 786 tools/crm_ticket.c attr_name = NULL; attr_name 800 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 801 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 802 tools/crm_ticket.c attr_name = NULL; attr_name 994 tools/crm_ticket.c && (pcmk__str_empty(attr_name))) { attr_name 1000 tools/crm_ticket.c if (attr_name attr_name 1002 tools/crm_ticket.c CMD_ERR("Must supply attribute value with -v for -S %s", attr_name); attr_name 1024 tools/crm_ticket.c if (pcmk__str_empty(attr_name)) { attr_name 1038 tools/crm_ticket.c CMD_ERR("Must supply value with -v for -S %s", attr_name);