Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/doc/man3/
H A DBIO_socket_wait.pod15 int BIO_socket_wait(int fd, int for_read, time_t max_time);
17 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
23 else for writing, at most until B<max_time>.
24 It succeeds immediately if B<max_time> == 0 (which means no timeout given).
26 BIO_wait() waits at most until B<max_time> on the given (typically socket-based)
29 It succeeds immediately if B<max_time> == 0 (which means no timeout given).
/freebsd/crypto/openssl/crypto/bio/
H A Dbio_sock.c393 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument
405 if (max_time == 0) in BIO_socket_wait()
409 if (max_time < now) in BIO_socket_wait()
415 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
H A Dbio_lib.c861 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument
868 if (max_time == 0) /* no timeout */ in bio_wait()
873 int ret = BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait()
881 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait()
886 if (sec_diff == 0) { /* we are below the 1 seconds resolution of max_time */ in bio_wait()
898 * Wait on (typically socket-based) BIO at most until max_time.
899 * Succeed immediately if max_time == 0.
905 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait()
907 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait()
926 time_t max_time in BIO_do_connect_retry()
901 BIO_wait(BIO * bio,time_t max_time,unsigned int nap_milliseconds) BIO_wait() argument
922 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; BIO_do_connect_retry() local
[all...]
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_client.c66 time_t max_time; /* Maximum end time of current transfer, or 0 */ member
266 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected()
268 rctx->max_time = rctx->max_total_time; in OSSL_HTTP_REQ_CTX_set_expected()
505 static int may_still_retry(time_t max_time, int *ptimeout) in may_still_retry() argument
509 if (max_time != 0) { in may_still_retry()
510 if (max_time < now) { in may_still_retry()
514 time_diff = max_time - now; in may_still_retry()
916 if (BIO_wait(rctx->rbio, rctx->max_time, 100 /* milliseconds */) <= 0) in OSSL_HTTP_REQ_CTX_exchange()
1149 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_get() local
1183 && may_still_retry(max_time, &timeout)) { in OSSL_HTTP_get()
[all …]
/freebsd/contrib/tzcode/
H A Dzic.c895 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE); variable
914 intmax_t lo = min_time, hi = max_time; in timerange_option()
930 if (*hi_end || hi < lo || max_time < lo || hi < min_time) in timerange_option()
933 hi_time = min(hi, max_time); in timerange_option()
2022 z.z_untiltime < max_time && in inzsub()
2024 zones[nzones - 1].z_untiltime < max_time && in inzsub()
2110 if (dayoff > max_time / SECSPERDAY) { in getleapdatetime()
2403 if (hi < max_time) { in limitrange()
2575 thismax = max_time; in writezone()
3064 if (hi_time < max_time) in stringzone()
[all...]
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/
H A Dkstat.h663 hrtime_t max_time; /* longest event duration */ member
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkstat.h184 hrtime_t max_time; /* longest event duration */ member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dkstat.h188 hrtime_t max_time; /* longest event duration */ member
/freebsd/crypto/openssl/include/openssl/
H A Dbio.h707 int BIO_socket_wait(int fd, int for_read, time_t max_time);
709 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
H A Dbio.h.in684 int BIO_socket_wait(int fd, int for_read, time_t max_time);
686 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
/freebsd/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-kstat.c217 ktp->min_time, ktp->max_time, in kstat_seq_show_timer()
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c6210 uint32_t max_time, red; in rack_timer_start() local
6212 max_time = TICKS_2_USEC(TP_KEEPINIT(tp)); in rack_timer_start()
6215 if (red < max_time) in rack_timer_start()
6216 max_time -= red; in rack_timer_start()
6218 max_time = 1; in rack_timer_start()
6221 if (max_time < to) in rack_timer_start()
6222 to = max_time; in rack_timer_start()