Home
last modified time | relevance | path

Searched refs:monotime (Results 1 – 11 of 11) sorted by relevance

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_ptimeout.c68 ptimeout_deadline_monotime(&pt, monotime() + 100); in test_ptimeout()
79 ptimeout_deadline_monotime(&pt, monotime() + 100); in test_ptimeout()
80 ptimeout_deadline_monotime(&pt, monotime() - 100); in test_ptimeout()
/freebsd/tools/test/gpioevents/
H A Dgpioevents.c157 struct timespec monotime, utctime; in calc_utc_offset() local
159 clock_gettime(CLOCK_MONOTONIC, &monotime); in calc_utc_offset()
161 timespecsub(&utctime, &monotime, &utc_offset); in calc_utc_offset()
/freebsd/crypto/openssh/
H A Dmisc.h102 time_t monotime(void);
H A Dclientloop.c254 control_persist_exit_time = monotime() + in set_control_persist_exit_time()
375 now = monotime() + 1; in client_x11_get_proto()
487 server_alive_time = monotime() + options.server_alive_interval; in schedule_server_alive_check()
750 monotime() >= server_alive_time) { in client_wait_until_can_do_something()
1648 if (monotime() >= control_persist_exit_time) { in client_loop()
1809 if (x11_refuse_time != 0 && monotime() >= x11_refuse_time) { in client_request_x11()
H A Dserverloop.c168 now = monotime(); in wait_until_can_do_something()
239 now = monotime(); /* need to reset after ppoll() */ in wait_until_can_do_something()
H A Dpacket.c1129 (int64_t)state->rekey_time + state->rekey_interval <= monotime()) in ssh_packet_need_rekeying()
1455 state->rekey_time = monotime(); in ssh_packet_send2()
2359 monotime(); in ssh_packet_get_rekey_timeout()
2637 state->rekey_time = monotime(); in ssh_packet_set_state()
3025 uint64_t epoch = (uint64_t)time(NULL) - monotime(); in connection_info_message()
H A Dssh-agent.c1072 time_t deadline = 0, now = monotime(); in reaper()
1326 *deathp = monotime() + seconds; in parse_key_constraints()
1421 death = monotime() + lifetime; in process_add_identity()
1609 death = monotime() + lifetime; in process_add_smartcard_key()
H A Dmoduli.c498 time_now = monotime(); in print_progress()
H A Dchannels.c398 ssh->chanctxt->lastused = monotime(); in channel_set_used_time()
1381 monotime() >= sc->x11_refuse_time) { in x11_open_helper()
1928 c->notbefore = monotime() + 1; in channel_post_x11_listener()
2057 c->notbefore = monotime() + 1; in channel_post_port_listener()
2093 c->notbefore = monotime() + 1; in channel_post_auth_listener()
2580 c->notbefore = monotime() + 1; in channel_post_mux_listener()
2680 now = monotime(); in channel_handler()
5440 return lastused != 0 && monotime() <= lastused + 1; in x11_channel_used_recently()
H A Dssh_namespace.h446 #define monotime Fssh_monotime macro
H A Dmisc.c1828 monotime(void) in monotime() function