old 43 daemons/based/based_io.c cib_rename(const char *old) old 51 daemons/based/based_io.c if ((new_fd < 0) || (rename(old, new) < 0)) { old 53 daemons/based/based_io.c old); old 56 daemons/based/based_io.c crm_err("Archived unusable file %s as %s", old, new); old 366 daemons/based/pacemaker-based.c uint32_t old = data? *(const uint32_t *)data : 0; old 368 daemons/based/pacemaker-based.c if ((node->processes ^ old) & crm_proc_cpg) { old 105 daemons/controld/controld_callbacks.c uint32_t old = 0; old 173 daemons/controld/controld_callbacks.c old = *(const uint32_t *)data; old 186 daemons/controld/controld_callbacks.c pcmk__s(dc_s, "<none>"), old, node->processes); old 189 daemons/controld/controld_callbacks.c if (!pcmk_is_set((node->processes ^ old), crm_get_cluster_proc())) { old 194 daemons/controld/controld_callbacks.c crm_get_cluster_proc(), old, node->processes); old 150 daemons/execd/execd_commands.c time_diff_ms(const struct timespec *now, const struct timespec *old) old 154 daemons/execd/execd_commands.c if (time_is_set(old)) { old 161 daemons/execd/execd_commands.c diff_ms = (now->tv_sec - old->tv_sec) * 1000 old 162 daemons/execd/execd_commands.c + (now->tv_nsec - old->tv_nsec) / 1000000; old 1463 daemons/fenced/fenced_commands.c stonith_device_t *old = g_hash_table_lookup(device_list, device->id); old 1465 daemons/fenced/fenced_commands.c if (from_cib && old && old->api_registered) { old 1471 daemons/fenced/fenced_commands.c device->pending_ops = old->pending_ops; old 1473 daemons/fenced/fenced_commands.c old->pending_ops = NULL; old 478 lib/cib/cib_utils.c int old = 0; old 482 lib/cib/cib_utils.c crm_element_value_int(patchset_cib, PCMK_XA_ADMIN_EPOCH, &old); old 484 lib/cib/cib_utils.c if (old > new) { old 486 lib/cib/cib_utils.c PCMK_XA_ADMIN_EPOCH, old, new, call_options); old 491 lib/cib/cib_utils.c } else if (old == new) { old 493 lib/cib/cib_utils.c crm_element_value_int(patchset_cib, PCMK_XA_EPOCH, &old); old 494 lib/cib/cib_utils.c if (old > new) { old 496 lib/cib/cib_utils.c PCMK_XA_EPOCH, old, new, call_options); old 1030 lib/common/logging.c unsigned int old = crm_log_level; old 1038 lib/common/logging.c return old; old 312 lib/common/mainloop.c struct sigaction old; old 325 lib/common/mainloop.c if (sigaction(sig, &sa, &old) < 0) { old 330 lib/common/mainloop.c return old.sa_handler; old 326 lib/common/nvpair.c const char *old = crm_element_value(node, name); old 328 lib/common/nvpair.c if (old == NULL || value == NULL || strcmp(old, value) != 0) { old 938 lib/common/patchset.c xmlNode *old = pcmk__xml_copy(NULL, xml); old 979 lib/common/patchset.c free_xml(old); old 1322 lib/common/patchset.c xmlNode *old = NULL; old 1343 lib/common/patchset.c pcmk__if_tracing(old = pcmk__xml_copy(NULL, xml), {}); old 1373 lib/common/patchset.c save_xml_to_file(old, "PatchDigest:input", NULL); old 1387 lib/common/patchset.c free_xml(old); old 1435 lib/common/patchset.c pcmk__diff_v1_xml_object(xmlNode *old, xmlNode *new, bool suppress) old 1444 lib/common/patchset.c tmp1 = subtract_v1_xml_object(removed, old, new, false, NULL, old 1450 lib/common/patchset.c tmp1 = subtract_v1_xml_object(added, new, old, true, NULL, "added:top"); old 1565 lib/common/patchset.c diff_xml_object(xmlNode *old, xmlNode *new, gboolean suppress) old 1567 lib/common/patchset.c return pcmk__diff_v1_xml_object(old, new, suppress); old 1889 lib/common/xml.c replace_node(xmlNode *old, xmlNode *new) old 1892 lib/common/xml.c new = pcmk__xml_copy(old, new); old 1893 lib/common/xml.c old = xmlReplaceNode(old, new); old 1896 lib/common/xml.c pcmk__assert(old != NULL); old 1905 lib/common/xml.c xml_calculate_changes(old, new); old 1906 lib/common/xml.c pcmk_free_xml_subtree(old); old 527 lib/pacemaker/pcmk_sched_resource.c pcmk_node_t *old = rsc->allocated_to; old 529 lib/pacemaker/pcmk_sched_resource.c if (old == NULL) { old 532 lib/pacemaker/pcmk_sched_resource.c crm_info("Unassigning %s from %s", rsc->id, pcmk__node_name(old)); old 538 lib/pacemaker/pcmk_sched_resource.c if (old == NULL) { old 546 lib/pacemaker/pcmk_sched_resource.c old->details->allocated_rsc = g_list_remove(old->details->allocated_rsc, old 548 lib/pacemaker/pcmk_sched_resource.c old->details->num_resources--; old 549 lib/pacemaker/pcmk_sched_resource.c pcmk__release_node_capacity(old->details->utilization, rsc); old 550 lib/pacemaker/pcmk_sched_resource.c free(old); old 38 lib/pengine/rules.c map_rule_input(pcmk_rule_input_t *new, const pe_rule_eval_data_t *old) old 40 lib/pengine/rules.c if (old == NULL) { old 43 lib/pengine/rules.c new->now = old->now; old 44 lib/pengine/rules.c new->node_attrs = old->node_hash; old 45 lib/pengine/rules.c if (old->rsc_data != NULL) { old 46 lib/pengine/rules.c new->rsc_standard = old->rsc_data->standard; old 47 lib/pengine/rules.c new->rsc_provider = old->rsc_data->provider; old 48 lib/pengine/rules.c new->rsc_agent = old->rsc_data->agent; old 50 lib/pengine/rules.c if (old->match_data != NULL) { old 51 lib/pengine/rules.c new->rsc_params = old->match_data->params; old 52 lib/pengine/rules.c new->rsc_meta = old->match_data->meta; old 53 lib/pengine/rules.c if (old->match_data->re != NULL) { old 54 lib/pengine/rules.c new->rsc_id = old->match_data->re->string; old 55 lib/pengine/rules.c new->rsc_id_submatches = old->match_data->re->pmatch; old 56 lib/pengine/rules.c new->rsc_id_nmatches = old->match_data->re->nregs; old 59 lib/pengine/rules.c if (old->op_data != NULL) { old 60 lib/pengine/rules.c new->op_name = old->op_data->op_name; old 61 lib/pengine/rules.c new->op_interval_ms = old->op_data->interval; old 365 libltdl/loaders/loadlibrary.c DWORD old = (DWORD) SetErrorMode (mode); old 367 libltdl/loaders/loadlibrary.c *oldmode = old; old 3905 maint/gnulib/lib/dfa.c icatalloc (char *old, char const *new) old 3909 maint/gnulib/lib/dfa.c return old; old 3910 maint/gnulib/lib/dfa.c idx_t oldsize = strlen (old); old 3911 maint/gnulib/lib/dfa.c char *result = xirealloc (old, oldsize + newsize + 1); old 3986 maint/gnulib/lib/dfa.c addlists (char **old, char **new) old 3989 maint/gnulib/lib/dfa.c old = enlistnew (old, xstrdup (*new)); old 3990 maint/gnulib/lib/dfa.c return old; old 1186 maint/gnulib/lib/fnmatch_loop.c struct patternlist *old = list; old 1188 maint/gnulib/lib/fnmatch_loop.c if (old->malloced) old 1189 maint/gnulib/lib/fnmatch_loop.c free (old); old 308 maint/gnulib/lib/fts.c int old = sp->fts_cwd_fd; old 309 maint/gnulib/lib/fts.c fts_assert (old != fd || old == AT_FDCWD); old 315 maint/gnulib/lib/fts.c int prev_fd_in_slot = i_ring_push (&sp->fts_fd_ring, old); old 322 maint/gnulib/lib/fts.c if (0 <= old) old 323 maint/gnulib/lib/fts.c close (old); /* ignore any close failure */ old 1453 maint/gnulib/lib/glob.c struct globnames *old = names; old 1463 maint/gnulib/lib/glob.c assert (old == init_names); old 1467 maint/gnulib/lib/glob.c if (old == names_alloca) old 1470 maint/gnulib/lib/glob.c free (old); old 1478 maint/gnulib/lib/glob.c struct globnames *old = names; old 1489 maint/gnulib/lib/glob.c assert (old == init_names); old 1493 maint/gnulib/lib/glob.c if (old == names_alloca) old 1496 maint/gnulib/lib/glob.c free (old); old 301 maint/gnulib/lib/mini-gmp.c gmp_default_realloc (void *old, size_t unused_old_size, size_t new_size) old 305 maint/gnulib/lib/mini-gmp.c p = realloc (old, new_size); old 366 maint/gnulib/lib/mini-gmp.c gmp_realloc_limbs (mp_ptr old, mp_size_t old_size, mp_size_t size) old 369 maint/gnulib/lib/mini-gmp.c return (mp_ptr) gmp_realloc (old, old_size * sizeof (mp_limb_t), size * sizeof (mp_limb_t)); old 373 maint/gnulib/lib/mini-gmp.c gmp_free_limbs (mp_ptr old, mp_size_t size) old 375 maint/gnulib/lib/mini-gmp.c gmp_free (old, size * sizeof (mp_limb_t));