diff 205 cib/cibmon.c xmlNode *diff = NULL; diff 216 cib/cibmon.c diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 225 cib/cibmon.c xml_log_patchset(log_level, op, diff); diff 235 cib/cibmon.c rc = cib_process_diff(op, cib_force_diff, NULL, NULL, diff, cib_last, &cib_copy, NULL); diff 237 cib/notify.c xmlNode * update, int result, xmlNode * diff) diff 249 cib/notify.c if (diff == NULL) { diff 257 cib/notify.c cib_diff_version_details(diff, &add_admin_epoch, &add_epoch, &add_updates, diff 267 cib/notify.c } else if (diff != NULL) { diff 274 cib/notify.c do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY); diff 336 cib/notify.c cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff) diff 348 cib/notify.c if (diff == NULL) { diff 352 cib/notify.c cib_diff_version_details(diff, &add_admin_epoch, &add_epoch, &add_updates, diff 356 cib/notify.c crm_log_xml_debug(diff, "Bad replace diff"); diff 363 cib/notify.c } else if (diff != NULL) { diff 37 cib/notify.h extern void cib_replace_notify(const char *origin, xmlNode * update, int result, xmlNode * diff); diff 69 crmd/te_callbacks.c te_legacy_update_diff(const char *event, xmlNode * diff) diff 74 crmd/te_callbacks.c CRM_CHECK(diff != NULL, return); diff 76 crmd/te_callbacks.c xml_log_patchset(LOG_TRACE, __FUNCTION__, diff); diff 77 crmd/te_callbacks.c if (cib_config_changed(NULL, NULL, &diff)) { diff 78 crmd/te_callbacks.c abort_transition(INFINITY, tg_restart, "Non-status change", diff); diff 84 crmd/te_callbacks.c xpath_search(diff, diff 97 crmd/te_callbacks.c xpath_search(diff, diff 109 crmd/te_callbacks.c xpath_search(diff, diff 134 crmd/te_callbacks.c xpath_search(diff, diff 157 crmd/te_callbacks.c xpath_search(diff, diff 168 crmd/te_callbacks.c crm_log_xml_trace(diff, "lrm-refresh"); diff 176 crmd/te_callbacks.c xpath_search(diff, diff 198 crmd/te_callbacks.c xpathObj = xpath_search(diff, "//" XML_TAG_DIFF_REMOVED "//" XML_LRM_TAG_RSC_OP); diff 216 crmd/te_callbacks.c op_match = xpath_search(diff, rsc_op_xpath); diff 372 crmd/te_callbacks.c xmlNode *diff = NULL; diff 397 crmd/te_callbacks.c diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 399 crmd/te_callbacks.c xml_patch_versions(diff, p_add, p_del); diff 404 crmd/te_callbacks.c crm_element_value_int(diff, "format", &format); diff 407 crmd/te_callbacks.c te_legacy_update_diff(event, diff); diff 411 crmd/te_callbacks.c crm_log_xml_trace(diff, "Patch:Raw"); diff 418 crmd/te_callbacks.c for (change = __xml_first_child(diff); change != NULL; change = __xml_next(change)) { diff 540 crmd/te_utils.c xmlNode *diff = NULL; diff 575 crmd/te_utils.c diff = search; diff 580 crmd/te_utils.c if(diff) { diff 581 crmd/te_utils.c xml_patch_versions(diff, add, del); diff 415 fencing/test.c uint32_t diff = (time(NULL) - begin); diff 419 fencing/test.c } else if (diff < CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT) { diff 422 fencing/test.c CUSTOM_TIMEOUT_ADDITION + MAINLOOP_DEFAULT_TIMEOUT, diff); diff 85 include/crm/cib/internal.h gboolean cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 92 include/crm/cib/internal.h gboolean cib_internal_config_changed(xmlNode * diff); diff 127 include/crm/cib/internal.h xmlNode * current_cib, xmlNode ** result_cib, xmlNode ** diff, diff 207 include/crm/cib/internal.h gboolean cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff); diff 42 include/crm/common/iso8601.h crm_time_t *diff; diff 179 include/crm/common/xml.h void print_xml_diff(FILE * where, xmlNode * diff); diff 181 include/crm/common/xml.h gboolean apply_xml_diff(xmlNode * old, xmlNode * diff, xmlNode ** new); diff 325 include/crm/compatibility.h log_cib_diff(int log_level, xmlNode * diff, const char *function) diff 327 include/crm/compatibility.h xml_log_patchset(log_level, function, diff); diff 331 include/crm/compatibility.h apply_cib_diff(xmlNode * old, xmlNode * diff, xmlNode ** new) diff 334 include/crm/compatibility.h return (xml_apply_patchset(*new, diff, TRUE) == pcmk_ok); diff 341 include/crm/compatibility.h log_xml_diff(uint8_t log_level, xmlNode * diff, const char *function) diff 343 include/crm/compatibility.h xml_log_patchset(log_level, function, diff); diff 608 lib/cib/cib_ops.c cib_config_changed(xmlNode * last, xmlNode * next, xmlNode ** diff) diff 615 lib/cib/cib_ops.c CRM_ASSERT(diff != NULL); diff 617 lib/cib/cib_ops.c if (*diff == NULL && last != NULL && next != NULL) { diff 618 lib/cib/cib_ops.c *diff = diff_xml_object(last, next, FALSE); diff 621 lib/cib/cib_ops.c if (*diff == NULL) { diff 625 lib/cib/cib_ops.c crm_element_value_int(*diff, "format", &format); diff 629 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" XML_CIB_TAG_CONFIGURATION); diff 641 lib/cib/cib_ops.c xpathObj = xpath_search(*diff, "//" XML_TAG_DIFF_REMOVED "//" XML_TAG_CIB); diff 177 lib/cib/cib_utils.c cib_diff_version_details(xmlNode * diff, int *admin_epoch, int *epoch, int *updates, diff 183 lib/cib/cib_utils.c xml_patch_versions(diff, add, del); diff 294 lib/cib/cib_utils.c xmlNode * current_cib, xmlNode ** result_cib, xmlNode ** diff, xmlNode ** output) diff 576 lib/cib/cib_utils.c if(diff) { diff 577 lib/cib/cib_utils.c *diff = local_diff; diff 777 lib/cib/cib_utils.c xmlNode *diff = NULL; diff 784 lib/cib/cib_utils.c diff = get_message_xml(event, F_CIB_UPDATE_RESULT); diff 786 lib/cib/cib_utils.c if (rc < pcmk_ok || diff == NULL) { diff 791 lib/cib/cib_utils.c xml_log_patchset(level, "Config update", diff); diff 795 lib/cib/cib_utils.c rc = cib_process_diff(NULL, cib_none, NULL, event, diff, input, output, NULL); diff 819 lib/cib/cib_utils.c cib_internal_config_changed(xmlNode *diff) diff 823 lib/cib/cib_utils.c if (diff) { diff 824 lib/cib/cib_utils.c xmlXPathObject *xpathObj = xpath_search(diff, XPATH_CONFIG_CHANGE); diff 251 lib/common/alerts.c const char *diff = (config? XPATH_PATCHSET1_EITHER : XPATH_PATCHSET1_ALERTS); diff 253 lib/common/alerts.c if ((xpathObj = xpath_search(msg, diff)) != NULL) { diff 836 lib/common/iso8601.c crm_time_t *diff = NULL; diff 843 lib/common/iso8601.c diff = calloc(1, sizeof(crm_time_t)); diff 867 lib/common/iso8601.c return diff; diff 870 lib/common/iso8601.c diff->years = an_int; diff 875 lib/common/iso8601.c diff->seconds += an_int * 60; diff 877 lib/common/iso8601.c diff->months = an_int; diff 881 lib/common/iso8601.c diff->days += an_int * 7; diff 884 lib/common/iso8601.c diff->days += an_int; diff 887 lib/common/iso8601.c diff->seconds += an_int * 60 * 60; diff 890 lib/common/iso8601.c diff->seconds += an_int; diff 897 lib/common/iso8601.c return diff; diff 900 lib/common/iso8601.c free(diff); diff 918 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 930 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); diff 935 lib/common/iso8601.c } else if (period->diff != NULL) { diff 949 lib/common/iso8601.c } else if (period->start == NULL && period->diff == NULL) { diff 953 lib/common/iso8601.c } else if (period->end == NULL && period->diff == NULL) { diff 962 lib/common/iso8601.c free(period->diff); diff 966 lib/common/iso8601.c if (period->end == NULL && period->diff == NULL) { diff 970 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); diff 973 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); diff 3933 lib/common/xml.c apply_xml_diff(xmlNode * old, xmlNode * diff, xmlNode ** new) diff 3938 lib/common/xml.c const char *digest = crm_element_value(diff, XML_ATTR_DIGEST); diff 3939 lib/common/xml.c const char *version = crm_element_value(diff, XML_ATTR_CRM_VERSION); diff 3942 lib/common/xml.c xmlNode *added = find_xml_node(diff, "diff-added", FALSE); diff 3943 lib/common/xml.c xmlNode *removed = find_xml_node(diff, "diff-removed", FALSE); diff 4001 lib/common/xml.c save_xml_to_file(diff, "diff:input", NULL); diff 4203 lib/common/xml.c xmlNode *diff = create_xml_node(NULL, "diff"); diff 4204 lib/common/xml.c xmlNode *removed = create_xml_node(diff, "diff-removed"); diff 4205 lib/common/xml.c xmlNode *added = create_xml_node(diff, "diff-added"); diff 4207 lib/common/xml.c crm_xml_add(diff, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); diff 4220 lib/common/xml.c free_xml(diff); diff 4221 lib/common/xml.c diff = NULL; diff 4224 lib/common/xml.c return diff; diff 4391 lib/common/xml.c xmlNode *diff = NULL; diff 4441 lib/common/xml.c diff = create_xml_node(parent, name); diff 4454 lib/common/xml.c subtract_xml_object(diff, left_child, right_child, full, &child_changed, marker); diff 4470 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)p_name, (const xmlChar *)p_value); diff 4477 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)XML_ATTR_ID, (const xmlChar *)id); diff 4519 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)p_name, (const xmlChar *)p_value); diff 4526 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)prop_name, (const xmlChar *)value); diff 4527 lib/common/xml.c crm_xml_add(diff, prop_name, left_value); diff 4548 lib/common/xml.c xmlSetProp(diff, (const xmlChar *)p_name, (const xmlChar *)p_value); diff 4555 lib/common/xml.c crm_xml_add(diff, prop_name, left_value); diff 4562 lib/common/xml.c free_xml(diff); diff 4566 lib/common/xml.c crm_xml_add(diff, XML_ATTR_ID, id); diff 4569 lib/common/xml.c return diff; diff 744 lib/fencing/st_client.c int diff = time(NULL) - action->initial_start_time; diff 750 lib/fencing/st_client.c } else if ((action->rc != -ETIME) && diff < (action->timeout * 0.7)) { diff 753 lib/fencing/st_client.c action->remaining_timeout = action->timeout - diff; diff 425 tools/cib_shadow.c xmlNode *diff = NULL; diff 439 tools/cib_shadow.c diff = xml_create_patchset(0, old_config, new_config, NULL, FALSE); diff 444 tools/cib_shadow.c if (diff != NULL) { diff 445 tools/cib_shadow.c xml_log_patchset(0, " ", diff); diff 3928 tools/crm_mon.c xmlNode *diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 3930 tools/crm_mon.c for (change = __xml_first_child(diff); change != NULL; change = __xml_next(change)) { diff 4050 tools/crm_mon.c xmlNode *diff = get_message_xml(msg, F_CIB_UPDATE_RESULT); diff 4059 tools/crm_mon.c rc = xml_apply_patchset(current_cib, diff, TRUE); diff 4083 tools/crm_mon.c crm_element_value_int(diff, "format", &format); diff 229 tools/test.iso8601.c crm_time_free(interval->diff);