Lines Matching defs:timeout
615 * @timeout: the pre-initialized and started timer, or NULL for none
623 struct hrtimer_sleeper *timeout,
636 * timeout. Ignored otherwise.
642 if (timeout && !timeout->task)
694 struct hrtimer_sleeper *timeout,
713 /* Setup the timer, when timeout != NULL */
714 if (unlikely(timeout)) {
715 hrtimer_start_expires(&timeout->timer, HRTIMER_MODE_ABS);
716 if (!hrtimer_active(&timeout->timer))
717 timeout->task = NULL;
720 ret = __rt_mutex_slowlock(lock, state, timeout, &waiter,
737 if (unlikely(timeout))
738 hrtimer_cancel(&timeout->timer);
814 struct hrtimer_sleeper *timeout,
826 struct hrtimer_sleeper *timeout, int detect_deadlock,
828 struct hrtimer_sleeper *timeout,
835 return slowfn(lock, state, timeout, detect_deadlock);
895 * the timeout structure is provided
899 * @timeout: timeout structure or NULL (no timeout)
905 * -ETIMEDOUT when the timeout expired
909 rt_mutex_timed_lock(struct rt_mutex *lock, struct hrtimer_sleeper *timeout,
914 return rt_mutex_timed_fastlock(lock, TASK_INTERRUPTIBLE, timeout,
1089 * @to: the timeout, null if none. hrtimer should already have