Home
last modified time | relevance | path

Searched refs:max_time (Results 1 – 11 of 11) 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.c432 int BIO_socket_wait(int fd, int for_read, time_t max_time) in BIO_socket_wait() argument
445 if (max_time == 0) in BIO_socket_wait()
449 if (max_time < now) in BIO_socket_wait()
455 tv.tv_sec = (long)(max_time - now); /* might overflow */ in BIO_socket_wait()
464 if (max_time == 0) in BIO_socket_wait()
468 if (max_time < now) in BIO_socket_wait()
473 return poll(&confds, 1, (int)(max_time - now) * 1000); in BIO_socket_wait()
H A Dbio_lib.c953 static int bio_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in bio_wait() argument
960 if (max_time == 0) /* no timeout */ in bio_wait()
965 int ret = BIO_socket_wait(fd, BIO_should_read(bio), max_time); in bio_wait()
973 sec_diff = (long)(max_time - time(NULL)); /* might overflow */ in bio_wait()
997 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds) in BIO_wait() argument
999 int rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_wait()
1018 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in BIO_do_connect_retry() local
1061 rv = bio_wait(bio, max_time, nap_milliseconds); in BIO_do_connect_retry()
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_client.c69 time_t max_time; /* Maximum end time of current transfer, or 0 */ member
275 rctx->max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_REQ_CTX_set_expected()
277 rctx->max_time = rctx->max_total_time; in OSSL_HTTP_REQ_CTX_set_expected()
532 static int may_still_retry(time_t max_time, int *ptimeout) in may_still_retry() argument
536 if (max_time != 0) { in may_still_retry()
537 if (max_time < now) { in may_still_retry()
541 time_diff = max_time - now; in may_still_retry()
1037 if (BIO_wait(rctx->rbio, rctx->max_time, 100 /* milliseconds */) <= 0) in OSSL_HTTP_REQ_CTX_exchange()
1268 time_t max_time = timeout > 0 ? time(NULL) + timeout : 0; in OSSL_HTTP_get() local
1306 && may_still_retry(max_time, &timeout)) { in OSSL_HTTP_get()
[all …]
/freebsd/contrib/tzcode/
H A Dzic.c897 static zic_t const max_time = MAXVAL(zic_t, TIME_T_BITS_IN_FILE); variable
916 intmax_t lo = min_time, hi = max_time; in timerange_option()
932 if (*hi_end || hi < lo || max_time < lo || hi < min_time) in timerange_option()
935 hi_time = min(hi, max_time); in timerange_option()
2054 z.z_untiltime < max_time && in inzsub()
2056 zones[nzones - 1].z_untiltime < max_time && in inzsub()
2142 if (dayoff > max_time / SECSPERDAY) { in getleapdatetime()
2439 if (hi < max_time) { in limitrange()
2611 thismax = max_time; in writezone()
3100 if (hi_time < max_time) in stringzone()
[all …]
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dkstat.h191 hrtime_t max_time; /* longest event duration */ member
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dkstat.h189 hrtime_t max_time; /* longest event duration */ member
/freebsd/crypto/openssl/include/openssl/
H A Dbio.h821 int BIO_socket_wait(int fd, int for_read, time_t max_time);
823 int BIO_wait(BIO *bio, time_t max_time, unsigned int nap_milliseconds);
H A Dbio.h.in798 int BIO_socket_wait(int fd, int for_read, time_t max_time);
800 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.c222 ktp->min_time, ktp->max_time, in kstat_seq_show_timer()
/freebsd/sys/netinet/tcp_stacks/
H A Drack.c6072 uint32_t max_time, red; in rack_timer_start() local
6074 max_time = TICKS_2_USEC(TP_KEEPINIT(tp)); in rack_timer_start()
6077 if (red < max_time) in rack_timer_start()
6078 max_time -= red; in rack_timer_start()
6080 max_time = 1; in rack_timer_start()
6083 if (max_time < to) in rack_timer_start()
6084 to = max_time; in rack_timer_start()