Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/regress/unittests/misc/
H A Dtest_ptimeout.c72 ptimeout_deadline_monotime(&pt, monotime() + 100); in test_ptimeout()
83 ptimeout_deadline_monotime(&pt, monotime() + 100); in test_ptimeout()
84 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.h89 time_t monotime(void);
H A Dclientloop.c259 control_persist_exit_time = monotime() + in set_control_persist_exit_time()
380 now = monotime() + 1; in client_x11_get_proto()
492 server_alive_time = monotime() + options.server_alive_interval; in schedule_server_alive_check()
754 monotime() >= server_alive_time) { in client_wait_until_can_do_something()
1626 if (monotime() >= control_persist_exit_time) { in client_loop()
1800 if (x11_refuse_time != 0 && monotime() >= x11_refuse_time) { in client_request_x11()
H A Dserverloop.c184 now = monotime(); in wait_until_can_do_something()
252 now = monotime(); /* need to reset after ppoll() */ in wait_until_can_do_something()
H A Dssh-agent.c1065 time_t deadline = 0, now = monotime(); in reaper()
1315 *deathp = monotime() + seconds; in parse_key_constraints()
1430 death = monotime() + lifetime; in process_add_identity()
1618 death = monotime() + lifetime; in process_add_smartcard_key()
H A Dpacket.c986 (int64_t)state->rekey_time + state->rekey_interval <= monotime()) in ssh_packet_need_rekeying()
1304 state->rekey_time = monotime(); in ssh_packet_send2()
2202 monotime(); in ssh_packet_get_rekey_timeout()
2475 state->rekey_time = monotime(); in ssh_packet_set_state()
H A Dmoduli.c543 time_now = monotime(); in print_progress()
H A Dchannels.c394 ssh->chanctxt->lastused = monotime(); in channel_set_used_time()
1320 monotime() >= sc->x11_refuse_time) { in x11_open_helper()
1860 c->notbefore = monotime() + 1; in channel_post_x11_listener()
1989 c->notbefore = monotime() + 1; in channel_post_port_listener()
2025 c->notbefore = monotime() + 1; in channel_post_auth_listener()
2511 c->notbefore = monotime() + 1; in channel_post_mux_listener()
2611 now = monotime(); in channel_handler()
H A Dssh_namespace.h424 #define monotime Fssh_monotime macro
H A Dsshd.c868 now = monotime();
H A Dmisc.c1729 monotime(void) in monotime() function