attr_name 227 crmd/pengine.c force_local_option(xmlNode *xml, const char *attr_name, const char *attr_value) attr_name 237 crmd/pengine.c get_object_path(XML_CIB_TAG_CRMCONFIG), XML_CIB_TAG_PROPSET, attr_name); attr_name 246 crmd/pengine.c crm_trace("Forcing %s/%s = %s", ID(match), attr_name, attr_value); attr_name 256 crmd/pengine.c CIB_OPTIONS_FIRST, attr_name, attr_name, attr_value); attr_name 276 crmd/pengine.c crm_xml_set_id(xml, "%s-%s", CIB_OPTIONS_FIRST, attr_name); attr_name 277 crmd/pengine.c crm_xml_add(xml, XML_NVPAIR_ATTR_NAME, attr_name); attr_name 180 crmd/te_events.c char *attr_name = NULL; attr_name 193 crmd/te_events.c attr_name = crm_failcount_name(rsc_id, task, interval); attr_name 194 crmd/te_events.c update_attrd(on_uname, attr_name, value, NULL, is_remote_node); attr_name 195 crmd/te_events.c free(attr_name); attr_name 201 crmd/te_events.c attr_name = crm_lastfailure_name(rsc_id, task, interval); attr_name 202 crmd/te_events.c update_attrd(on_uname, attr_name, now, NULL, is_remote_node); attr_name 203 crmd/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 291 include/crm/compatibility.h const char *attr_id, const char *attr_name, const char *attr_value, gboolean to_console) attr_name 294 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL, NULL); attr_name 300 include/crm/compatibility.h const char *attr_name, gboolean to_console, char **value) attr_name 303 include/crm/compatibility.h set_name, attr_id, attr_name, to_console, value, NULL); attr_name 309 include/crm/compatibility.h const char *attr_id, const char *attr_name, char **attr_value, gboolean to_console) attr_name 312 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL); attr_name 318 include/crm/compatibility.h const char *attr_id, const char *attr_name, const char *attr_value, gboolean to_console) attr_name 321 include/crm/compatibility.h attr_id, attr_name, attr_value, to_console, NULL); attr_name 27 include/crm/lrmd_alerts_internal.h const char *attr_name, const char *attr_value); attr_name 58 lib/cib/cib_attrs.c const char *attr_id, const char *attr_name, gboolean to_console, attr_name 130 lib/cib/cib_attrs.c if (attr_name) { attr_name 134 lib/cib/cib_attrs.c attr_snprintf(xpath_string, offset, XPATH_MAX, "@name='%.128s'", attr_name); attr_name 144 lib/cib/cib_attrs.c attr_name, section, crm_str(node_uuid), crm_str(set_name), xpath_string, attr_name 154 lib/cib/cib_attrs.c attr_msg(LOG_WARNING, "Multiple attributes match name=%s", attr_name); attr_name 178 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 192 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 195 lib/cib/cib_attrs.c attr_id, attr_name, to_console, &local_attr_id, user_name); attr_name 207 lib/cib/cib_attrs.c crm_trace("%s does not exist, create it", attr_name); attr_name 270 lib/cib/cib_attrs.c local_attr_id = crm_concat(set_name, attr_name, '-'); attr_name 274 lib/cib/cib_attrs.c } else if (attr_name == NULL) { attr_name 275 lib/cib/cib_attrs.c attr_name = attr_id; attr_name 308 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 319 lib/cib/cib_attrs.c attr_name, attr_value, section, crm_str(set_name), pcmk_strerror(rc)); attr_name 333 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 340 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 345 lib/cib/cib_attrs.c set_name, attr_id, attr_name, to_console, attr_value, user_name); attr_name 348 lib/cib/cib_attrs.c attr_name, section, crm_str(set_name), crm_str(node_uuid), pcmk_strerror(rc)); attr_name 356 lib/cib/cib_attrs.c const char *set_name, const char *attr_id, const char *attr_name, attr_name 364 lib/cib/cib_attrs.c CRM_CHECK(attr_name != NULL || attr_id != NULL, return -EINVAL); attr_name 368 lib/cib/cib_attrs.c set_name, attr_id, attr_name, to_console, &local_attr_id, attr_name 376 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); attr_name 385 lib/cib/cib_attrs.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 128 lib/lrmd/lrmd_alerts.c const char *attr_name, lrmd_key_value_t *params) attr_name 150 lib/lrmd/lrmd_alerts.c && !is_target_alert(entry->select_attribute_name, attr_name)) { attr_name 153 lib/lrmd/lrmd_alerts.c attr_name, entry->recipient, entry->id); attr_name 222 lib/lrmd/lrmd_alerts.c const char *attr_name, const char *attr_value) attr_name 233 lib/lrmd/lrmd_alerts.c params = alert_key2param(params, CRM_alert_attribute_name, attr_name); attr_name 236 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, crm_alert_attribute, attr_name, attr_name 149 lib/pengine/rules_alerts.c const char *attr_name; attr_name 157 lib/pengine/rules_alerts.c attr_name = crm_element_value(attr, XML_NVPAIR_ATTR_NAME); attr_name 158 lib/pengine/rules_alerts.c if (attr_name) { attr_name 166 lib/pengine/rules_alerts.c entry->select_attribute_name[nattrs - 1] = strdup(attr_name); attr_name 456 pengine/master.c char *attr_name = crm_strdup_printf("master-%s", name); attr_name 458 pengine/master.c attr_value = pe_node_attribute_calculated(node, attr_name, rsc); attr_name 459 pengine/master.c free(attr_name); attr_name 77 tools/attrd_updater.c static int do_query(const char *attr_name, const char *attr_node, gboolean query_all); attr_name 79 tools/attrd_updater.c static int do_update(char command, const char *attr_node, const char *attr_name, attr_name 91 tools/attrd_updater.c const char *attr_name = NULL; attr_name 124 tools/attrd_updater.c attr_name = strdup(optarg); attr_name 175 tools/attrd_updater.c if (command != 'R' && attr_name == NULL) { attr_name 185 tools/attrd_updater.c crm_exit(do_query(attr_name, attr_node, query_all)); attr_name 204 tools/attrd_updater.c crm_exit(do_update(command, attr_node, attr_name, attr_value, attr_name 269 tools/attrd_updater.c validate_attrd_reply(xmlNode *reply, const char *attr_name) attr_name 275 tools/attrd_updater.c attr_name); attr_name 283 tools/attrd_updater.c attr_name); attr_name 289 tools/attrd_updater.c || strcmp(reply_attr, attr_name)) { attr_name 292 tools/attrd_updater.c attr_name); attr_name 307 tools/attrd_updater.c print_attrd_values(xmlNode *reply, const char *attr_name) attr_name 326 tools/attrd_updater.c attr_name, reply_host, (reply_value? reply_value : "")); attr_name 344 tools/attrd_updater.c do_query(const char *attr_name, const char *attr_node, gboolean query_all) attr_name 357 tools/attrd_updater.c rc = send_attrd_query(attr_name, attr_node, &reply); attr_name 359 tools/attrd_updater.c fprintf(stderr, "Could not query value of %s: %s (%d)\n", attr_name, pcmk_strerror(rc), rc); attr_name 364 tools/attrd_updater.c rc = validate_attrd_reply(reply, attr_name); attr_name 373 tools/attrd_updater.c if (print_attrd_values(reply, attr_name) == FALSE) { attr_name 376 tools/attrd_updater.c attr_name); attr_name 387 tools/attrd_updater.c do_update(char command, const char *attr_node, const char *attr_name, attr_name 391 tools/attrd_updater.c int rc = attrd_update_delegate(NULL, command, attr_node, attr_name, attr_name 395 tools/attrd_updater.c fprintf(stderr, "Could not update %s=%s: %s (%d)\n", attr_name, attr_value, pcmk_strerror(rc), rc); attr_name 51 tools/crm_attribute.c char *attr_name = NULL; attr_name 184 tools/crm_attribute.c attr_name = strdup(optarg); attr_name 267 tools/crm_attribute.c if ((command == 'D') && (attr_name == NULL) && (attr_pattern == NULL)) { attr_name 280 tools/crm_attribute.c free(attr_name); attr_name 281 tools/crm_attribute.c attr_name = attr_pattern; attr_name 286 tools/crm_attribute.c && pcmk_ok == attrd_update_delegate(NULL, command, dest_uname, attr_name, attr_name 289 tools/crm_attribute.c crm_info("Update %s=%s sent via attrd", attr_name, command == 'D' ? "<none>" : attr_value); attr_name 293 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL); attr_name 305 tools/crm_attribute.c CRM_LOG_ASSERT(attr_name != NULL); attr_name 309 tools/crm_attribute.c attr_id, attr_name, attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL); attr_name 316 tools/crm_attribute.c attr_id, attr_name, &read_value, TRUE, NULL); attr_name 324 tools/crm_attribute.c attr_name, crm_str(read_value), set_name ? "in " : "", set_name ? set_name : ""); attr_name 333 tools/crm_attribute.c attr_name ? "name=" : "", attr_name ? attr_name : "", attr_name 90 tools/crm_resource.h const char *attr_name, const char *attr_value, attr_name 95 tools/crm_resource.h const char *attr_name, cib_t *cib, attr_name 92 tools/crm_resource_runtime.c const char *set_name, const char *attr_id, const char *attr_name, char **value) attr_name 125 tools/crm_resource_runtime.c if (attr_name) { attr_name 129 tools/crm_resource_runtime.c offset += snprintf(xpath_string + offset, XPATH_MAX - offset, "@name=\"%s\"", attr_name); attr_name 146 tools/crm_resource_runtime.c printf("Multiple attributes match name=%s\n", attr_name); attr_name 169 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd) attr_name 182 tools/crm_resource_runtime.c printf("Performing %s of '%s' for '%s' will not apply to its peers in '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id); attr_name 188 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 194 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 203 tools/crm_resource_runtime.c printf("Forcing %s of '%s' for '%s' instead of '%s'\n", cmd, attr_name, rsc_id, rsc->parent->id); attr_name 210 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 215 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 230 tools/crm_resource_runtime.c const char *attr_name, const char *attr_value, attr_name 249 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL)) { attr_name 257 tools/crm_resource_runtime.c attr_name, &local_attr_id); attr_name 260 tools/crm_resource_runtime.c uber_parent(rsc)->id, attr_name, local_attr_id); attr_name 271 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update"); attr_name 275 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 279 tools/crm_resource_runtime.c crm_debug("Found a match for name=%s: id=%s", attr_name, local_attr_id); attr_name 311 tools/crm_resource_runtime.c local_attr_id = crm_concat(attr_set, attr_name, '-'); attr_name 330 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); attr_name 341 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : "", attr_value); attr_name 375 tools/crm_resource_runtime.c crm_debug("Setting %s=%s for dependent resource %s", attr_name, attr_value, peer->id); attr_name 377 tools/crm_resource_runtime.c attr_name, attr_value, recursive, attr_name 389 tools/crm_resource_runtime.c const char *attr_name, cib_t *cib, attr_name 401 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) != pcmk_ok) { attr_name 407 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete"); attr_name 411 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 427 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); attr_name 436 tools/crm_resource_runtime.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 49 tools/crm_ticket.c const char *attr_name = NULL; attr_name 285 tools/crm_ticket.c const char *attr_name, char **value) attr_name 311 tools/crm_ticket.c if (attr_name) { attr_name 315 tools/crm_ticket.c if (crm_str_eq(attr_name, "granted", TRUE)) { attr_name 318 tools/crm_ticket.c attr_prefix = attr_name; attr_name 344 tools/crm_ticket.c fprintf(stdout, "Multiple attributes match name=%s\n", attr_name); attr_name 367 tools/crm_ticket.c const char *attr_name, cib_t * cib) attr_name 375 tools/crm_ticket.c attr_id, attr_name, &local_attr_id); attr_name 396 tools/crm_ticket.c attr_name ? " name=" : "", attr_name ? attr_name : ""); attr_name 405 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, attr_name 418 tools/crm_ticket.c *attr_value = g_hash_table_lookup(ticket->state, attr_name); attr_name 775 tools/crm_ticket.c attr_name = optarg; attr_name 776 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 777 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 778 tools/crm_ticket.c attr_name = NULL; attr_name 792 tools/crm_ticket.c if (attr_name && attr_value) { attr_name 793 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(attr_name), strdup(attr_value)); attr_name 794 tools/crm_ticket.c attr_name = NULL; attr_name 958 tools/crm_ticket.c && (attr_name == NULL || strlen(attr_name) == 0)) { attr_name 964 tools/crm_ticket.c if (attr_name attr_name 966 tools/crm_ticket.c CMD_ERR("You need to supply a value with the -v option for -S %s\n", attr_name); attr_name 989 tools/crm_ticket.c if (attr_name == NULL || strlen(attr_name) == 0) { attr_name 996 tools/crm_ticket.c CMD_ERR("You need to supply a value with the -v option for -S %s\n", attr_name); attr_name 380 tools/fake_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, attr_name 404 tools/fake_transition.c crm_xml_add(ticket_state_xml, attr_name, attr_value);