Lines Matching refs:time_now
414 usec_t time_now;
439 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now);
442 assert(time_now >= client->start_time);
446 secs = ((time_now - client->start_time) / USEC_PER_SEC) ? : 1;
782 uint64_t time_now;
790 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now);
801 next_timeout = time_now + time_left * USEC_PER_SEC;
811 next_timeout = time_now + time_left * USEC_PER_SEC;
837 next_timeout = time_now + (client->attempt - 1) * USEC_PER_SEC;
898 client->request_sent = time_now;
1234 usec_t time_now;
1254 r = sd_event_now(client->event, clock_boottime_or_monotonic(), &time_now);
1257 assert(client->request_sent <= time_now);
1321 format_timespan(time_string, FORMAT_TIMESPAN_MAX, lifetime_timeout - time_now, USEC_PER_SEC));
1324 if (lifetime_timeout <= time_now)
1347 format_timespan(time_string, FORMAT_TIMESPAN_MAX, t2_timeout - time_now, USEC_PER_SEC));
1350 if (t2_timeout <= time_now)
1372 format_timespan(time_string, FORMAT_TIMESPAN_MAX, t1_timeout - time_now, USEC_PER_SEC));