patchset          838 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          840 daemons/fenced/pacemaker-fenced.c     for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset          962 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          964 daemons/fenced/pacemaker-fenced.c     CRM_ASSERT(patchset);
patchset          965 daemons/fenced/pacemaker-fenced.c     crm_element_value_int(patchset, "format", &format);
patchset         1040 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset         1042 daemons/fenced/pacemaker-fenced.c     CRM_ASSERT(patchset);
patchset         1043 daemons/fenced/pacemaker-fenced.c     crm_element_value_int(patchset, "format", &format);
patchset         1065 daemons/fenced/pacemaker-fenced.c         xml_patch_versions(patchset, add, del);
patchset         1067 daemons/fenced/pacemaker-fenced.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset         1154 daemons/fenced/pacemaker-fenced.c         xmlNode *patchset = NULL;
patchset         1161 daemons/fenced/pacemaker-fenced.c         patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset         1162 daemons/fenced/pacemaker-fenced.c         xml_log_patchset(LOG_TRACE, "Config update", patchset);
patchset         1163 daemons/fenced/pacemaker-fenced.c         rc = xml_apply_patchset(local_cib, patchset, TRUE);
patchset          290 include/crm/common/xml.h bool xml_patch_versions(const xmlNode *patchset, int add[3], int del[3]);
patchset          294 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version);
patchset          199 lib/common/alerts.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          211 lib/common/alerts.c     crm_element_value_int(patchset, "format", &format);
patchset          220 lib/common/alerts.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset           85 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset)
patchset           94 lib/common/patchset.c     if (patchset && pcmk_is_set(nodepriv->flags, pcmk__xf_created)) {
patchset          100 lib/common/patchset.c             change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          126 lib/common/patchset.c                 change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          169 lib/common/patchset.c         add_xml_changes_to_patchset(cIter, patchset);
patchset          173 lib/common/patchset.c     if (patchset && pcmk_is_set(nodepriv->flags, pcmk__xf_moved)) {
patchset          180 lib/common/patchset.c             change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          293 lib/common/patchset.c     xmlNode *patchset = diff_xml_object(source, target, suppress);
patchset          295 lib/common/patchset.c     if (patchset) {
patchset          297 lib/common/patchset.c         xml_repair_v1_diff(source, target, patchset, config);
patchset          298 lib/common/patchset.c         crm_xml_add(patchset, "format", "1");
patchset          300 lib/common/patchset.c     return patchset;
patchset          312 lib/common/patchset.c     xmlNode *patchset = NULL;
patchset          327 lib/common/patchset.c     patchset = create_xml_node(NULL, XML_TAG_DIFF);
patchset          328 lib/common/patchset.c     crm_xml_add_int(patchset, "format", 2);
patchset          330 lib/common/patchset.c     version = create_xml_node(patchset, XML_DIFF_VERSION);
patchset          354 lib/common/patchset.c         xmlNode *change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          363 lib/common/patchset.c     add_xml_changes_to_patchset(target, patchset);
patchset          364 lib/common/patchset.c     return patchset;
patchset          456 lib/common/patchset.c xml_log_patchset(uint8_t log_level, const char *function, xmlNode *patchset)
patchset          481 lib/common/patchset.c     if (patchset == NULL) {
patchset          490 lib/common/patchset.c     xml_patch_versions(patchset, add, del);
patchset          491 lib/common/patchset.c     fmt = crm_element_value(patchset, "format");
patchset          492 lib/common/patchset.c     digest = crm_element_value(patchset, XML_ATTR_DIGEST);
patchset          501 lib/common/patchset.c     } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) {
patchset          507 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset          511 lib/common/patchset.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset          601 lib/common/patchset.c     removed = find_xml_node(patchset, "diff-removed", FALSE);
patchset          614 lib/common/patchset.c     added = find_xml_node(patchset, "diff-added", FALSE);
patchset          763 lib/common/patchset.c find_patch_xml_node(const xmlNode *patchset, int format, bool added,
patchset          772 lib/common/patchset.c             *patch_node = find_xml_node(patchset, label, FALSE);
patchset          780 lib/common/patchset.c             *patch_node = find_xml_node(patchset, "version", FALSE);
patchset          793 lib/common/patchset.c xml_patch_versions(const xmlNode *patchset, int add[3], int del[3])
patchset          806 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset          809 lib/common/patchset.c     if (!find_patch_xml_node(patchset, format, FALSE, &tmp)) {
patchset          820 lib/common/patchset.c     if (!find_patch_xml_node(patchset, format, TRUE, &tmp)) {
patchset          843 lib/common/patchset.c xml_patch_version_check(const xmlNode *xml, const xmlNode *patchset, int format)
patchset          874 lib/common/patchset.c     xml_patch_versions(patchset, add, del);
patchset          886 lib/common/patchset.c                      del[0], del[1], del[2], add[0], add[1], add[2], patchset);
patchset          887 lib/common/patchset.c             crm_log_xml_info(patchset, "OldPatch");
patchset          919 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, const xmlNode *patchset)
patchset          925 lib/common/patchset.c     xmlNode *added = find_xml_node(patchset, "diff-added", FALSE);
patchset          926 lib/common/patchset.c     xmlNode *removed = find_xml_node(patchset, "diff-removed", FALSE);
patchset         1134 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, const xmlNode *patchset)
patchset         1141 lib/common/patchset.c     for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset         1317 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version)
patchset         1322 lib/common/patchset.c     const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST);
patchset         1324 lib/common/patchset.c     if (patchset == NULL) {
patchset         1328 lib/common/patchset.c     xml_log_patchset(LOG_TRACE, __func__, patchset);
patchset         1330 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset         1332 lib/common/patchset.c         rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format));
patchset         1346 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset));
patchset         1349 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset));
patchset         1378 lib/common/patchset.c                 save_xml_to_file(patchset, "PatchDigest:diff",   NULL);