/freebsd-src/sys/contrib/ck/include/ |
H A D | ck_ec.h | 82 * value changes, and can override the deadline passed to futex_wait. 112 * deadline is either NULL, or a `const struct timespec *` that will 113 * be treated as an absolute deadline. 134 * computes a deadline `timeout` away from the current time. If 135 * timeout is NULL, computes a deadline in the infinite future. The 136 * resulting deadline is written to `new_deadline`. Returns 0 on 139 * `int ck_ec_wait(ec, mode, value, deadline)`: waits until the event 140 * counter's value differs from `value`, or, if `deadline` is 142 * deadline. Use a deadline with tv_sec = 0 for a non-blocking 146 * `int ck_ec_wait_pred(ec, mode, value, pred, data, deadline)`: waits [all …]
|
/freebsd-src/sys/contrib/ck/src/ |
H A D | ck_ec.c | 29 /* Once we've waited for >= 1 sec, go for the full deadline. */ 47 const struct timespec *deadline) in ck_ec32_wait_slow() argument 50 NULL, NULL, deadline); in ck_ec32_wait_slow() 66 const struct timespec *deadline) in ck_ec64_wait_slow() argument 69 NULL, NULL, deadline); in ck_ec64_wait_slow() 120 * If deadline is ever reached, returns -1 (timeout). 132 struct timespec *deadline), in exponential_backoff() argument 133 const struct timespec *deadline) in exponential_backoff() argument 153 if (check_deadline(&now, ops, *deadline) == true) { in exponential_backoff() 167 partial_deadline = *deadline; in exponential_backoff() [all …]
|
H A D | ck_ec_timeutil.h | 134 * true if the current time is greater than or equal to the deadline, 139 const struct timespec deadline) in check_deadline() argument 148 return timespec_cmp(*now, deadline) >= 0; in check_deadline()
|
/freebsd-src/contrib/jemalloc/include/jemalloc/internal/ |
H A D | 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
|
/freebsd-src/usr.bin/tip/tip/ |
H A D | hunt.c | 37 static jmp_buf deadline; variable 47 longjmp(deadline, 1); in dead() 76 if (setjmp(deadline) == 0) { in hunt()
|
/freebsd-src/sys/net/altq/ |
H A D | altq_hfsc.h | 88 u_int64_t d; /* deadline */ 131 u_int64_t d; /* deadline */ 236 u_int64_t cl_d; /* deadline */ 260 struct runtime_sc cl_deadline; /* deadline curve */
|
H A D | altq_hfsc.c | 735 * find the class with the minimum deadline among in hfsc_dequeue() 912 /* update the deadline curve */ in init_ed() 917 * for concave, it is equal to the deadline curve. in init_ed() 1220 /* find the class with the minimum deadline among the eligible classes */
|
/freebsd-src/lib/libtacplus/ |
H A D | taclib.c | 485 const struct timeval *deadline) in read_timed() argument 506 timersub(deadline, &tv, &tv); in read_timed() 543 struct timeval deadline; in recv_msg() local 548 gettimeofday(&deadline, NULL); in recv_msg() 549 deadline.tv_sec += h->servers[h->cur_server].timeout; in recv_msg() 552 if (read_timed(h, msg, HDRSIZE, &deadline) == -1) in recv_msg() 579 if (read_timed(h, msg->u.body, len, &deadline) == -1) in recv_msg() 615 struct timeval deadline; in send_msg() local 638 gettimeofday(&deadline, NULL); in send_msg() 639 deadline.tv_sec += h->servers[h->cur_server].timeout; in send_msg() [all …]
|
/freebsd-src/crypto/openssh/ |
H A D | ssh-agent.c | 1065 time_t deadline = 0, now = monotime(); in reaper() local 1078 deadline = (deadline == 0) ? id->death : in reaper() 1079 MINIMUM(deadline, id->death); in reaper() 1081 if (deadline == 0 || deadline <= now) in reaper() 1084 return (deadline - now); in reaper() 2093 time_t deadline; in prepare_poll() local 2151 deadline = reaper(); in prepare_poll() 2153 deadline = (deadline == 0) ? parent_alive_interval : in prepare_poll() 2154 MINIMUM(deadline, parent_alive_interval); in prepare_poll() 2155 if (deadline != 0) in prepare_poll() [all …]
|
H A D | channels.h | 149 time_t notbefore; /* Pause IO until deadline (time_t) */ 213 /* Inactivity timeout deadline in seconds (0 = no timeout) */
|
H A D | misc.c | 2910 * Will remember the earliest deadline and return it for use in poll/ppoll. 2913 /* Initialise a poll/ppoll timeout with an indefinite deadline */ 2925 /* Specify a poll/ppoll deadline of at most 'sec' seconds */ 2935 /* Specify a poll/ppoll deadline of at most 'p' (timespec) */ 2943 /* Specify a poll/ppoll deadline of at most 'ms' milliseconds */ 2954 /* Specify a poll/ppoll deadline at wall clock monotime 'when' (timespec) */ 2972 /* Specify a poll/ppoll deadline at wall clock monotime 'when' */
|
/freebsd-src/sys/dev/nvme/ |
H A D | nvme_qpair.c | 1129 * an indefinite amount of time and have no deadline. in nvme_qpair_timeout() 1131 if (tr->deadline == SBT_MAX) in nvme_qpair_timeout() 1139 if (now <= tr->deadline) in nvme_qpair_timeout() 1149 * deadline has passed. Poll the competions as a last-ditch in nvme_qpair_timeout() 1168 * an indefinite amount of time and have no deadline. 1170 if (tr->deadline == SBT_MAX) in nvme_qpair_submit_tracker() 1181 if (now <= tr->deadline) in nvme_qpair_submit_tracker() 1259 tr->deadline = getsbinuptime() + timeout * SBT_1S; 1266 tr->deadline = SBT_MAX; in _nvme_qpair_submit_request() 1374 tr->deadline in nvme_qpair_reset() [all...] |
H A D | nvme_private.h | 136 sbintime_t deadline; member
|
/freebsd-src/contrib/kyua/utils/signals/ |
H A D | timer.hpp | 33 /// concurrently by using a deadline scheduler and leveraging the "single timer"
|
H A D | timer.cpp | 89 /// Deadline scheduler for all user timers on top of the unique system timer. 204 // whose deadline lies in the past but that have not yet fired for in reprogram_system_timer()
|
/freebsd-src/contrib/kyua/utils/process/ |
H A D | exceptions.hpp | 66 /// Denotes that a deadline was exceeded.
|
/freebsd-src/sys/contrib/dev/athk/ |
H A D | dfs_pri_detector.h | 33 * @deadline_ts: deadline when this sequence becomes invalid (first_ts + dur)
|
/freebsd-src/contrib/jemalloc/src/ |
H A D | arena.c | 531 * Generate a new deadline that is uniformly random within the next in arena_decay_deadline_init() 534 nstime_copy(&decay->deadline, &decay->epoch); in arena_decay_deadline_init() 535 nstime_add(&decay->deadline, &decay->interval); in arena_decay_deadline_init() 541 nstime_add(&decay->deadline, &jitter); in arena_decay_deadline_init() 547 return (nstime_compare(&decay->deadline, time) <= 0); in arena_decay_deadline_reached() 638 /* Set a new deadline. */ in arena_decay_epoch_advance_helper() 736 * generate a new deadline, with the expectation that time in arena_maybe_decay() 751 * If the deadline has been reached, advance to the current epoch and in arena_maybe_decay()
|
/freebsd-src/contrib/sendmail/contrib/ |
H A D | qtool.8 | 109 Deliver by flag and deadline for DELIVERBY ESMTP extension.
|
/freebsd-src/tools/tools/netrate/netsend/ |
H A D | netsend.c | 113 printf("warning: wait_time missed deadline without spinning\n"); in wait_time()
|
/freebsd-src/contrib/lib9p/pytest/ |
H A D | p9conn.py | 636 deadline = None 638 deadline = time.time() + self.timeout 651 if deadline and time.time() > deadline:
|
/freebsd-src/sys/contrib/device-tree/Bindings/connector/ |
H A D | usb-connector.yaml | 233 description: Allows PMIC charger loops which are slow(i.e. cannot meet the 15ms deadline) to
|
/freebsd-src/share/man/man9/ |
H A D | callout.9 | 353 and setting an absolute deadline instead of a relative timeout.
|
/freebsd-src/sys/dev/mfi/ |
H A D | mfi.c | 3692 time_t deadline; in mfi_dump_all() 3708 deadline = time_uptime - mfi_cmd_timeout; in mfi_dump_all() 3711 if (cm->cm_timestamp <= deadline) { in mfi_dump_all() 3736 time_t deadline; in mfi_timeout() 3739 deadline = time_uptime - mfi_cmd_timeout; in mfi_timeout() local 3751 if (cm->cm_timestamp <= deadline) { in mfi_timeout() 3695 time_t deadline; mfi_dump_all() local
|
/freebsd-src/sys/contrib/xen/arch-x86/ |
H A D | cpufeatureset.h | 146 XEN_CPUFEATURE(TSC_DEADLINE, 1*32+24) /*S TSC Deadline Timer */
|