Lines Matching defs:deadline
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;
1234 /* Determine a deadline on the specified clock. */
1236 deadline = timeout;
1242 deadline = &ts;
1281 error = futex_wait(fw, deadline, clkid);