diff 132 daemons/based/based_notify.c xmlNode * update, int result, xmlNode * diff) diff 144 daemons/based/based_notify.c if (diff == NULL) { diff 152 daemons/based/based_notify.c cib_diff_version_details(diff, &add_admin_epoch, &add_epoch, &add_updates, diff 162 daemons/based/based_notify.c } else if (diff != NULL) { diff 169 daemons/based/based_notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); diff 231 daemons/based/based_notify.c cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff) diff 243 daemons/based/based_notify.c if (diff == NULL) { diff 247 daemons/based/based_notify.c cib_diff_version_details(diff, &add_admin_epoch, &add_epoch, &add_updates, diff 251 daemons/based/based_notify.c crm_log_xml_debug(diff, "Bad replace diff"); diff 258 daemons/based/based_notify.c } else if (diff != NULL) { diff 196 daemons/based/cibmon.c xmlNode *diff = NULL; diff 207 daemons/based/cibmon.c diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 216 daemons/based/cibmon.c xml_log_patchset(log_level, op, diff); diff 226 daemons/based/cibmon.c rc = cib_process_diff(op, cib_force_diff, NULL, NULL, diff, cib_last, &cib_copy, NULL); diff 151 daemons/based/pacemaker-based.h xmlNode *diff); diff 44 daemons/controld/controld_te_callbacks.c te_update_diff_v1(const char *event, xmlNode *diff) diff 49 daemons/controld/controld_te_callbacks.c CRM_CHECK(diff != NULL, return); diff 51 daemons/controld/controld_te_callbacks.c xml_log_patchset(LOG_TRACE, __func__, diff); diff 52 daemons/controld/controld_te_callbacks.c if (cib_config_changed(NULL, NULL, &diff)) { diff 53 daemons/controld/controld_te_callbacks.c abort_transition(INFINITY, tg_restart, "Non-status change", diff); diff 59 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 72 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 84 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 109 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 122 daemons/controld/controld_te_callbacks.c xpathObj = xpath_search(diff, diff 141 daemons/controld/controld_te_callbacks.c crm_log_xml_trace(diff, "lrm-refresh"); diff 160 daemons/controld/controld_te_callbacks.c xpath_search(diff, diff 176 daemons/controld/controld_te_callbacks.c xpathObj = xpath_search(diff, "//" XML_TAG_DIFF_REMOVED "//" XML_LRM_TAG_RSC_OP); diff 194 daemons/controld/controld_te_callbacks.c op_match = xpath_search(diff, rsc_op_xpath); diff 435 daemons/controld/controld_te_callbacks.c te_update_diff_v2(xmlNode *diff) diff 437 daemons/controld/controld_te_callbacks.c crm_log_xml_trace(diff, "Patch:Raw"); diff 439 daemons/controld/controld_te_callbacks.c for (xmlNode *change = pcmk__xml_first_child(diff); change != NULL; diff 552 daemons/controld/controld_te_callbacks.c xmlNode *diff = NULL; diff 580 daemons/controld/controld_te_callbacks.c diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 582 daemons/controld/controld_te_callbacks.c xml_patch_versions(diff, p_add, p_del); diff 587 daemons/controld/controld_te_callbacks.c crm_element_value_int(diff, "format", &format); diff 590 daemons/controld/controld_te_callbacks.c te_update_diff_v1(event, diff); diff 593 daemons/controld/controld_te_callbacks.c te_update_diff_v2(diff); diff 145 daemons/controld/controld_te_utils.c xmlNode *diff = NULL; diff 179 daemons/controld/controld_te_utils.c diff = search; diff 184 daemons/controld/controld_te_utils.c if(diff) { diff 185 daemons/controld/controld_te_utils.c xml_patch_versions(diff, add, del); diff 423 daemons/fenced/cts-fence-helper.c uint32_t diff = (time(NULL) - begin); diff 427 daemons/fenced/cts-fence-helper.c } else if (diff < CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT) { diff 430 daemons/fenced/cts-fence-helper.c CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT, diff); diff 69 include/crm/cib/internal.h gboolean cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 74 include/crm/cib/internal.h gboolean cib_internal_config_changed(xmlNode * diff); diff 121 include/crm/cib/internal.h xmlNode * current_cib, xmlNode ** result_cib, xmlNode ** diff, diff 201 include/crm/cib/internal.h gboolean cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff); diff 37 include/crm/common/iso8601.h crm_time_t *diff; diff 303 include/crm/common/xml.h gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml); diff 603 lib/cib/cib_ops.c cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff) diff 610 lib/cib/cib_ops.c CRM_ASSERT(diff != NULL); diff 612 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { diff 613 lib/cib/cib_ops.c *diff = diff_xml_object(last, next, FALSE); diff 616 lib/cib/cib_ops.c if (*diff == NULL) { diff 620 lib/cib/cib_ops.c crm_element_value_int(*diff, "format", &format); diff 624 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" XML_CIB_TAG_CONFIGURATION); diff 636 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" XML_TAG_DIFF_REMOVED "//" XML_TAG_CIB); diff 93 lib/cib/cib_utils.c cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 99 lib/cib/cib_utils.c xml_patch_versions(diff, add, del); diff 210 lib/cib/cib_utils.c xmlNode * current_cib, xmlNode ** result_cib, xmlNode ** diff, xmlNode ** output) diff 491 lib/cib/cib_utils.c if(diff) { diff 492 lib/cib/cib_utils.c *diff = local_diff; diff 693 lib/cib/cib_utils.c cib_internal_config_changed(xmlNode *diff) diff 697 lib/cib/cib_utils.c if (diff) { diff 698 lib/cib/cib_utils.c xmlXPathObject *xpathObj = xpath_search(diff, XPATH_CONFIG_CHANGE); diff 740 lib/cib/cib_utils.c xmlNode *diff = NULL; diff 747 lib/cib/cib_utils.c diff = get_message_xml(event, F_CIB_UPDATE_RESULT); diff 749 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { diff 754 lib/cib/cib_utils.c xml_log_patchset(level, "Config update", diff); diff 758 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, diff 217 lib/common/alerts.c const char *diff = (config? XPATH_PATCHSET1_EITHER : XPATH_PATCHSET1_ALERTS); diff 219 lib/common/alerts.c if ((xpathObj = xpath_search(msg, diff)) != NULL) { diff 986 lib/common/iso8601.c crm_time_t *diff = NULL; diff 1003 lib/common/iso8601.c diff = crm_time_new_undefined(); diff 1004 lib/common/iso8601.c diff->duration = TRUE; diff 1033 lib/common/iso8601.c diff->years = an_int; diff 1038 lib/common/iso8601.c diff->seconds += an_int * 60; diff 1040 lib/common/iso8601.c diff->months = an_int; diff 1044 lib/common/iso8601.c diff->days += an_int * 7; diff 1047 lib/common/iso8601.c diff->days += an_int; diff 1050 lib/common/iso8601.c diff->seconds += an_int * HOUR_SECONDS; diff 1053 lib/common/iso8601.c diff->seconds += an_int; diff 1067 lib/common/iso8601.c if (!crm_time_is_defined(diff)) { diff 1072 lib/common/iso8601.c return diff; diff 1075 lib/common/iso8601.c crm_time_free(diff); diff 1106 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 1107 lib/common/iso8601.c if (period->diff == NULL) { diff 1121 lib/common/iso8601.c if (period->diff != NULL) { diff 1127 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 1128 lib/common/iso8601.c if (period->diff == NULL) { diff 1138 lib/common/iso8601.c } else if (period->diff != NULL) { diff 1151 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); diff 1154 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); diff 1187 lib/common/iso8601.c crm_time_free(period->diff); diff 1435 lib/common/patchset.c xmlNode *diff = create_xml_node(NULL, "diff"); diff 1436 lib/common/patchset.c xmlNode *removed = create_xml_node(diff, "diff-removed"); diff 1437 lib/common/patchset.c xmlNode *added = create_xml_node(diff, "diff-added"); diff 1439 lib/common/patchset.c crm_xml_add(diff, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); diff 1452 lib/common/patchset.c free_xml(diff); diff 1453 lib/common/patchset.c diff = NULL; diff 1456 lib/common/patchset.c return diff; diff 1485 lib/common/patchset.c xmlNode *diff = NULL; diff 1535 lib/common/patchset.c diff = create_xml_node(parent, name); diff 1543 lib/common/patchset.c subtract_xml_object(diff, left_child, right_child, full, &child_changed, diff 1561 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) p_name, (pcmkXmlStr) p_value); diff 1577 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) XML_ATTR_ID, (pcmkXmlStr) id); diff 1602 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) p_name, (pcmkXmlStr) p_value); diff 1609 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) prop_name, (pcmkXmlStr) value); diff 1610 lib/common/patchset.c crm_xml_add(diff, prop_name, left_value); diff 1632 lib/common/patchset.c xmlSetProp(diff, (pcmkXmlStr) p_name, diff 1641 lib/common/patchset.c crm_xml_add(diff, prop_name, left_value); diff 1648 lib/common/patchset.c free_xml(diff); diff 1652 lib/common/patchset.c crm_xml_add(diff, XML_ATTR_ID, id); diff 1655 lib/common/patchset.c return diff; diff 1660 lib/common/patchset.c gboolean apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml); diff 1667 lib/common/patchset.c apply_xml_diff(xmlNode *old_xml, xmlNode *diff, xmlNode **new_xml) diff 1672 lib/common/patchset.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); diff 1673 lib/common/patchset.c const char *version = crm_element_value(diff, XML_ATTR_CRM_VERSION); diff 1676 lib/common/patchset.c xmlNode *added = find_xml_node(diff, "diff-added", FALSE); diff 1677 lib/common/patchset.c xmlNode *removed = find_xml_node(diff, "diff-removed", FALSE); diff 1739 lib/common/patchset.c save_xml_to_file(diff, "diff:input", NULL); diff 682 lib/fencing/st_client.c int diff = time(NULL) - action->initial_start_time; diff 688 lib/fencing/st_client.c } else if ((action->rc != -ETIME) && diff < (action->timeout * 0.7)) { diff 691 lib/fencing/st_client.c action->remaining_timeout = action->timeout - diff; diff 1752 tools/crm_mon.c xmlNode *diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 1754 tools/crm_mon.c for (change = pcmk__xml_first_child(diff); change != NULL; diff 1878 tools/crm_mon.c xmlNode *diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 1883 tools/crm_mon.c rc = xml_apply_patchset(current_cib, diff, TRUE); diff 1907 tools/crm_mon.c crm_element_value_int(diff, "format", &format); diff 508 tools/crm_shadow.c xmlNode *diff = NULL; diff 523 tools/crm_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, FALSE); diff 528 tools/crm_shadow.c if (diff != NULL) { diff 529 tools/crm_shadow.c xml_log_patchset(LOG_STDOUT, " ", diff);