now               902 daemons/based/based_callbacks.c         time_t now = time(NULL);
now               949 daemons/based/based_callbacks.c         if ((finished - now) > 3) {
now               950 daemons/based/based_callbacks.c             crm_trace("%s operation took %lds to complete", op, (long)(finished - now));
now               557 daemons/controld/controld_control.c     crm_time_t *now = crm_time_new(NULL);
now               561 daemons/controld/controld_control.c         .now = now,
now               651 daemons/controld/controld_control.c     crm_time_free(now);
now               475 daemons/controld/controld_execd_state.c         crm_time_t *now = crm_time_new(NULL);
now               478 daemons/controld/controld_execd_state.c             .now = now,
now               490 daemons/controld/controld_execd_state.c         crm_time_free(now);
now               850 daemons/controld/controld_fencing.c                 char *now = pcmk__ttoa(time(NULL));
now               865 daemons/controld/controld_fencing.c                 update_attrd(target, CRM_ATTR_UNFENCED, now, NULL,
now               867 daemons/controld/controld_fencing.c                 free(now);
now               224 daemons/controld/controld_remote_ra.c         time_t now = time(NULL);
now               232 daemons/controld/controld_remote_ra.c             uptime + 20 >= now - conn_node->peer_lost) {
now               235 daemons/controld/controld_te_events.c         char *now = pcmk__ttoa(time(NULL));
now               248 daemons/controld/controld_te_events.c                  rsc_id, on_uname, task, rc, value, now);
now               269 daemons/controld/controld_te_events.c         last_pair->value = now;
now               283 daemons/controld/controld_te_events.c         free(now);
now               477 daemons/execd/cts-exec-helper.c     scheduler->priv->now = crm_time_new(NULL);
now               151 daemons/execd/execd_commands.c time_diff_ms(const struct timespec *now, const struct timespec *old)
now               158 daemons/execd/execd_commands.c         if (now == NULL) {
now               160 daemons/execd/execd_commands.c             now = &local_now;
now               162 daemons/execd/execd_commands.c         diff_ms = (now->tv_sec - old->tv_sec) * 1000
now               163 daemons/execd/execd_commands.c                   + (now->tv_nsec - old->tv_nsec) / 1000000;
now              1520 daemons/execd/execd_commands.c     time_t now = time(NULL);
now              1569 daemons/execd/execd_commands.c     crm_xml_add_ll(*reply, PCMK__XA_UPTIME, now - start_time);
now              1019 daemons/fenced/fenced_remote.c     time_t now = time(NULL);
now              1069 daemons/fenced/fenced_remote.c             && (now > (other->total_timeout + other->created))) {
now              1071 daemons/fenced/fenced_remote.c                       op->id, other->id, (long long)now, (long long)other->created,
now              2603 daemons/fenced/fenced_remote.c     time_t now = time(NULL);
now              2622 daemons/fenced/fenced_remote.c         } else if ((rop->completed + tolerance) < now) {
now               360 daemons/pacemakerd/pcmkd_subdaemons.c             time_t now = time(NULL);
now               371 daemons/pacemakerd/pcmkd_subdaemons.c                 next_log = now + 30;
now               379 daemons/pacemakerd/pcmkd_subdaemons.c             } else if (now >= next_log) {
now               380 daemons/pacemakerd/pcmkd_subdaemons.c                 next_log = now + 30;
now                59 include/crm/common/rules.h     const crm_time_t *now; //!< Current time for rule evaluation purposes
now                35 include/crm/common/rules_internal.h                                    const crm_time_t *now,
now               169 include/crm/common/scheduler_internal.h     crm_time_t *now;                // Time to use when evaluating rules
now                61 include/crm/pengine/common_compat.h     crm_time_t *now;
now                35 include/crm/pengine/rules_compat.h                    crm_time_t *now);
now                41 include/crm/pengine/rules_compat.h                        gboolean overwrite, crm_time_t *now,
now               748 lib/cib/cib_utils.c     crm_time_t *now = NULL;
now               754 lib/cib/cib_utils.c     now = crm_time_new(NULL);
now               761 lib/cib/cib_utils.c             .now = now,
now               771 lib/cib/cib_utils.c     crm_time_free(now);
now               707 lib/cluster/cpg.c             time_t now = time(NULL);
now               711 lib/cluster/cpg.c                 peer->when_lost = now;
now               713 lib/cluster/cpg.c             } else if (now > (peer->when_lost + 60)) {
now               149 lib/common/alerts.c     crm_time_t *now = crm_time_new(NULL);
now               154 lib/common/alerts.c         .now = now,
now               159 lib/common/alerts.c     crm_time_free(now);
now               424 lib/common/crmcommon_private.h int pcmk__evaluate_date_spec(const xmlNode *date_spec, const crm_time_t *now);
now                23 lib/common/fuzzers/iso8601_fuzzer.c     pcmk__time_hr_t *now = NULL;
now                36 lib/common/fuzzers/iso8601_fuzzer.c     now = pcmk__time_hr_new(ns);
now                37 lib/common/fuzzers/iso8601_fuzzer.c     pcmk__time_hr_free(now);
now                39 lib/common/fuzzers/iso8601_fuzzer.c     now = pcmk__time_hr_now(&epoch);
now                40 lib/common/fuzzers/iso8601_fuzzer.c     result = pcmk__time_format_hr(ns, now);
now                41 lib/common/fuzzers/iso8601_fuzzer.c     pcmk__time_hr_free(now);
now               792 lib/common/iso8601.c         time_t now = time(NULL);
now               793 lib/common/iso8601.c         struct tm *now_tm = localtime(&now);
now               525 lib/common/logging.c     time_t now = time(NULL);
now               536 lib/common/logging.c             if (nsig == 0 && now == last) {
now               553 lib/common/logging.c             last = now;
now               495 lib/common/nvpair.c                 .now = NULL,
now               351 lib/common/procfs.c     time_t now = time(NULL);
now               400 lib/common/procfs.c         } else if ((last_call > 0) && (last_call < now) && (last_utime <= utime) &&
now               402 lib/common/procfs.c             time_t elapsed = now - last_call;
now               414 lib/common/procfs.c                       (long) now, ticks_per_s);
now               417 lib/common/procfs.c         last_call = now;
now               155 lib/common/rules.c pcmk__evaluate_date_spec(const xmlNode *date_spec, const crm_time_t *now)
now               177 lib/common/rules.c     if ((date_spec == NULL) || (now == NULL)) {
now               191 lib/common/rules.c     crm_time_get_gregorian(now, &(ranges[0].value), &(ranges[1].value),
now               195 lib/common/rules.c     crm_time_get_timeofday(now, &(ranges[3].value), &(ranges[4].value),
now               199 lib/common/rules.c     crm_time_get_ordinal(now, &(ranges[0].value), &(ranges[6].value));
now               202 lib/common/rules.c     crm_time_get_isoweek(now, &(ranges[7].value), &(ranges[8].value),
now               294 lib/common/rules.c                   const crm_time_t *now, crm_time_t *next_change)
now               340 lib/common/rules.c     if ((start != NULL) && (crm_time_compare(now, start) < 0)) {
now               348 lib/common/rules.c         if (crm_time_compare(now, end) > 0) {
now               381 lib/common/rules.c             const crm_time_t *now, crm_time_t *next_change)
now               400 lib/common/rules.c     if (crm_time_compare(now, start) > 0) {
now               427 lib/common/rules.c             const crm_time_t *now, crm_time_t *next_change)
now               445 lib/common/rules.c     if (crm_time_compare(now, end) < 0) {
now               471 lib/common/rules.c                                const crm_time_t *now, crm_time_t *next_change)
now               477 lib/common/rules.c     if ((date_expression == NULL) || (now == NULL)) {
now               492 lib/common/rules.c         rc = evaluate_in_range(date_expression, id, now, next_change);
now               508 lib/common/rules.c         rc = pcmk__evaluate_date_spec(date_spec, now);
now               511 lib/common/rules.c         rc = evaluate_gt(date_expression, id, now, next_change);
now               514 lib/common/rules.c         rc = evaluate_lt(date_expression, id, now, next_change);
now              1272 lib/common/rules.c                                                         rule_input->now,
now               107 lib/common/scheduler.c     crm_time_free(scheduler->priv->now);
now               108 lib/common/scheduler.c     scheduler->priv->now = NULL;
now               305 lib/common/scheduler.c     if (scheduler->priv->now == NULL) {
now               307 lib/common/scheduler.c         scheduler->priv->now = crm_time_new(NULL);
now               309 lib/common/scheduler.c     return crm_time_get_seconds_since_epoch(scheduler->priv->now);
now                49 lib/common/tests/nvpair/pcmk__unpack_nvpair_block_test.c             .now = NULL,
now                71 lib/common/tests/nvpair/pcmk__unpack_nvpair_block_test.c     crm_time_t *now = crm_time_new("2024-01-01 15:00:00");
now                75 lib/common/tests/nvpair/pcmk__unpack_nvpair_block_test.c             .now = now,
now                98 lib/common/tests/nvpair/pcmk__unpack_nvpair_block_test.c     crm_time_free(now);
now                66 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_t *now = crm_time_new("2024-01-01 15:00:00");
now                69 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c         .now = now,
now                77 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_free(now);
now                85 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_t *now = crm_time_new("2024-01-01 15:00:00");
now                88 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c         .now = now,
now                98 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_free(now);
now               105 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_t *now = crm_time_new("2024-11-06 15:00:00");
now               109 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c         .now = now,
now               122 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_free(now);
now               130 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_t *now = crm_time_new("2024-11-04 15:00:00");
now               135 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c         .now = now,
now               150 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_free(now);
now               160 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_t *now = crm_time_new("2024-11-06 15:00:00");
now               163 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c         .now = now,
now               188 lib/common/tests/nvpair/pcmk_unpack_nvpair_blocks_test.c     crm_time_free(now);
now               129 lib/common/tests/rules/pcmk__evaluate_condition_test.c     crm_time_t *now = crm_time_new("2024-02-01 11:59:59");
now               133 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.now = now;
now               137 lib/common/tests/rules/pcmk__evaluate_condition_test.c     rule_input.now = NULL;
now               141 lib/common/tests/rules/pcmk__evaluate_condition_test.c     crm_time_free(now);
now                39 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     crm_time_t *now = NULL;
now                47 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     now = crm_time_new(now_s);
now                48 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     assert_int_equal(pcmk__evaluate_date_expression(xml, now, next_change),
now                50 lib/common/tests/rules/pcmk__evaluate_date_expression_test.c     crm_time_free(now);
now                25 lib/common/tests/scheduler/pcmk__update_recheck_time_test.c     scheduler->priv->now = pcmk__copy_timet(now_time);
now               494 lib/common/tls.c         time_t now = time(NULL);
now               497 lib/common/tls.c         if (expiry - now <= 60 * 60 * 24 * 30) {
now               128 lib/lrmd/lrmd_alerts.c     pcmk__time_hr_t *now = NULL;
now               158 lib/lrmd/lrmd_alerts.c         if (now == NULL) {
now               159 lib/lrmd/lrmd_alerts.c             now = pcmk__time_hr_now(&epoch);
now               172 lib/lrmd/lrmd_alerts.c         if (now) {
now               173 lib/lrmd/lrmd_alerts.c             char *timestamp = pcmk__time_format_hr(entry->tstamp_format, now);
now               187 lib/lrmd/lrmd_alerts.c             snprintf(timestamp_usec, sizeof(timestamp_usec), "%06d", now->useconds);
now               206 lib/lrmd/lrmd_alerts.c     if (now) {
now               207 lib/lrmd/lrmd_alerts.c         free(now);
now               137 lib/pacemaker/pcmk_rule.c     rc = pcmk__evaluate_date_expression(match, scheduler->priv->now, NULL);
now               370 lib/pacemaker/pcmk_sched_location.c             .now = rsc->priv->scheduler->priv->now,
now               840 lib/pacemaker/pcmk_scheduler.c         new_scheduler->priv->now = pcmk_copy_time(date);
now               504 lib/pacemaker/pcmk_simulate.c         scheduler->priv->now = crm_time_new(use_date);
now               506 lib/pacemaker/pcmk_simulate.c         crm_time_log(LOG_NOTICE, "Pretending 'now' is", scheduler->priv->now,
now               510 lib/pacemaker/pcmk_simulate.c         scheduler->priv->now = pcmk__copy_timet(original_date);
now               513 lib/pacemaker/pcmk_simulate.c             char *when = crm_time_as_string(scheduler->priv->now,
now                69 lib/pacemaker/pcmk_ticket.c             char *now = pcmk__ttoa(time(NULL));
now                71 lib/pacemaker/pcmk_ticket.c             crm_xml_add(*ticket_state_xml, PCMK_XA_LAST_GRANTED, now);
now                72 lib/pacemaker/pcmk_ticket.c             free(now);
now               176 lib/pengine/complex.c         .now = scheduler->priv->now,
now               230 lib/pengine/complex.c         .now = NULL,
now               236 lib/pengine/complex.c     rule_input.now = scheduler->priv->now;
now               698 lib/pengine/complex.c         .now = NULL,
now               706 lib/pengine/complex.c     rule_input.now = scheduler->priv->now;
now               404 lib/pengine/failcounts.c         time_t now = pcmk__scheduler_epoch_time(rsc->priv->scheduler);
now               407 lib/pengine/failcounts.c         if (now > (fc_data.last_failure + expiration)) {
now               254 lib/pengine/pe_actions.c         .now = scheduler->priv->now,
now               551 lib/pengine/pe_actions.c                        guint interval_ms, const crm_time_t *now,
now               559 lib/pengine/pe_actions.c     if ((value == NULL) || (interval_ms == 0) || (now == NULL)) {
now               573 lib/pengine/pe_actions.c     result = crm_time_get_seconds(now) - crm_time_get_seconds(origin);
now               691 lib/pengine/pe_actions.c         .now = rsc->priv->scheduler->priv->now,
now               801 lib/pengine/pe_actions.c                                    rsc->priv->scheduler->priv->now,
now                33 lib/pengine/rules_compat.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now)
now                37 lib/pengine/rules_compat.c         .now = now,
now                56 lib/pengine/rules_compat.c     new->now = old->now;
now               106 lib/pengine/rules_compat.c                   crm_time_t *now, crm_time_t *next_change)
now               110 lib/pengine/rules_compat.c         .now = now,
now               107 lib/pengine/status.c     if (scheduler->priv->now == NULL) {
now               108 lib/pengine/status.c         scheduler->priv->now = crm_time_new(NULL);
now               324 lib/pengine/status.c     crm_time_free(scheduler->priv->now);
now               225 lib/pengine/unpack.c         .now = scheduler->priv->now,
now              4177 lib/pengine/unpack.c         time_t now = pcmk__scheduler_epoch_time(scheduler);
now              4181 lib/pengine/unpack.c         if ((now >= (last_run + expiration_sec))
now              4198 lib/pengine/unpack.c                   (long long) now, unexpired_fail_count,
now              4202 lib/pengine/unpack.c         if (unexpired_fail_count && (now < last_failure)) {
now              4921 lib/pengine/unpack.c         .now = scheduler->priv->now,
now              2055 tools/crm_mon.c     time_t now = time(NULL);
now              2078 tools/crm_mon.c         ((now - last_refresh) > pcmk__timeout_ms2s(options.reconnect_ms)) ||
now              1453 tools/crm_resource.c             .now = scheduler->priv->now,
now                21 tools/crm_resource_ban.c     crm_time_t *now = NULL;
now                37 tools/crm_resource_ban.c     now = crm_time_new(NULL);
now                38 tools/crm_resource_ban.c     later = crm_time_add(now, duration);
now                43 tools/crm_resource_ban.c         crm_time_free(now);
now                48 tools/crm_resource_ban.c     crm_time_log(LOG_INFO, "now     ", now,
now                58 tools/crm_resource_ban.c     crm_time_free(now);
now               447 tools/crm_resource_ban.c     crm_time_t *now = crm_time_new(NULL);
now               493 tools/crm_resource_ban.c         if (crm_time_compare(now, end) == 1) {
now               521 tools/crm_resource_ban.c     crm_time_free(now);
now              1427 tools/crm_resource_runtime.c                  && (scheduler->input == NULL) && (scheduler->priv->now == NULL)
now              1455 tools/crm_resource_runtime.c     scheduler->priv->now = crm_time_new(NULL);
now               441 tools/crm_ticket.c     scheduler->priv->now = crm_time_new(NULL);