patchset          719 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          721 daemons/fenced/pacemaker-fenced.c     for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset          841 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          843 daemons/fenced/pacemaker-fenced.c     CRM_ASSERT(patchset);
patchset          844 daemons/fenced/pacemaker-fenced.c     crm_element_value_int(patchset, "format", &format);
patchset          900 daemons/fenced/pacemaker-fenced.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          902 daemons/fenced/pacemaker-fenced.c     CRM_ASSERT(patchset);
patchset          903 daemons/fenced/pacemaker-fenced.c     crm_element_value_int(patchset, "format", &format);
patchset          925 daemons/fenced/pacemaker-fenced.c         xml_patch_versions(patchset, add, del);
patchset          927 daemons/fenced/pacemaker-fenced.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset         1015 daemons/fenced/pacemaker-fenced.c         xmlNode *patchset = NULL;
patchset         1022 daemons/fenced/pacemaker-fenced.c         patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset         1023 daemons/fenced/pacemaker-fenced.c         xml_log_patchset(LOG_TRACE, "Config update", patchset);
patchset         1024 daemons/fenced/pacemaker-fenced.c         rc = xml_apply_patchset(local_cib, patchset, TRUE);
patchset          275 include/crm/common/xml.h bool xml_patch_versions(xmlNode *patchset, int add[3], int del[3]);
patchset          279 include/crm/common/xml.h int xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version);
patchset          203 lib/common/alerts.c     xmlNode *patchset = get_message_xml(msg, F_CIB_UPDATE_RESULT);
patchset          215 lib/common/alerts.c     crm_element_value_int(patchset, "format", &format);
patchset          224 lib/common/alerts.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset           86 lib/common/patchset.c add_xml_changes_to_patchset(xmlNode *xml, xmlNode *patchset)
patchset           95 lib/common/patchset.c     if (patchset && pcmk_is_set(p->flags, xpf_created)) {
patchset          103 lib/common/patchset.c             change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          130 lib/common/patchset.c                 change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          172 lib/common/patchset.c         add_xml_changes_to_patchset(cIter, patchset);
patchset          176 lib/common/patchset.c     if (patchset && pcmk_is_set(p->flags, xpf_moved)) {
patchset          184 lib/common/patchset.c             change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          300 lib/common/patchset.c     xmlNode *patchset = diff_xml_object(source, target, suppress);
patchset          302 lib/common/patchset.c     if (patchset) {
patchset          304 lib/common/patchset.c         xml_repair_v1_diff(source, target, patchset, config);
patchset          305 lib/common/patchset.c         crm_xml_add(patchset, "format", "1");
patchset          307 lib/common/patchset.c     return patchset;
patchset          319 lib/common/patchset.c     xmlNode *patchset = NULL;
patchset          334 lib/common/patchset.c     patchset = create_xml_node(NULL, XML_TAG_DIFF);
patchset          335 lib/common/patchset.c     crm_xml_add_int(patchset, "format", 2);
patchset          337 lib/common/patchset.c     version = create_xml_node(patchset, XML_DIFF_VERSION);
patchset          361 lib/common/patchset.c         xmlNode *change = create_xml_node(patchset, XML_DIFF_CHANGE);
patchset          370 lib/common/patchset.c     add_xml_changes_to_patchset(target, patchset);
patchset          371 lib/common/patchset.c     return patchset;
patchset          463 lib/common/patchset.c xml_log_patchset(uint8_t log_level, const char *function, xmlNode *patchset)
patchset          488 lib/common/patchset.c     if (patchset == NULL) {
patchset          497 lib/common/patchset.c     xml_patch_versions(patchset, add, del);
patchset          498 lib/common/patchset.c     fmt = crm_element_value(patchset, "format");
patchset          499 lib/common/patchset.c     digest = crm_element_value(patchset, XML_ATTR_DIGEST);
patchset          508 lib/common/patchset.c     } else if ((patchset != NULL) && (add[0] || add[1] || add[2])) {
patchset          514 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset          518 lib/common/patchset.c         for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset          615 lib/common/patchset.c     removed = find_xml_node(patchset, "diff-removed", FALSE);
patchset          628 lib/common/patchset.c     added = find_xml_node(patchset, "diff-added", FALSE);
patchset          778 lib/common/patchset.c find_patch_xml_node(xmlNode *patchset, int format, bool added,
patchset          787 lib/common/patchset.c             *patch_node = find_xml_node(patchset, label, FALSE);
patchset          795 lib/common/patchset.c             *patch_node = find_xml_node(patchset, "version", FALSE);
patchset          808 lib/common/patchset.c xml_patch_versions(xmlNode *patchset, int add[3], int del[3])
patchset          821 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset          824 lib/common/patchset.c     if (!find_patch_xml_node(patchset, format, FALSE, &tmp)) {
patchset          835 lib/common/patchset.c     if (!find_patch_xml_node(patchset, format, TRUE, &tmp)) {
patchset          858 lib/common/patchset.c xml_patch_version_check(xmlNode *xml, xmlNode *patchset, int format)
patchset          889 lib/common/patchset.c     xml_patch_versions(patchset, add, del);
patchset          901 lib/common/patchset.c                      del[0], del[1], del[2], add[0], add[1], add[2], patchset);
patchset          902 lib/common/patchset.c             crm_log_xml_info(patchset, "OldPatch");
patchset          934 lib/common/patchset.c apply_v1_patchset(xmlNode *xml, xmlNode *patchset)
patchset          940 lib/common/patchset.c     xmlNode *added = find_xml_node(patchset, "diff-added", FALSE);
patchset          941 lib/common/patchset.c     xmlNode *removed = find_xml_node(patchset, "diff-removed", FALSE);
patchset         1149 lib/common/patchset.c apply_v2_patchset(xmlNode *xml, xmlNode *patchset)
patchset         1156 lib/common/patchset.c     for (change = pcmk__xml_first_child(patchset); change != NULL;
patchset         1338 lib/common/patchset.c xml_apply_patchset(xmlNode *xml, xmlNode *patchset, bool check_version)
patchset         1343 lib/common/patchset.c     const char *digest = crm_element_value(patchset, XML_ATTR_DIGEST);
patchset         1345 lib/common/patchset.c     if (patchset == NULL) {
patchset         1349 lib/common/patchset.c     xml_log_patchset(LOG_TRACE, __func__, patchset);
patchset         1351 lib/common/patchset.c     crm_element_value_int(patchset, "format", &format);
patchset         1353 lib/common/patchset.c         rc = pcmk_rc2legacy(xml_patch_version_check(xml, patchset, format));
patchset         1367 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v1_patchset(xml, patchset));
patchset         1370 lib/common/patchset.c                 rc = pcmk_rc2legacy(apply_v2_patchset(xml, patchset));
patchset         1399 lib/common/patchset.c                 save_xml_to_file(patchset, "PatchDigest:diff",   NULL);