| /src/usr.bin/tip/ |
| hunt.c | 42 static jmp_buf deadline; variable 52 longjmp(deadline, 1); 73 if (setjmp(deadline) == 0) {
|
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_thread_assist.c | 32 OSSL_TIME deadline; local 37 deadline = ossl_quic_reactor_get_tick_deadline(rtor); 40 * deadline 42 deadline = ossl_quic_engine_make_real_time(eng, deadline); 43 ossl_crypto_condvar_wait_timeout(qta->cv, m, deadline); 50 * - The tick deadline has passed. 51 * - The tick deadline has changed.
|
| quic_channel.c | 763 * So we defer TXKU cooldown deadline calculation to this point. 2018 OSSL_TIME now, deadline; local 2092 * detection deadline and the idle timeout. 2094 * ACKM ACK generation deadline is polled by TXP, so we don't need to 2114 deadline = ossl_ackm_get_loss_detection_deadline(ch->ackm); 2115 if (!ossl_time_is_zero(deadline) 2116 && ossl_time_compare(now, deadline) >= 0) 2128 * request so bump the ping deadline. If we don't do this we will 2129 * busy-loop endlessly as the above deadline comparison condition 2722 /* Determine next tick deadline. * 2725 OSSL_TIME deadline; local [all...] |
| quic_txp.c | 3214 * TXP-specific deadline computations which rely on TXP innards. This is in 3216 * handling deadline. 3218 OSSL_TIME deadline = ossl_time_infinite(); local 3232 deadline = ossl_time_min(deadline, 3238 deadline = ossl_time_min(deadline, 3241 return deadline;
|
| /src/external/bsd/jemalloc/dist/include/jemalloc/internal/ |
| decay.h | 48 /* Deadline randomness generator. */ 51 * Deadline for current epoch. This is the sum of interval and per 54 * randomize the deadline to reduce the likelihood of arenas purging in 57 nstime_t deadline; member in struct:decay_s
|
| /src/external/bsd/jemalloc/include/jemalloc/internal/ |
| decay.h | 48 /* Deadline randomness generator. */ 51 * Deadline for current epoch. This is the sum of interval and per 54 * randomize the deadline to reduce the likelihood of arenas purging in 57 nstime_t deadline; member in struct:decay_s
|
| arena_structs_b.h | 41 /* Deadline randomness generator. */ 44 * Deadline for current epoch. This is the sum of interval and per 47 * randomize the deadline to reduce the likelihood of arenas purging in 50 nstime_t deadline; member in struct:arena_decay_s
|
| /src/sys/arch/mips/cavium/dev/ |
| octeon_rnm.c | 375 uint32_t deadline = mips3_cp0_count_read() + ncycles; local 379 while ((deadline - mips3_cp0_count_read()) < ncycles)
|
| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_ring.c | 420 ktime_t deadline = ktime_add_us(ktime_get(), 10000); local 427 ktime_to_ns(ktime_sub(deadline, ktime_get())) > 0)
|
| /src/crypto/external/apache2/openssl/dist/doc/designs/ddd/ |
| ddd-04-fd-nonblocking.c | 378 struct timeval start, now, deadline, t; local 388 timeradd(&start, &timeout, &deadline); 403 if (timercmp(&now, &deadline, >=)) 422 struct timeval start, now, deadline, t; local 432 timeradd(&start, &timeout, &deadline); 446 if (timercmp(&now, &deadline, >=))
|
| ddd-02-conn-nonblocking.c | 363 struct timeval start, now, deadline, t; local 373 timeradd(&start, &timeout, &deadline); 388 if (timercmp(&now, &deadline, >=)) 407 struct timeval start, now, deadline, t; local 417 timeradd(&start, &timeout, &deadline); 432 if (timercmp(&now, &deadline, >=))
|
| /src/crypto/external/apache2/openssl/dist/ssl/rio/ |
| poll_immediate.c | 424 OSSL_TIME deadline; local 434 /* Convert timeout to deadline. */ 436 deadline = ossl_time_infinite(); 438 deadline = ossl_time_zero(); 440 deadline = ossl_time_add(ossl_time_now(), 453 * the deadline has expired, we're done. 456 || ossl_time_is_zero(deadline) /* (avoids now call) */ 457 || ossl_time_compare(ossl_time_now(), deadline) >= 0) 466 if (!poll_block(items, num_items, stride, deadline, &result_count)) {
|
| /src/tests/lib/libc/sys/ |
| t_eventfd.c | 101 struct timespec deadline; local 107 ATF_REQUIRE(clock_gettime(CLOCK_MONOTONIC, &deadline) == 0); 108 deadline.tv_sec += 5; 112 &deadline);
|
| t_futex_ops.c | 1307 struct timespec deadline; local 1313 RL(clock_gettime(clock, &deadline)); 1314 deadline.tv_sec += 2; 1319 ts = deadline; 1330 ATF_CHECK_MSG(ts.tv_sec >= deadline.tv_sec, 1331 "ts=%lld.%09ldsec deadline=%lld.%09ldsec", 1333 (long long)deadline.tv_sec, deadline.tv_nsec); 1334 ATF_CHECK_MSG((ts.tv_sec > deadline.tv_sec || 1335 ts.tv_nsec >= deadline.tv_nsec) [all...] |
| /src/external/bsd/jemalloc/dist/test/unit/ |
| arena_decay.c | 218 nstime_t time, update_interval, decay_ms, deadline; local 223 nstime_copy(&deadline, &time); 224 nstime_add(&deadline, &decay_ms); 247 } while (nstime_compare(&time, &deadline) <= 0 && ((dirty_npurge1 ==
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| arena_structs_b.h | 41 /* Deadline randomness generator. */ 44 * Deadline for current epoch. This is the sum of interval and per 47 * randomize the deadline to reduce the likelihood of arenas purging in 50 nstime_t deadline; member in struct:arena_decay_s
|
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| arena_structs_b.h | 41 /* Deadline randomness generator. */ 44 * Deadline for current epoch. This is the sum of interval and per 47 * randomize the deadline to reduce the likelihood of arenas purging in 50 nstime_t deadline; member in struct:arena_decay_s
|
| /src/external/bsd/openldap/dist/contrib/slapd-modules/nssov/nss-pam-ldapd/ |
| tio.c | 92 /* update the timeout to the value that is remaining before the deadline 93 returns the number of milliseconds before the deadline (or a negative 94 value of the deadline has expired) */ 95 static inline int tio_time_remaining(struct timespec *deadline, int timeout) 98 /* if this is the first call, set the deadline and return the full time */ 99 if ((deadline->tv_sec == 0) && (deadline->tv_nsec == 0)) 101 if (clock_gettime(CLOCK_MONOTONIC, deadline) == 0) 103 deadline->tv_sec += timeout / 1000; 104 deadline->tv_nsec += (timeout % 1000) * 1000000 202 struct timespec deadline = {0, 0}; local 301 struct timespec deadline = {0, 0}; local 389 struct timespec deadline = {0, 0}; local [all...] |
| /src/sys/external/bsd/drm2/linux/ |
| linux_dma_fence.c | 1046 int starttime = 0, now = 0, deadline = 0; /* XXXGCC */ local 1074 /* Find out what our deadline is so we can handle spurious wakeup. */ 1078 deadline = starttime + timeout; 1084 * If there's a timeout and we've passed the deadline, 1089 if (deadline <= now) { 1099 deadline - now); 1106 deadline - now); 1141 ret = MAX(1, deadline - now);
|
| /src/external/bsd/jemalloc.old/dist/test/unit/ |
| decay.c | 379 nstime_t time, update_interval, decay_ms, deadline; local 385 nstime_copy(&deadline, &time); 386 nstime_add(&deadline, &decay_ms); 409 } while (nstime_compare(&time, &deadline) <= 0 && ((dirty_npurge1 ==
|
| /src/sys/dev/acpi/ |
| acpi_ec.c | 705 const unsigned deadline = getticks() + EC_CMD_TIMEOUT*hz; local 709 (delta = deadline - getticks()) < INT_MAX)
|
| /src/sys/kern/ |
| sys_futex.c | 923 * futex_wait(fw, deadline, clkid) 925 * fw must be a waiter on a futex's queue. Wait until deadline on 926 * the clock clkid, or forever if deadline is NULL, for a futex 932 futex_wait(struct futex_wait *fw, const struct timespec *deadline, 952 if (deadline) { 960 /* If we're past the deadline, ETIMEDOUT. */ 961 if (timespeccmp(deadline, &ts, <=)) { 967 timespecsub(deadline, &ts, &ts); 1220 const struct timespec *deadline; local 1234 /* Determine a deadline on the specified clock. * [all...] |
| kern_event.c | 1347 struct timespec deadline = ts; local 1360 /* If we're past the deadline, then the event will fire. */ 1361 if (timespeccmp(&deadline, &ts, <=)) { 1367 timespecsub(&deadline, &ts, &ts);
|
| /src/crypto/external/apache2/openssl/dist/test/ |
| quic_ackm_test.c | 335 static void on_loss_detection_deadline_callback(OSSL_TIME deadline, void *arg) 337 *(OSSL_TIME *)arg = deadline; 421 OSSL_TIME deadline = ossl_ackm_get_loss_detection_deadline(h.ackm); local 424 if (!TEST_int_eq(ossl_time_compare(deadline, loss_detection_deadline), 0)) 427 /* We should have a PTO deadline. */ 428 if (!TEST_int_gt(ossl_time_compare(deadline, fake_time), 0)) 444 /* Advance to the PTO deadline. */ 445 fake_time = ossl_time_add(deadline, ossl_ticks2time(1)); 624 RX_OPK_CHECK_STATE, /* check is_desired/deadline */ 764 RX_OP_CHECK_STATE(0, 0, 1) /* threshold not yet met, so deadline */ [all...] |
| /src/sbin/ping6/ |
| ping6.c | 229 static double deadline = 0.0; /* max running time in seconds */ variable 530 deadline = strtod(optarg, &e); 531 if (*e != '\0' || deadline <= 0) 532 errx(EXIT_FAILURE, "Bad/invalid deadline time: " 920 if (deadline > 0) { 921 last = timespec_to_sec(&now) + deadline; 2532 "\t[-p pattern] [-S sourceaddr] [-s packetsize] [-X deadline]\n"
|