xml_obj 1191 daemons/attrd/attrd_commands.c xmlNode *xml_obj = NULL; xml_obj 1193 daemons/attrd/attrd_commands.c xml_obj = create_xml_node(parent, XML_CIB_TAG_STATE); xml_obj 1194 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); xml_obj 1196 daemons/attrd/attrd_commands.c xml_obj = create_xml_node(xml_obj, XML_TAG_TRANSIENT_NODEATTRS); xml_obj 1197 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_ATTR_ID, nodeid); xml_obj 1199 daemons/attrd/attrd_commands.c xml_obj = create_xml_node(xml_obj, XML_TAG_ATTR_SETS); xml_obj 1201 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s", a->set); xml_obj 1203 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", XML_CIB_TAG_STATUS, nodeid); xml_obj 1205 daemons/attrd/attrd_commands.c set = ID(xml_obj); xml_obj 1207 daemons/attrd/attrd_commands.c xml_obj = create_xml_node(xml_obj, XML_CIB_TAG_NVPAIR); xml_obj 1209 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s", a->uuid); xml_obj 1211 daemons/attrd/attrd_commands.c crm_xml_set_id(xml_obj, "%s-%s", set, a->id); xml_obj 1213 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_NAME, a->id); xml_obj 1216 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_VALUE, value); xml_obj 1219 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, XML_NVPAIR_ATTR_VALUE, ""); xml_obj 1220 daemons/attrd/attrd_commands.c crm_xml_add(xml_obj, "__delete__", XML_NVPAIR_ATTR_VALUE); xml_obj 40 daemons/based/based_messages.c int get_revision(xmlNode * xml_obj, int cur_revision); xml_obj 47 daemons/based/based_messages.c int cib_update_counter(xmlNode * xml_obj, const char *field, gboolean reset); xml_obj 204 include/crm/cib/internal.h int cib_update_counter(xmlNode * xml_obj, const char *field, gboolean reset); xml_obj 163 include/crm/common/xml.h xmlNode *get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level); xml_obj 164 include/crm/common/xml.h xmlNode *get_xpath_object_relative(const char *xpath, xmlNode * xml_obj, int error_level); xml_obj 288 include/crm/pengine/internal.h gboolean common_unpack(xmlNode * xml_obj, pe_resource_t ** rsc, pe_resource_t * parent, xml_obj 558 include/crm/pengine/internal.h void pe__unpack_dataset_nvpairs(xmlNode *xml_obj, const char *set_name, xml_obj 49 include/crm/pengine/rules.h void pe_eval_nvpairs(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 54 include/crm/pengine/rules.h void pe_unpack_nvpairs(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 60 include/crm/pengine/rules.h void pe_eval_versioned_attributes(xmlNode *top, xmlNode *xml_obj, xml_obj 58 include/crm/pengine/rules_compat.h void unpack_instance_attributes(xmlNode *top, xmlNode *xml_obj, xml_obj 142 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set); xml_obj 144 include/pcmki/pcmki_sched_allocate.h extern gboolean unpack_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set); xml_obj 178 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; xml_obj 206 lib/cib/cib_attrs.c xml_top = create_xml_node(xml_obj, XML_CIB_TAG_STATUS); xml_obj 207 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_top, XML_CIB_TAG_TICKETS); xml_obj 216 lib/cib/cib_attrs.c xml_top = create_xml_node(xml_obj, XML_CIB_TAG_NODES); xml_obj 217 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_top, XML_CIB_TAG_NODE); xml_obj 218 lib/cib/cib_attrs.c crm_xml_add(xml_obj, XML_ATTR_TYPE, "remote"); xml_obj 219 lib/cib/cib_attrs.c crm_xml_add(xml_obj, XML_ATTR_ID, node_uuid); xml_obj 220 lib/cib/cib_attrs.c crm_xml_add(xml_obj, XML_ATTR_UNAME, node_uuid); xml_obj 231 lib/cib/cib_attrs.c xml_top = create_xml_node(xml_obj, XML_CIB_TAG_STATE); xml_obj 233 lib/cib/cib_attrs.c xml_obj = xml_top; xml_obj 275 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, tag); xml_obj 276 lib/cib/cib_attrs.c crm_xml_add(xml_obj, XML_ATTR_ID, node_uuid); xml_obj 278 lib/cib/cib_attrs.c xml_top = xml_obj; xml_obj 284 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, XML_CIB_TAG_PROPSET); xml_obj 286 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, XML_TAG_META_SETS); xml_obj 290 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, set_type); xml_obj 293 lib/cib/cib_attrs.c xml_obj = create_xml_node(xml_obj, XML_TAG_ATTR_SETS); xml_obj 295 lib/cib/cib_attrs.c crm_xml_add(xml_obj, XML_ATTR_ID, set_name); xml_obj 298 lib/cib/cib_attrs.c xml_top = xml_obj; xml_obj 303 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); xml_obj 305 lib/cib/cib_attrs.c xml_top = xml_obj; xml_obj 355 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; xml_obj 371 lib/cib/cib_attrs.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, attr_value); xml_obj 373 lib/cib/cib_attrs.c rc = cib_internal_op(the_cib, CIB_OP_DELETE, NULL, section, xml_obj, NULL, xml_obj 384 lib/cib/cib_attrs.c free_xml(xml_obj); xml_obj 526 lib/cib/cib_attrs.c xmlNode *xml_obj = NULL; xml_obj 539 lib/cib/cib_attrs.c xml_obj = fragment; xml_obj 540 lib/cib/cib_attrs.c CRM_CHECK(pcmk__str_eq(crm_element_name(xml_obj), XML_CIB_TAG_NODES, pcmk__str_casei), xml_obj 542 lib/cib/cib_attrs.c CRM_ASSERT(xml_obj != NULL); xml_obj 543 lib/cib/cib_attrs.c crm_log_xml_trace(xml_obj, "Result section"); xml_obj 548 lib/cib/cib_attrs.c for (a_child = pcmk__xml_first_child(xml_obj); a_child != NULL; xml_obj 142 lib/cib/cib_ops.c cib_update_counter(xmlNode * xml_obj, const char *field, gboolean reset) xml_obj 148 lib/cib/cib_ops.c if (reset == FALSE && crm_element_value(xml_obj, field) != NULL) { xml_obj 149 lib/cib/cib_ops.c old_value = crm_element_value_copy(xml_obj, field); xml_obj 159 lib/cib/cib_ops.c crm_xml_add(xml_obj, field, new_value); xml_obj 935 lib/common/xml.c xmlNode *xml_obj = NULL; xml_obj 951 lib/common/xml.c xml_obj = string2xml(xml_buffer); xml_obj 954 lib/common/xml.c crm_log_xml_trace(xml_obj, "Created fragment"); xml_obj 955 lib/common/xml.c return xml_obj; xml_obj 192 lib/common/xpath.c get_xpath_object_relative(const char *xpath, xmlNode * xml_obj, int error_level) xml_obj 198 lib/common/xpath.c if (xml_obj == NULL || xpath == NULL) { xml_obj 202 lib/common/xpath.c xpath_prefix = (char *)xmlGetNodePath(xml_obj); xml_obj 206 lib/common/xpath.c result = get_xpath_object(xpath_full, xml_obj, error_level); xml_obj 214 lib/common/xpath.c get_xpath_object(const char *xpath, xmlNode * xml_obj, int error_level) xml_obj 223 lib/common/xpath.c return xml_obj; /* or return NULL? */ xml_obj 226 lib/common/xpath.c xpathObj = xpath_search(xml_obj, xpath); xml_obj 227 lib/common/xpath.c nodePath = (char *)xmlGetNodePath(xml_obj); xml_obj 234 lib/common/xpath.c crm_log_xml_explicit(xml_obj, "Unexpected Input"); xml_obj 255 lib/common/xpath.c crm_log_xml_explicit(xml_obj, "Bad Input"); xml_obj 52 lib/pacemaker/pcmk_sched_constraints.c static void unpack_location(xmlNode *xml_obj, pe_working_set_t *data_set); xml_obj 53 lib/pacemaker/pcmk_sched_constraints.c static void unpack_rsc_colocation(xmlNode *xml_obj, pe_working_set_t *data_set); xml_obj 74 lib/pacemaker/pcmk_sched_constraints.c xmlNode *xml_obj = NULL; xml_obj 77 lib/pacemaker/pcmk_sched_constraints.c for (xml_obj = pcmk__xe_first_child(xml_constraints); xml_obj != NULL; xml_obj 78 lib/pacemaker/pcmk_sched_constraints.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 79 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 80 lib/pacemaker/pcmk_sched_constraints.c const char *tag = crm_element_name(xml_obj); xml_obj 90 lib/pacemaker/pcmk_sched_constraints.c lifetime = first_named_child(xml_obj, "lifetime"); xml_obj 102 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_order(xml_obj, data_set); xml_obj 105 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_colocation(xml_obj, data_set); xml_obj 108 lib/pacemaker/pcmk_sched_constraints.c unpack_location(xml_obj, data_set); xml_obj 111 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket(xml_obj, data_set); xml_obj 153 lib/pacemaker/pcmk_sched_constraints.c get_ordering_type(xmlNode * xml_obj) xml_obj 156 lib/pacemaker/pcmk_sched_constraints.c const char *kind = crm_element_value(xml_obj, XML_ORDER_ATTR_KIND); xml_obj 159 lib/pacemaker/pcmk_sched_constraints.c const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 187 lib/pacemaker/pcmk_sched_constraints.c crm_str(ID(xml_obj)), kind); xml_obj 268 lib/pacemaker/pcmk_sched_constraints.c order_is_symmetrical(xmlNode * xml_obj, xml_obj 271 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 272 lib/pacemaker/pcmk_sched_constraints.c const char *kind_s = crm_element_value(xml_obj, XML_ORDER_ATTR_KIND); xml_obj 273 lib/pacemaker/pcmk_sched_constraints.c const char *score_s = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 274 lib/pacemaker/pcmk_sched_constraints.c const char *symmetrical_s = crm_element_value(xml_obj, XML_CONS_ATTR_SYMMETRICAL); xml_obj 278 lib/pacemaker/pcmk_sched_constraints.c kind = get_ordering_type(xml_obj); xml_obj 308 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set) xml_obj 327 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 329 lib/pacemaker/pcmk_sched_constraints.c id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 332 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 336 lib/pacemaker/pcmk_sched_constraints.c invert_bool = order_is_symmetrical(xml_obj, kind, NULL); xml_obj 338 lib/pacemaker/pcmk_sched_constraints.c id_then = crm_element_value(xml_obj, XML_ORDER_ATTR_THEN); xml_obj 339 lib/pacemaker/pcmk_sched_constraints.c id_first = crm_element_value(xml_obj, XML_ORDER_ATTR_FIRST); xml_obj 341 lib/pacemaker/pcmk_sched_constraints.c action_then = crm_element_value(xml_obj, XML_ORDER_ATTR_THEN_ACTION); xml_obj 342 lib/pacemaker/pcmk_sched_constraints.c action_first = crm_element_value(xml_obj, XML_ORDER_ATTR_FIRST_ACTION); xml_obj 344 lib/pacemaker/pcmk_sched_constraints.c instance_then = crm_element_value(xml_obj, XML_ORDER_ATTR_THEN_INSTANCE); xml_obj 345 lib/pacemaker/pcmk_sched_constraints.c instance_first = crm_element_value(xml_obj, XML_ORDER_ATTR_FIRST_INSTANCE); xml_obj 412 lib/pacemaker/pcmk_sched_constraints.c kind = get_ordering_type(xml_obj); xml_obj 434 lib/pacemaker/pcmk_sched_constraints.c const char *require_all_s = crm_element_value(xml_obj, "require-all"); xml_obj 518 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 527 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 529 lib/pacemaker/pcmk_sched_constraints.c new_xml = copy_xml(xml_obj); xml_obj 641 lib/pacemaker/pcmk_sched_constraints.c tag_to_set(xmlNode * xml_obj, xmlNode ** rsc_set, const char * attr, xml_obj 652 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK((xml_obj != NULL) && (attr != NULL), return FALSE); xml_obj 654 lib/pacemaker/pcmk_sched_constraints.c cons_id = ID(xml_obj); xml_obj 657 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 661 lib/pacemaker/pcmk_sched_constraints.c id = crm_element_value(xml_obj, attr); xml_obj 677 lib/pacemaker/pcmk_sched_constraints.c *rsc_set = create_xml_node(xml_obj, XML_CONS_TAG_RSC_SET); xml_obj 696 lib/pacemaker/pcmk_sched_constraints.c *rsc_set = create_xml_node(xml_obj, XML_CONS_TAG_RSC_SET); xml_obj 708 lib/pacemaker/pcmk_sched_constraints.c xml_remove_prop(xml_obj, attr); xml_obj 714 lib/pacemaker/pcmk_sched_constraints.c static void unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, xml_obj 720 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_location(xmlNode *xml_obj, pe_working_set_t *data_set) xml_obj 722 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 723 lib/pacemaker/pcmk_sched_constraints.c const char *value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE); xml_obj 728 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, rsc_lh, NULL, NULL, data_set, NULL); xml_obj 731 lib/pacemaker/pcmk_sched_constraints.c value = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE_PATTERN); xml_obj 774 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, &re_match_data); xml_obj 778 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xml_obj, r, NULL, NULL, data_set, NULL); xml_obj 793 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_location(xmlNode *xml_obj, pe_resource_t *rsc_lh, const char *role, xml_obj 798 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE); xml_obj 799 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 800 lib/pacemaker/pcmk_sched_constraints.c const char *node = crm_element_value(xml_obj, XML_CIB_TAG_NODE); xml_obj 801 lib/pacemaker/pcmk_sched_constraints.c const char *discovery = crm_element_value(xml_obj, XML_LOCATION_ATTR_DISCOVERY); xml_obj 810 lib/pacemaker/pcmk_sched_constraints.c score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 830 lib/pacemaker/pcmk_sched_constraints.c for (xmlNode *rule_xml = first_named_child(xml_obj, XML_TAG_RULE); xml_obj 856 lib/pacemaker/pcmk_sched_constraints.c role = crm_element_value(xml_obj, XML_RULE_ATTR_ROLE); xml_obj 882 lib/pacemaker/pcmk_sched_constraints.c unpack_location_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 897 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 899 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 902 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 907 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); xml_obj 915 lib/pacemaker/pcmk_sched_constraints.c id_lh = crm_element_value(xml_obj, XML_LOC_ATTR_SOURCE); xml_obj 930 lib/pacemaker/pcmk_sched_constraints.c state_lh = crm_element_value(xml_obj, XML_RULE_ATTR_ROLE); xml_obj 932 lib/pacemaker/pcmk_sched_constraints.c new_xml = copy_xml(xml_obj); xml_obj 993 lib/pacemaker/pcmk_sched_constraints.c unpack_location(xmlNode *xml_obj, pe_working_set_t *data_set) xml_obj 1001 lib/pacemaker/pcmk_sched_constraints.c if (unpack_location_tags(xml_obj, &expanded_xml, data_set) == FALSE) { xml_obj 1006 lib/pacemaker/pcmk_sched_constraints.c orig_xml = xml_obj; xml_obj 1007 lib/pacemaker/pcmk_sched_constraints.c xml_obj = expanded_xml; xml_obj 1010 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; xml_obj 1016 lib/pacemaker/pcmk_sched_constraints.c if (unpack_location_set(xml_obj, set, data_set) == FALSE) { xml_obj 1027 lib/pacemaker/pcmk_sched_constraints.c xml_obj = orig_xml; xml_obj 1031 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_location(xml_obj, data_set); xml_obj 2052 lib/pacemaker/pcmk_sched_constraints.c unpack_order_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 2072 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 2074 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 2077 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 2082 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); xml_obj 2090 lib/pacemaker/pcmk_sched_constraints.c id_first = crm_element_value(xml_obj, XML_ORDER_ATTR_FIRST); xml_obj 2091 lib/pacemaker/pcmk_sched_constraints.c id_then = crm_element_value(xml_obj, XML_ORDER_ATTR_THEN); xml_obj 2113 lib/pacemaker/pcmk_sched_constraints.c action_first = crm_element_value(xml_obj, XML_ORDER_ATTR_FIRST_ACTION); xml_obj 2114 lib/pacemaker/pcmk_sched_constraints.c action_then = crm_element_value(xml_obj, XML_ORDER_ATTR_THEN_ACTION); xml_obj 2116 lib/pacemaker/pcmk_sched_constraints.c new_xml = copy_xml(xml_obj); xml_obj 2161 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_order(xmlNode * xml_obj, pe_working_set_t * data_set) xml_obj 2190 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 2191 lib/pacemaker/pcmk_sched_constraints.c const char *invert = crm_element_value(xml_obj, XML_CONS_ATTR_SYMMETRICAL); xml_obj 2192 lib/pacemaker/pcmk_sched_constraints.c enum pe_order_kind kind = get_ordering_type(xml_obj); xml_obj 2194 lib/pacemaker/pcmk_sched_constraints.c gboolean invert_bool = order_is_symmetrical(xml_obj, kind, NULL); xml_obj 2197 lib/pacemaker/pcmk_sched_constraints.c rc = unpack_order_tags(xml_obj, &expanded_xml, data_set); xml_obj 2199 lib/pacemaker/pcmk_sched_constraints.c orig_xml = xml_obj; xml_obj 2200 lib/pacemaker/pcmk_sched_constraints.c xml_obj = expanded_xml; xml_obj 2206 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; xml_obj 2277 lib/pacemaker/pcmk_sched_constraints.c xml_obj = orig_xml; xml_obj 2281 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_rsc_order(xml_obj, data_set); xml_obj 2531 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_colocation(xmlNode *xml_obj, const char *id, xml_obj 2536 lib/pacemaker/pcmk_sched_constraints.c const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 2537 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE); xml_obj 2538 lib/pacemaker/pcmk_sched_constraints.c const char *id_rh = crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET); xml_obj 2539 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE); xml_obj 2540 lib/pacemaker/pcmk_sched_constraints.c const char *state_rh = crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET_ROLE); xml_obj 2541 lib/pacemaker/pcmk_sched_constraints.c const char *attr = crm_element_value(xml_obj, XML_COLOC_ATTR_NODE_ATTR); xml_obj 2542 lib/pacemaker/pcmk_sched_constraints.c const char *symmetrical = crm_element_value(xml_obj, XML_CONS_ATTR_SYMMETRICAL); xml_obj 2545 lib/pacemaker/pcmk_sched_constraints.c const char *instance_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_INSTANCE); xml_obj 2546 lib/pacemaker/pcmk_sched_constraints.c const char *instance_rh = crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET_INSTANCE); xml_obj 2609 lib/pacemaker/pcmk_sched_constraints.c unpack_colocation_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 2630 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 2632 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 2635 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 2640 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); xml_obj 2648 lib/pacemaker/pcmk_sched_constraints.c id_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE); xml_obj 2649 lib/pacemaker/pcmk_sched_constraints.c id_rh = crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET); xml_obj 2678 lib/pacemaker/pcmk_sched_constraints.c state_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE); xml_obj 2679 lib/pacemaker/pcmk_sched_constraints.c state_rh = crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET_ROLE); xml_obj 2681 lib/pacemaker/pcmk_sched_constraints.c new_xml = copy_xml(xml_obj); xml_obj 2726 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_colocation(xmlNode *xml_obj, pe_working_set_t *data_set) xml_obj 2736 lib/pacemaker/pcmk_sched_constraints.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 2737 lib/pacemaker/pcmk_sched_constraints.c const char *score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 2738 lib/pacemaker/pcmk_sched_constraints.c const char *influence_s = crm_element_value(xml_obj, xml_obj 2745 lib/pacemaker/pcmk_sched_constraints.c if (!unpack_colocation_tags(xml_obj, &expanded_xml, data_set)) { xml_obj 2749 lib/pacemaker/pcmk_sched_constraints.c orig_xml = xml_obj; xml_obj 2750 lib/pacemaker/pcmk_sched_constraints.c xml_obj = expanded_xml; xml_obj 2753 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; xml_obj 2773 lib/pacemaker/pcmk_sched_constraints.c xml_obj = orig_xml; xml_obj 2777 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_colocation(xml_obj, id, influence_s, data_set); xml_obj 2904 lib/pacemaker/pcmk_sched_constraints.c unpack_simple_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set) xml_obj 2907 lib/pacemaker/pcmk_sched_constraints.c const char *ticket_str = crm_element_value(xml_obj, XML_TICKET_ATTR_TICKET); xml_obj 2908 lib/pacemaker/pcmk_sched_constraints.c const char *loss_policy = crm_element_value(xml_obj, XML_TICKET_ATTR_LOSS_POLICY); xml_obj 2912 lib/pacemaker/pcmk_sched_constraints.c const char *id_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE); xml_obj 2913 lib/pacemaker/pcmk_sched_constraints.c const char *state_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE); xml_obj 2916 lib/pacemaker/pcmk_sched_constraints.c const char *instance_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_INSTANCE); xml_obj 2920 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 2922 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 2925 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 2977 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket_tags(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 2992 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 2994 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 2997 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 3002 lib/pacemaker/pcmk_sched_constraints.c expand_tags_in_sets(xml_obj, &new_xml, data_set); xml_obj 3010 lib/pacemaker/pcmk_sched_constraints.c id_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE); xml_obj 3025 lib/pacemaker/pcmk_sched_constraints.c state_lh = crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE); xml_obj 3027 lib/pacemaker/pcmk_sched_constraints.c new_xml = copy_xml(xml_obj); xml_obj 3056 lib/pacemaker/pcmk_sched_constraints.c unpack_rsc_ticket(xmlNode * xml_obj, pe_working_set_t * data_set) xml_obj 3062 lib/pacemaker/pcmk_sched_constraints.c const char *ticket_str = crm_element_value(xml_obj, XML_TICKET_ATTR_TICKET); xml_obj 3063 lib/pacemaker/pcmk_sched_constraints.c const char *loss_policy = crm_element_value(xml_obj, XML_TICKET_ATTR_LOSS_POLICY); xml_obj 3072 lib/pacemaker/pcmk_sched_constraints.c CRM_CHECK(xml_obj != NULL, return FALSE); xml_obj 3074 lib/pacemaker/pcmk_sched_constraints.c id = ID(xml_obj); xml_obj 3077 lib/pacemaker/pcmk_sched_constraints.c crm_element_name(xml_obj)); xml_obj 3099 lib/pacemaker/pcmk_sched_constraints.c rc = unpack_rsc_ticket_tags(xml_obj, &expanded_xml, data_set); xml_obj 3101 lib/pacemaker/pcmk_sched_constraints.c orig_xml = xml_obj; xml_obj 3102 lib/pacemaker/pcmk_sched_constraints.c xml_obj = expanded_xml; xml_obj 3108 lib/pacemaker/pcmk_sched_constraints.c for (set = pcmk__xe_first_child(xml_obj); set != NULL; xml_obj 3122 lib/pacemaker/pcmk_sched_constraints.c xml_obj = orig_xml; xml_obj 3126 lib/pacemaker/pcmk_sched_constraints.c return unpack_simple_rsc_ticket(xml_obj, data_set); xml_obj 372 lib/pacemaker/pcmk_sched_transition.c xmlNode *xml_obj = NULL; xml_obj 375 lib/pacemaker/pcmk_sched_transition.c xml_obj = create_xml_node(xml_top, XML_CIB_TAG_TICKETS); xml_obj 376 lib/pacemaker/pcmk_sched_transition.c ticket_state_xml = create_xml_node(xml_obj, XML_CIB_TAG_TICKET_STATE); xml_obj 133 lib/pengine/bundle.c xmlNode *xml_obj = NULL; xml_obj 140 lib/pengine/bundle.c xml_obj = create_xml_node(xml_ip, XML_TAG_ATTR_SETS); xml_obj 141 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", xml_obj 144 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "ip", replica->ipaddr); xml_obj 146 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "nic", data->host_network); xml_obj 150 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 154 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "cidr_netmask", "32"); xml_obj 157 lib/pengine/bundle.c xml_obj = create_xml_node(xml_ip, "operations"); xml_obj 158 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_ip), "monitor", "60s", NULL); xml_obj 184 lib/pengine/bundle.c xmlNode *xml_obj = NULL; xml_obj 192 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, XML_TAG_ATTR_SETS); xml_obj 193 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", xml_obj 196 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); xml_obj 197 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); xml_obj 198 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); xml_obj 199 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); xml_obj 275 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); xml_obj 278 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); xml_obj 283 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 286 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 295 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 304 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 306 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", xml_obj 311 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 320 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 324 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, "operations"); xml_obj 325 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); xml_obj 348 lib/pengine/bundle.c xmlNode *xml_obj = NULL; xml_obj 356 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, XML_TAG_ATTR_SETS); xml_obj 357 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", xml_obj 360 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); xml_obj 361 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", XML_BOOLEAN_TRUE); xml_obj 362 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", XML_BOOLEAN_FALSE); xml_obj 363 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", XML_BOOLEAN_FALSE); xml_obj 441 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); xml_obj 444 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); xml_obj 449 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 452 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 461 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 470 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 472 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", xml_obj 477 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, xml_obj 486 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 490 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, "operations"); xml_obj 491 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); xml_obj 514 lib/pengine/bundle.c xmlNode *xml_obj = NULL; xml_obj 524 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, XML_TAG_ATTR_SETS); xml_obj 525 lib/pengine/bundle.c crm_xml_set_id(xml_obj, "%s-attributes-%d", xml_obj 528 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "image", data->image); xml_obj 529 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "allow_pull", "true"); xml_obj 530 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "force_kill", "false"); xml_obj 531 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "reuse", "false"); xml_obj 610 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_opts", buffer); xml_obj 613 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "mount_points", dbuffer); xml_obj 618 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 621 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 630 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 639 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 641 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", xml_obj 646 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "run_cmd", xml_obj 655 lib/pengine/bundle.c crm_create_nvpair_xml(xml_obj, NULL, "monitor_cmd", "/bin/true"); xml_obj 659 lib/pengine/bundle.c xml_obj = create_xml_node(xml_container, "operations"); xml_obj 660 lib/pengine/bundle.c crm_create_op_xml(xml_obj, ID(xml_container), "monitor", "60s", NULL); xml_obj 1017 lib/pengine/bundle.c xmlNode *xml_obj = NULL; xml_obj 1029 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_DOCKER_S); xml_obj 1030 lib/pengine/bundle.c if (xml_obj != NULL) { xml_obj 1033 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_RKT_S); xml_obj 1034 lib/pengine/bundle.c if (xml_obj != NULL) { xml_obj 1037 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, PE__CONTAINER_AGENT_PODMAN_S); xml_obj 1038 lib/pengine/bundle.c if (xml_obj != NULL) { xml_obj 1047 lib/pengine/bundle.c value = crm_element_value(xml_obj, XML_RSC_ATTR_PROMOTED_MAX); xml_obj 1050 lib/pengine/bundle.c value = crm_element_value(xml_obj, "masters"); xml_obj 1055 lib/pengine/bundle.c value = crm_element_value(xml_obj, "replicas"); xml_obj 1067 lib/pengine/bundle.c value = crm_element_value(xml_obj, "replicas-per-host"); xml_obj 1073 lib/pengine/bundle.c bundle_data->container_command = crm_element_value_copy(xml_obj, "run-command"); xml_obj 1074 lib/pengine/bundle.c bundle_data->launcher_options = crm_element_value_copy(xml_obj, "options"); xml_obj 1075 lib/pengine/bundle.c bundle_data->image = crm_element_value_copy(xml_obj, "image"); xml_obj 1076 lib/pengine/bundle.c bundle_data->container_network = crm_element_value_copy(xml_obj, "network"); xml_obj 1078 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "network"); xml_obj 1079 lib/pengine/bundle.c if(xml_obj) { xml_obj 1081 lib/pengine/bundle.c bundle_data->ip_range_start = crm_element_value_copy(xml_obj, "ip-range-start"); xml_obj 1082 lib/pengine/bundle.c bundle_data->host_netmask = crm_element_value_copy(xml_obj, "host-netmask"); xml_obj 1083 lib/pengine/bundle.c bundle_data->host_network = crm_element_value_copy(xml_obj, "host-interface"); xml_obj 1084 lib/pengine/bundle.c bundle_data->control_port = crm_element_value_copy(xml_obj, "control-port"); xml_obj 1085 lib/pengine/bundle.c value = crm_element_value(xml_obj, "add-host"); xml_obj 1090 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; xml_obj 1115 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "storage"); xml_obj 1116 lib/pengine/bundle.c for (xmlNode *xml_child = pcmk__xe_first_child(xml_obj); xml_child != NULL; xml_obj 1140 lib/pengine/bundle.c xml_obj = first_named_child(rsc->xml, "primitive"); xml_obj 1141 lib/pengine/bundle.c if (xml_obj && valid_network(bundle_data)) { xml_obj 1185 lib/pengine/bundle.c add_node_copy(xml_resource, xml_obj); xml_obj 1187 lib/pengine/bundle.c } else if(xml_obj) { xml_obj 1189 lib/pengine/bundle.c rsc->id, ID(xml_obj)); xml_obj 158 lib/pengine/clone.c xmlNode *xml_obj = rsc->xml; xml_obj 243 lib/pengine/clone.c for (a_child = pcmk__xe_first_child(xml_obj); a_child != NULL; xml_obj 268 lib/pengine/complex.c unpack_template(xmlNode * xml_obj, xmlNode ** expanded_xml, pe_working_set_t * data_set) xml_obj 280 lib/pengine/complex.c if (xml_obj == NULL) { xml_obj 285 lib/pengine/complex.c template_ref = crm_element_value(xml_obj, XML_CIB_TAG_RSC_TEMPLATE); xml_obj 290 lib/pengine/complex.c id = ID(xml_obj); xml_obj 292 lib/pengine/complex.c pe_err("'%s' object must have a id", crm_element_name(xml_obj)); xml_obj 315 lib/pengine/complex.c xmlNodeSetName(new_xml, xml_obj->name); xml_obj 318 lib/pengine/complex.c clone = crm_element_value(xml_obj, XML_RSC_ATTR_INCARNATION); xml_obj 325 lib/pengine/complex.c for (child_xml = pcmk__xe_first_child(xml_obj); child_xml != NULL; xml_obj 382 lib/pengine/complex.c add_template_rsc(xmlNode * xml_obj, pe_working_set_t * data_set) xml_obj 387 lib/pengine/complex.c if (xml_obj == NULL) { xml_obj 392 lib/pengine/complex.c template_ref = crm_element_value(xml_obj, XML_CIB_TAG_RSC_TEMPLATE); xml_obj 397 lib/pengine/complex.c id = ID(xml_obj); xml_obj 399 lib/pengine/complex.c pe_err("'%s' object must have a id", crm_element_name(xml_obj)); xml_obj 493 lib/pengine/complex.c common_unpack(xmlNode * xml_obj, pe_resource_t ** rsc, xml_obj 501 lib/pengine/complex.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 515 lib/pengine/complex.c crm_log_xml_trace(xml_obj, "Processing resource input..."); xml_obj 527 lib/pengine/complex.c if (unpack_template(xml_obj, &expanded_xml, data_set) == FALSE) { xml_obj 537 lib/pengine/complex.c (*rsc)->orig_xml = xml_obj; xml_obj 540 lib/pengine/complex.c (*rsc)->xml = xml_obj; xml_obj 856 lib/pengine/complex.c if (add_template_rsc(xml_obj, data_set) == FALSE) { xml_obj 99 lib/pengine/group.c xmlNode *xml_obj = rsc->xml; xml_obj 126 lib/pengine/group.c for (xml_native_rsc = pcmk__xe_first_child(xml_obj); xml_native_rsc != NULL; xml_obj 135 lib/pengine/group.c pe_err("Failed unpacking resource %s", crm_element_value(xml_obj, XML_ATTR_ID)); xml_obj 532 lib/pengine/rules.c make_pairs(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 537 lib/pengine/rules.c if (xml_obj == NULL) { xml_obj 540 lib/pengine/rules.c for (xmlNode *attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; xml_obj 583 lib/pengine/rules.c unpack_nvpair_blocks(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 588 lib/pengine/rules.c GList *pairs = make_pairs(top, xml_obj, set_name, always_first); xml_obj 605 lib/pengine/rules.c pe_eval_nvpairs(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 610 lib/pengine/rules.c unpack_nvpair_blocks(top, xml_obj, set_name, hash, always_first, xml_obj 628 lib/pengine/rules.c pe_unpack_nvpairs(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 642 lib/pengine/rules.c pe_eval_nvpairs(top, xml_obj, set_name, &rule_data, hash, xml_obj 648 lib/pengine/rules.c pe_eval_versioned_attributes(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 652 lib/pengine/rules.c unpack_nvpair_blocks(top, xml_obj, set_name, hash, NULL, FALSE, rule_data, xml_obj 1397 lib/pengine/rules.c unpack_instance_attributes(xmlNode *top, xmlNode *xml_obj, const char *set_name, xml_obj 1411 lib/pengine/rules.c unpack_nvpair_blocks(top, xml_obj, set_name, hash, always_first, xml_obj 448 lib/pengine/unpack.c expand_remote_rsc_meta(xmlNode *xml_obj, xmlNode *parent, pe_working_set_t *data) xml_obj 453 lib/pengine/unpack.c const char *container_id = ID(xml_obj); xml_obj 461 lib/pengine/unpack.c for (attr_set = pcmk__xe_first_child(xml_obj); attr_set != NULL; xml_obj 532 lib/pengine/unpack.c xmlNode *xml_obj = NULL; xml_obj 548 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_nodes); xml_obj != NULL; xml_obj 549 lib/pengine/unpack.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 551 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_NODE, pcmk__str_none)) { xml_obj 554 lib/pengine/unpack.c id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 555 lib/pengine/unpack.c uname = crm_element_value(xml_obj, XML_ATTR_UNAME); xml_obj 556 lib/pengine/unpack.c type = crm_element_value(xml_obj, XML_ATTR_TYPE); xml_obj 557 lib/pengine/unpack.c score = crm_element_value(xml_obj, XML_RULE_ATTR_SCORE); xml_obj 579 lib/pengine/unpack.c add_node_attrs(xml_obj, new_node, FALSE, data_set); xml_obj 580 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_UTILIZATION, &rule_data, xml_obj 584 lib/pengine/unpack.c crm_trace("Done with node %s", crm_element_value(xml_obj, XML_ATTR_UNAME)); xml_obj 631 lib/pengine/unpack.c xmlNode *xml_obj = NULL; xml_obj 636 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; xml_obj 637 lib/pengine/unpack.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 644 lib/pengine/unpack.c if (xml_contains_remote_node(xml_obj)) { xml_obj 645 lib/pengine/unpack.c new_node_id = ID(xml_obj); xml_obj 650 lib/pengine/unpack.c new_node_id, ID(xml_obj)); xml_obj 660 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RESOURCE, pcmk__str_none)) { xml_obj 665 lib/pengine/unpack.c new_node_id = expand_remote_rsc_meta(xml_obj, xml_resources, data_set); xml_obj 668 lib/pengine/unpack.c new_node_id, ID(xml_obj)); xml_obj 678 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_GROUP, pcmk__str_none)) { xml_obj 680 lib/pengine/unpack.c for (xml_obj2 = pcmk__xe_first_child(xml_obj); xml_obj2 != NULL; xml_obj 687 lib/pengine/unpack.c new_node_id, ID(xml_obj2), ID(xml_obj)); xml_obj 768 lib/pengine/unpack.c xmlNode *xml_obj = NULL; xml_obj 773 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_resources); xml_obj != NULL; xml_obj 774 lib/pengine/unpack.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 778 lib/pengine/unpack.c if (pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_RSC_TEMPLATE, pcmk__str_none)) { xml_obj 779 lib/pengine/unpack.c const char *template_id = ID(xml_obj); xml_obj 789 lib/pengine/unpack.c crm_trace("Beginning unpack... <%s id=%s... >", crm_element_name(xml_obj), ID(xml_obj)); xml_obj 790 lib/pengine/unpack.c if (common_unpack(xml_obj, &new_rsc, NULL, data_set) && (new_rsc != NULL)) { xml_obj 797 lib/pengine/unpack.c crm_element_name(xml_obj), crm_str(ID(xml_obj))); xml_obj 946 lib/pengine/unpack.c xmlNode *xml_obj = NULL; xml_obj 948 lib/pengine/unpack.c for (xml_obj = pcmk__xe_first_child(xml_tickets); xml_obj != NULL; xml_obj 949 lib/pengine/unpack.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 951 lib/pengine/unpack.c if (!pcmk__str_eq((const char *)xml_obj->name, XML_CIB_TAG_TICKET_STATE, pcmk__str_none)) { xml_obj 954 lib/pengine/unpack.c unpack_ticket_state(xml_obj, data_set); xml_obj 3922 lib/pengine/unpack.c add_node_attrs(xmlNode *xml_obj, pe_node_t *node, bool overwrite, xml_obj 3957 lib/pengine/unpack.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_ATTR_SETS, &rule_data, xml_obj 29 lib/pengine/utils.c static void unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, xml_obj 801 lib/pengine/utils.c unpack_interval_origin(const char *value, xmlNode *xml_obj, guint interval_ms, xml_obj 818 lib/pengine/utils.c (ID(xml_obj)? ID(xml_obj) : "(missing ID)"), value); xml_obj 833 lib/pengine/utils.c (ID(xml_obj)? ID(xml_obj) : "(unspecified)")); xml_obj 901 lib/pengine/utils.c unpack_versioned_meta(xmlNode *versioned_meta, xmlNode *xml_obj, xml_obj 923 lib/pengine/utils.c if (unpack_interval_origin(value, xml_obj, interval_ms, now, xml_obj 953 lib/pengine/utils.c unpack_operation(pe_action_t * action, xmlNode * xml_obj, pe_resource_t * container, xml_obj 1005 lib/pengine/utils.c if (xml_obj) { xml_obj 1009 lib/pengine/utils.c pe__unpack_dataset_nvpairs(xml_obj, XML_TAG_META_SETS, &rule_data, xml_obj 1015 lib/pengine/utils.c pe_eval_versioned_attributes(data_set->input, xml_obj, xml_obj 1019 lib/pengine/utils.c pe_eval_versioned_attributes(data_set->input, xml_obj, xml_obj 1028 lib/pengine/utils.c for (xIter = xml_obj->properties; xIter; xIter = xIter->next) { xml_obj 1030 lib/pengine/utils.c const char *prop_value = crm_element_value(xml_obj, prop_name); xml_obj 1218 lib/pengine/utils.c if (xml_obj != NULL) { xml_obj 1246 lib/pengine/utils.c if (unpack_interval_origin(value, xml_obj, interval_ms, data_set->now, xml_obj 1254 lib/pengine/utils.c unpack_versioned_meta(rsc_details->versioned_meta, xml_obj, interval_ms, xml_obj 2341 lib/pengine/utils.c pe__unpack_dataset_nvpairs(xmlNode *xml_obj, const char *set_name, xml_obj 2348 lib/pengine/utils.c pe_eval_nvpairs(data_set->input, xml_obj, set_name, rule_data, hash, xml_obj 21 tools/crm_resource_print.c xmlNode *xml_obj = NULL; xml_obj 25 tools/crm_resource_print.c for (xml_obj = pcmk__xe_first_child(cib_constraints); xml_obj != NULL; xml_obj 26 tools/crm_resource_print.c xml_obj = pcmk__xe_next(xml_obj)) { xml_obj 27 tools/crm_resource_print.c const char *id = crm_element_value(xml_obj, XML_ATTR_ID); xml_obj 34 tools/crm_resource_print.c lifetime = first_named_child(xml_obj, "lifetime"); xml_obj 39 tools/crm_resource_print.c if (!pcmk__str_eq(XML_CONS_TAG_RSC_DEPEND, crm_element_name(xml_obj), pcmk__str_casei)) { xml_obj 44 tools/crm_resource_print.c crm_element_name(xml_obj), xml_obj 45 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_ATTR_ID)), xml_obj 46 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE)), xml_obj 47 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET)), xml_obj 48 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_RULE_ATTR_SCORE)), xml_obj 49 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_COLOC_ATTR_SOURCE_ROLE)), xml_obj 50 tools/crm_resource_print.c cons_string(crm_element_value(xml_obj, XML_COLOC_ATTR_TARGET_ROLE))); xml_obj 334 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; xml_obj 371 tools/crm_resource_runtime.c xml_obj = create_xml_node(xml_top, attr_set_type); xml_obj 372 tools/crm_resource_runtime.c crm_xml_add(xml_obj, XML_ATTR_ID, attr_set); xml_obj 375 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(xml_obj, attr_id, attr_name, attr_value); xml_obj 377 tools/crm_resource_runtime.c xml_top = xml_obj; xml_obj 456 tools/crm_resource_runtime.c xmlNode *xml_obj = NULL; xml_obj 480 tools/crm_resource_runtime.c xml_obj = crm_create_nvpair_xml(NULL, attr_id, attr_name, NULL); xml_obj 481 tools/crm_resource_runtime.c crm_log_xml_debug(xml_obj, "Delete"); xml_obj 484 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib_options); xml_obj 494 tools/crm_resource_runtime.c free_xml(xml_obj); xml_obj 399 tools/crm_ticket.c xmlNode *xml_obj = NULL; xml_obj 402 tools/crm_ticket.c xml_obj = create_xml_node(xml_top, XML_CIB_TAG_TICKETS); xml_obj 403 tools/crm_ticket.c ticket_state_xml = create_xml_node(xml_obj, XML_CIB_TAG_TICKET_STATE);