Lines Matching defs:deadline
922 * futex_wait(fw, deadline, clkid)
924 * fw must be a waiter on a futex's queue. Wait until deadline on
925 * the clock clkid, or forever if deadline is NULL, for a futex
931 futex_wait(struct futex_wait *fw, const struct timespec *deadline,
951 if (deadline) {
959 /* If we're past the deadline, ETIMEDOUT. */
960 if (timespeccmp(deadline, &ts, <=)) {
966 timespecsub(deadline, &ts, &ts);
1210 const struct timespec *deadline;
1224 /* Determine a deadline on the specified clock. */
1226 deadline = timeout;
1232 deadline = &ts;
1271 error = futex_wait(fw, deadline, clkid);