now               872 daemons/based/based_callbacks.c         time_t now = time(NULL);
now               919 daemons/based/based_callbacks.c         if ((finished - now) > 3) {
now               920 daemons/based/based_callbacks.c             crm_trace("%s operation took %lds to complete", op, (long)(finished - now));
now               530 daemons/controld/controld_control.c     crm_time_t *now = crm_time_new(NULL);
now               563 daemons/controld/controld_control.c                       config_hash, PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS, FALSE, now,
now               621 daemons/controld/controld_control.c     crm_time_free(now);
now               474 daemons/controld/controld_execd_state.c         crm_time_t *now = crm_time_new(NULL);
now               481 daemons/controld/controld_execd_state.c                           now, NULL);
now               487 daemons/controld/controld_execd_state.c         crm_time_free(now);
now               861 daemons/controld/controld_fencing.c                 char *now = pcmk__ttoa(time(NULL));
now               876 daemons/controld/controld_fencing.c                 update_attrd(target, CRM_ATTR_UNFENCED, now, NULL,
now               878 daemons/controld/controld_fencing.c                 free(now);
now               223 daemons/controld/controld_remote_ra.c         time_t now = time(NULL);
now               231 daemons/controld/controld_remote_ra.c             uptime + 20 >= now - conn_node->peer_lost) {
now               232 daemons/controld/controld_te_events.c         char *now = pcmk__ttoa(time(NULL));
now               245 daemons/controld/controld_te_events.c                  rsc_id, on_uname, task, rc, value, now);
now               266 daemons/controld/controld_te_events.c         last_pair->value = now;
now               280 daemons/controld/controld_te_events.c         free(now);
now               132 daemons/controld/controld_throttle.c     time_t now = time(NULL);
now               180 daemons/controld/controld_throttle.c            && last_call < now
now               184 daemons/controld/controld_throttle.c             time_t elapsed = now - last_call;
now               194 daemons/controld/controld_throttle.c             crm_debug("Init %lu + %lu ticks at %ld (%lu tps)", utime, stime, (long)now, ticks_per_s);
now               197 daemons/controld/controld_throttle.c         last_call = now;
now               477 daemons/execd/cts-exec-helper.c     scheduler->priv->now = crm_time_new(NULL);
now               150 daemons/execd/execd_commands.c time_diff_ms(const struct timespec *now, const struct timespec *old)
now               157 daemons/execd/execd_commands.c         if (now == NULL) {
now               159 daemons/execd/execd_commands.c             now = &local_now;
now               161 daemons/execd/execd_commands.c         diff_ms = (now->tv_sec - old->tv_sec) * 1000
now               162 daemons/execd/execd_commands.c                   + (now->tv_nsec - old->tv_nsec) / 1000000;
now              1469 daemons/execd/execd_commands.c     time_t now = time(NULL);
now              1509 daemons/execd/execd_commands.c     crm_xml_add_ll(*reply, PCMK__XA_UPTIME, now - start_time);
now              2120 daemons/fenced/fenced_commands.c         time_t now = time(NULL);
now              2122 daemons/fenced/fenced_commands.c         if (dev->targets == NULL || dev->targets_age + 60 < now) {
now              1007 daemons/fenced/fenced_remote.c     time_t now = time(NULL);
now              1057 daemons/fenced/fenced_remote.c             && (now > (other->total_timeout + other->created))) {
now              1059 daemons/fenced/fenced_remote.c                       op->id, other->id, (long long)now, (long long)other->created,
now              2583 daemons/fenced/fenced_remote.c     time_t now = time(NULL);
now              2602 daemons/fenced/fenced_remote.c         } else if ((rop->completed + tolerance) < now) {
now               243 daemons/fenced/fenced_scheduler.c     if (scheduler->priv->now != NULL) {
now               244 daemons/fenced/fenced_scheduler.c         crm_time_free(scheduler->priv->now);
now               245 daemons/fenced/fenced_scheduler.c         scheduler->priv->now = NULL;
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               164 include/crm/common/scheduler_internal.h     crm_time_t *now;                // Time to use when evaluating rules
now                48 include/crm/pengine/common.h     crm_time_t *now;                // @COMPAT could be const
now                31 include/crm/pengine/rules.h                        gboolean overwrite, crm_time_t *now,
now                34 include/crm/pengine/rules_compat.h                    crm_time_t *now);
now               730 lib/cib/cib_utils.c     crm_time_t *now = NULL;
now               736 lib/cib/cib_utils.c     now = crm_time_new(NULL);
now               743 lib/cib/cib_utils.c                           options, PCMK_VALUE_CIB_BOOTSTRAP_OPTIONS, FALSE, now,
now               749 lib/cib/cib_utils.c     crm_time_free(now);
now               709 lib/cluster/cpg.c             time_t now = time(NULL);
now               713 lib/cluster/cpg.c                 peer->when_lost = now;
now               715 lib/cluster/cpg.c             } else if (now > (peer->when_lost + 60)) {
now               409 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               154 lib/common/rules.c pcmk__evaluate_date_spec(const xmlNode *date_spec, const crm_time_t *now)
now               176 lib/common/rules.c     if ((date_spec == NULL) || (now == NULL)) {
now               190 lib/common/rules.c     crm_time_get_gregorian(now, &(ranges[0].value), &(ranges[1].value),
now               194 lib/common/rules.c     crm_time_get_timeofday(now, &(ranges[3].value), &(ranges[4].value),
now               198 lib/common/rules.c     crm_time_get_ordinal(now, &(ranges[0].value), &(ranges[6].value));
now               201 lib/common/rules.c     crm_time_get_isoweek(now, &(ranges[7].value), &(ranges[8].value),
now               293 lib/common/rules.c                   const crm_time_t *now, crm_time_t *next_change)
now               339 lib/common/rules.c     if ((start != NULL) && (crm_time_compare(now, start) < 0)) {
now               347 lib/common/rules.c         if (crm_time_compare(now, end) > 0) {
now               380 lib/common/rules.c             const crm_time_t *now, crm_time_t *next_change)
now               399 lib/common/rules.c     if (crm_time_compare(now, start) > 0) {
now               426 lib/common/rules.c             const crm_time_t *now, crm_time_t *next_change)
now               444 lib/common/rules.c     if (crm_time_compare(now, end) < 0) {
now               470 lib/common/rules.c                                const crm_time_t *now, crm_time_t *next_change)
now               476 lib/common/rules.c     if ((date_expression == NULL) || (now == NULL)) {
now               491 lib/common/rules.c         rc = evaluate_in_range(date_expression, id, now, next_change);
now               507 lib/common/rules.c         rc = pcmk__evaluate_date_spec(date_spec, now);
now               510 lib/common/rules.c         rc = evaluate_gt(date_expression, id, now, next_change);
now               513 lib/common/rules.c         rc = evaluate_lt(date_expression, id, now, next_change);
now              1271 lib/common/rules.c                                                         rule_input->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               464 lib/common/tls.c         time_t now = time(NULL);
now               467 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               136 lib/pacemaker/pcmk_rule.c     rc = pcmk__evaluate_date_expression(match, scheduler->priv->now, NULL);
now               371 lib/pacemaker/pcmk_sched_location.c             .now = rsc->priv->scheduler->priv->now,
now               872 lib/pacemaker/pcmk_scheduler.c         new_scheduler->priv->now = pcmk_copy_time(date);
now               446 lib/pacemaker/pcmk_simulate.c         scheduler->priv->now = crm_time_new(use_date);
now               448 lib/pacemaker/pcmk_simulate.c         crm_time_log(LOG_NOTICE, "Pretending 'now' is", scheduler->priv->now,
now               452 lib/pacemaker/pcmk_simulate.c         scheduler->priv->now = pcmk__copy_timet(original_date);
now               455 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               186 lib/pengine/complex.c         .now = scheduler->priv->now,
now               241 lib/pengine/complex.c         .now = NULL,
now               250 lib/pengine/complex.c     rule_data.now = scheduler->priv->now;
now               713 lib/pengine/complex.c         .now = NULL,
now               724 lib/pengine/complex.c     rule_data.now = scheduler->priv->now;
now               401 lib/pengine/failcounts.c         time_t now = get_effective_time(rsc->priv->scheduler);
now               404 lib/pengine/failcounts.c         if (now > (fc_data.last_failure + expiration)) {
now               255 lib/pengine/pe_actions.c         .now = scheduler->priv->now,
now               554 lib/pengine/pe_actions.c                        guint interval_ms, const crm_time_t *now,
now               562 lib/pengine/pe_actions.c     if ((value == NULL) || (interval_ms == 0) || (now == NULL)) {
now               576 lib/pengine/pe_actions.c     result = crm_time_get_seconds(now) - crm_time_get_seconds(origin);
now               705 lib/pengine/pe_actions.c         .now = rsc->priv->scheduler->priv->now,
now               813 lib/pengine/pe_actions.c                                    rsc->priv->scheduler->priv->now,
now                43 lib/pengine/rules.c     new->now = old->now;
now               226 lib/pengine/rules.c                   crm_time_t *now, crm_time_t *next_change)
now               230 lib/pengine/rules.c         .now = now,
now               246 lib/pengine/rules.c test_rule(xmlNode * rule, GHashTable * node_hash, enum rsc_role_e role, crm_time_t * now)
now               250 lib/pengine/rules.c         .now = now,
now                33 lib/pengine/rules_alerts.c     crm_time_t *now = crm_time_new(NULL);
now                38 lib/pengine/rules_alerts.c                       config_hash, NULL, FALSE, now, NULL);
now                39 lib/pengine/rules_alerts.c     crm_time_free(now);
now               127 lib/pengine/status.c     if (scheduler->priv->now == NULL) {
now               128 lib/pengine/status.c         scheduler->priv->now = crm_time_new(NULL);
now               376 lib/pengine/status.c     crm_time_free(scheduler->priv->now);
now               224 lib/pengine/unpack.c         .now = scheduler->priv->now,
now              4162 lib/pengine/unpack.c         time_t now = get_effective_time(scheduler);
now              4166 lib/pengine/unpack.c         if ((now >= (last_run + expiration_sec))
now              4183 lib/pengine/unpack.c                   (long long) now, unexpired_fail_count,
now              4187 lib/pengine/unpack.c         if (unexpired_fail_count && (now < last_failure)) {
now              4908 lib/pengine/unpack.c         .now = scheduler->priv->now,
now               405 lib/pengine/utils.c         if (scheduler->priv->now == NULL) {
now               407 lib/pengine/utils.c             scheduler->priv->now = crm_time_new(NULL);
now               409 lib/pengine/utils.c         return crm_time_get_seconds_since_epoch(scheduler->priv->now);
now              2053 tools/crm_mon.c     time_t now = time(NULL);
now              2076 tools/crm_mon.c         ((now - last_refresh) > pcmk__timeout_ms2s(options.reconnect_ms)) ||
now              1937 tools/crm_resource.c                     .now = scheduler->priv->now,
now                18 tools/crm_resource_ban.c     crm_time_t *now = NULL;
now                34 tools/crm_resource_ban.c     now = crm_time_new(NULL);
now                35 tools/crm_resource_ban.c     later = crm_time_add(now, duration);
now                40 tools/crm_resource_ban.c         crm_time_free(now);
now                45 tools/crm_resource_ban.c     crm_time_log(LOG_INFO, "now     ", now,
now                55 tools/crm_resource_ban.c     crm_time_free(now);
now               444 tools/crm_resource_ban.c     crm_time_t *now = crm_time_new(NULL);
now               484 tools/crm_resource_ban.c         if (crm_time_compare(now, end) == 1) {
now               512 tools/crm_resource_ban.c     crm_time_free(now);
now              1387 tools/crm_resource_runtime.c                  && (scheduler->input == NULL) && (scheduler->priv->now == NULL)
now              1415 tools/crm_resource_runtime.c     scheduler->priv->now = crm_time_new(NULL);
now               442 tools/crm_ticket.c     scheduler->priv->now = crm_time_new(NULL);