old 54 cib/io.c cib_rename(const char *old) old 59 cib/io.c crm_err("Archiving unusable file %s as %s", old, new); old 61 cib/io.c if ((new_fd = mkstemp(new) < 0) || (rename(old, new) < 0)) { old 62 cib/io.c crm_perror(LOG_ERR, "Couldn't rename %s as %s", old, new); old 424 cib/main.c uint32_t old = data? *(const uint32_t *)data : 0; old 426 cib/main.c if ((node->processes ^ old) & crm_proc_cpg) { old 107 crmd/callbacks.c uint32_t old = 0; old 156 crmd/callbacks.c old = *(const uint32_t *)data; old 157 crmd/callbacks.c changed = node->processes ^ old; old 167 crmd/callbacks.c crm_trace("No change %6x %6x %6x", old, node->processes, proc_flags); old 1161 fencing/commands.c stonith_device_t *old = g_hash_table_lookup(device_list, device->id); old 1163 fencing/commands.c if (from_cib && old && old->api_registered) { old 1169 fencing/commands.c device->pending_ops = old->pending_ops; old 1171 fencing/commands.c old->pending_ops = NULL; old 181 include/crm/common/xml.h gboolean apply_xml_diff(xmlNode * old, xmlNode * diff, xmlNode ** new); old 382 include/crm/common/xml.h void xml_calculate_changes(xmlNode * old, xmlNode * new); /* For comparing two documents after the fact */ old 331 include/crm/compatibility.h apply_cib_diff(xmlNode * old, xmlNode * diff, xmlNode ** new) old 333 include/crm/compatibility.h *new = copy_xml(old); old 417 lib/cib/cib_utils.c int old = 0; old 421 lib/cib/cib_utils.c crm_element_value_int(current_cib, XML_ATTR_GENERATION_ADMIN, &old); old 423 lib/cib/cib_utils.c if (old > new) { old 425 lib/cib/cib_utils.c XML_ATTR_GENERATION_ADMIN, old, new, call_options); old 430 lib/cib/cib_utils.c } else if (old == new) { old 432 lib/cib/cib_utils.c crm_element_value_int(current_cib, XML_ATTR_GENERATION, &old); old 433 lib/cib/cib_utils.c if (old > new) { old 435 lib/cib/cib_utils.c XML_ATTR_GENERATION, old, new, call_options); old 903 lib/common/logging.c unsigned int old = crm_log_level; old 908 lib/common/logging.c return old; old 306 lib/common/mainloop.c struct sigaction old; old 318 lib/common/mainloop.c if (sigaction(sig, &sa, &old) < 0) { old 1878 lib/common/xml.c xmlNode *old = copy_xml(xml); old 1917 lib/common/xml.c free_xml(old); old 2162 lib/common/xml.c xmlNode *old = NULL; old 2181 lib/common/xml.c old = copy_xml(xml); old 2216 lib/common/xml.c save_xml_to_file(old, "PatchDigest:input", NULL); old 2230 lib/common/xml.c free_xml(old); old 2514 lib/common/xml.c const char *old = crm_element_value(node, name); old 2516 lib/common/xml.c if(old == NULL || value == NULL || strcmp(old, value) != 0) { old 3933 lib/common/xml.c apply_xml_diff(xmlNode * old, xmlNode * diff, xmlNode ** new) old 3957 lib/common/xml.c *new = subtract_xml_object(NULL, old, child_diff, FALSE, NULL, NULL); old 3963 lib/common/xml.c *new = copy_xml(old); old 4000 lib/common/xml.c save_xml_to_file(old, "diff:original", NULL); old 4018 lib/common/xml.c __xml_diff_object(xmlNode * old, xmlNode * new) old 4024 lib/common/xml.c if(old == NULL) { old 4046 lib/common/xml.c for (pIter = crm_first_attr(old); pIter != NULL; ) { old 4050 lib/common/xml.c const char *old_value = crm_element_value(old, name); old 4065 lib/common/xml.c crm_trace("Lost %s@%s=%s", old->name, name, old_value); old 4082 lib/common/xml.c crm_trace("Modified %s@%s %s->%s", old->name, name, old_value, vcopy); old 4088 lib/common/xml.c crm_info("Moved %s@%s (%d -> %d)", old->name, name, p_old, p_new); old 4126 lib/common/xml.c for (cIter = __xml_first_child(old); cIter != NULL; ) { old 4154 lib/common/xml.c xmlNode *old_child = find_element(old, cIter, TRUE); old 4187 lib/common/xml.c xml_calculate_changes(xmlNode * old, xmlNode * new) old 4189 lib/common/xml.c CRM_CHECK(safe_str_eq(crm_element_name(old), crm_element_name(new)), return); old 4190 lib/common/xml.c CRM_CHECK(safe_str_eq(ID(old), ID(new)), return); old 4196 lib/common/xml.c __xml_diff_object(old, new); old 4200 lib/common/xml.c diff_xml_object(xmlNode * old, xmlNode * new, gboolean suppress) old 4209 lib/common/xml.c tmp1 = subtract_xml_object(removed, old, new, FALSE, NULL, "removed:top"); old 4214 lib/common/xml.c tmp1 = subtract_xml_object(added, new, old, TRUE, NULL, "added:top"); old 4781 lib/common/xml.c xmlNode *old = NULL; old 4784 lib/common/xml.c old = xmlReplaceNode(child, tmp); old 4791 lib/common/xml.c xml_calculate_changes(old, tmp); old 4792 lib/common/xml.c xmlDocSetRootElement(doc, old); old 4793 lib/common/xml.c free_xml(old); old 365 libltdl/loaders/loadlibrary.c DWORD old = (DWORD) SetErrorMode (mode); old 367 libltdl/loaders/loadlibrary.c *oldmode = old; old 428 lrmd/lrmd.c time_diff_ms(struct timeb *now, struct timeb *old) old 436 lrmd/lrmd.c if ((old == NULL) || (old->time == 0)) { old 439 lrmd/lrmd.c return difftime(now->time, old->time) * 1000 + now->millitm - old->millitm; old 232 pengine/utils.c node_t *old = rsc->allocated_to; old 234 pengine/utils.c crm_info("Deallocating %s from %s", rsc->id, old->details->uname); old 238 pengine/utils.c old->details->allocated_rsc = g_list_remove(old->details->allocated_rsc, rsc); old 239 pengine/utils.c old->details->num_resources--; old 241 pengine/utils.c calculate_utilization(old->details->utilization, rsc->utilization, TRUE); old 242 pengine/utils.c free(old);