Lines Matching refs:time_now

798         usec_t time_now;  in client_message_init()  local
824 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_message_init()
827 assert(time_now >= client->start_time); in client_message_init()
831 secs = ((time_now - client->start_time) / USEC_PER_SEC) ? : 1; in client_message_init()
1242 uint64_t time_now; in client_timeout_resend() local
1249 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_timeout_resend()
1256 next_timeout = client_compute_reacquisition_timeout(time_now, client->t2_time); in client_timeout_resend()
1260 next_timeout = client_compute_reacquisition_timeout(time_now, client->expire_time); in client_timeout_resend()
1285 next_timeout = client_compute_request_timeout(time_now, client->attempt); in client_timeout_resend()
1333 client->request_sent = time_now; in client_timeout_resend()
1670 usec_t time_now; in client_set_lease_timeouts() local
1687 r = sd_event_now(client->event, CLOCK_BOOTTIME, &time_now); in client_set_lease_timeouts()
1690 assert(client->request_sent <= time_now); in client_set_lease_timeouts()
1728 if (client->expire_time <= time_now) in client_set_lease_timeouts()
1732 FORMAT_TIMESPAN(client->expire_time - time_now, USEC_PER_SEC)); in client_set_lease_timeouts()
1744 if (client->t2_time <= time_now) in client_set_lease_timeouts()
1748 FORMAT_TIMESPAN(client->t2_time - time_now, USEC_PER_SEC)); in client_set_lease_timeouts()
1759 if (client->t1_time > time_now) in client_set_lease_timeouts()
1761 FORMAT_TIMESPAN(client->t1_time - time_now, USEC_PER_SEC)); in client_set_lease_timeouts()