Lines Matching full:deadline
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
148 * `pred` returns non-zero, or, if `deadline` is provided and
149 * non-NULL, until the current time is after that deadline. Use a
150 * deadline with tv_sec = 0 for a non-blocking execution. Returns 0 if
155 * where `iteration_deadline` is a timespec of the deadline for this
302 * deadline is non-NULL, stops waiting once that deadline is
306 uint32_t expected, const struct timespec *deadline);
317 uint64_t expected, const struct timespec *deadline);
354 * until one second has elapsed. After that, the deadline goes
522 * Populates `new_deadline` with a deadline `timeout` in the future.
532 * old_value, or, if deadline is non-NULL, until CLOCK_MONOTONIC is
533 * past the deadline.
540 const struct timespec *deadline);
548 const struct timespec *deadline);
551 #define ck_ec_wait(EC, MODE, OLD_VALUE, DEADLINE) \ argument
555 (OLD_VALUE), (DEADLINE)))
562 * old_value, pred returns non-zero, or, if deadline is non-NULL,
563 * until CLOCK_MONOTONIC is past the deadline.
574 struct timespec *deadline),
576 const struct timespec *deadline);
585 struct timespec *deadline),
587 const struct timespec *deadline);
590 #define ck_ec_wait_pred(EC, MODE, OLD_VALUE, PRED, DATA, DEADLINE) \ argument
594 ((EC), (MODE), (OLD_VALUE), (PRED), (DATA), (DEADLINE)))
766 const struct timespec *deadline);
771 const struct timespec *deadline) in ck_ec32_wait() argument
777 return ck_ec32_wait_slow(ec, mode->ops, old_value, deadline); in ck_ec32_wait()
784 struct timespec *deadline),
786 const struct timespec *deadline);
793 struct timespec *deadline), in ck_ec32_wait_pred() argument
795 const struct timespec *deadline) in ck_ec32_wait_pred() argument
802 pred, data, deadline); in ck_ec32_wait_pred()
905 const struct timespec *deadline);
910 const struct timespec *deadline) in ck_ec64_wait() argument
916 return ck_ec64_wait_slow(ec, mode->ops, old_value, deadline); in ck_ec64_wait()
923 struct timespec *deadline),
925 const struct timespec *deadline);
933 struct timespec *deadline), in ck_ec64_wait_pred() argument
935 const struct timespec *deadline) in ck_ec64_wait_pred() argument
942 pred, data, deadline); in ck_ec64_wait_pred()