Searched refs:timeout (Results 1 - 15 of 15) sorted by relevance

/kernel/sched/
H A Dcompletion.c62 long (*action)(long), long timeout, int state)
70 timeout = -ERESTARTSYS;
75 timeout = action(timeout);
77 } while (!x->done && timeout);
80 return timeout;
83 return timeout ?: 1;
88 long (*action)(long), long timeout, int state)
93 timeout = do_wait_for_common(x, action, timeout, stat
61 do_wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) argument
87 __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) argument
99 wait_for_common(struct completion *x, long timeout, int state) argument
105 wait_for_common_io(struct completion *x, long timeout, int state) argument
139 wait_for_completion_timeout(struct completion *x, unsigned long timeout) argument
172 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) argument
208 wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout) argument
246 wait_for_completion_killable_timeout(struct completion *x, unsigned long timeout) argument
[all...]
H A Dwait.c348 unsigned mode, unsigned long timeout)
353 wait.key.timeout = jiffies + timeout;
541 if (time_after_eq(now, word->timeout))
543 schedule_timeout(word->timeout - now);
553 if (time_after_eq(now, word->timeout))
555 io_schedule_timeout(word->timeout - now);
346 out_of_line_wait_on_bit_timeout( void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout) argument
H A Drt.c1243 rt_se->timeout = 0;
2038 p->rt.timeout++;
2043 if (p->rt.timeout > next)
H A Dcore.c4406 long __sched io_schedule_timeout(long timeout) argument
4415 ret = schedule_timeout(timeout);
4575 * reset the NMI-timeout, listing all files on a slow
/kernel/
H A Dhung_task.c36 * Zero means infinite timeout - no checking done:
75 static void check_hung_task(struct task_struct *t, unsigned long timeout) argument
112 t->comm, t->pid, timeout);
158 static void check_hung_uninterruptible_tasks(unsigned long timeout) argument
182 check_hung_task(t, timeout);
188 static unsigned long timeout_jiffies(unsigned long timeout) argument
190 /* timeout of 0 will disable the watchdog */
191 return timeout ? timeout * HZ : MAX_SCHEDULE_TIMEOUT;
195 * Process updating of timeout sysct
230 unsigned long timeout = sysctl_hung_task_timeout_secs; local
[all...]
H A Dkmod.c407 long usermodehelper_read_lock_wait(long timeout) argument
411 if (timeout < 0)
423 timeout = schedule_timeout(timeout);
424 if (!timeout)
430 return timeout;
H A Dfutex.c2021 * we returned due to timeout or signal without taking the
2048 * futex_wait_queue_me() - queue_me() and wait for wakeup, timeout, or signal
2051 * @timeout: the prepared hrtimer_sleeper, or null for no timeout
2054 struct hrtimer_sleeper *timeout)
2066 if (timeout) {
2067 hrtimer_start_expires(&timeout->timer, HRTIMER_MODE_ABS);
2068 if (!hrtimer_active(&timeout->timer))
2069 timeout->task = NULL;
2080 * is no timeout, o
2053 futex_wait_queue_me(struct futex_hash_bucket *hb, struct futex_q *q, struct hrtimer_sleeper *timeout) argument
2167 struct hrtimer_sleeper timeout, *to = NULL; local
2264 struct hrtimer_sleeper timeout, *to = NULL; local
2473 handle_early_requeue_pi_wakeup(struct futex_hash_bucket *hb, struct futex_q *q, union futex_key *key2, struct hrtimer_sleeper *timeout) argument
2549 struct hrtimer_sleeper timeout, *to = NULL; local
2915 do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, u32 __user *uaddr2, u32 val2, u32 val3) argument
[all...]
H A Djump_label.c115 __static_key_slow_dec(&key->key, key->timeout, &key->work);
123 key->timeout = rl;
H A Dsignal.c2792 long timeout = MAX_SCHEDULE_TIMEOUT; local
2799 timeout = timespec_to_jiffies(ts);
2805 timeout++;
2816 if (!sig && timeout) {
2828 timeout = freezable_schedule_timeout_interruptible(timeout);
2839 return timeout ? -EINTR : -EAGAIN;
H A Daudit.c338 static int audit_set_backlog_wait_time(u32 timeout) argument
341 &audit_backlog_wait_time, timeout);
586 because our timeout is set to infinite. */
/kernel/locking/
H A Dsemaphore.c39 static noinline int __down_timeout(struct semaphore *sem, long timeout);
148 * @timeout: how long to wait before failing
155 int down_timeout(struct semaphore *sem, long timeout) argument
164 result = __down_timeout(sem, timeout);
202 * 'timeout' parameter for the cases without timeouts.
205 long timeout)
217 if (unlikely(timeout <= 0))
221 timeout = schedule_timeout(timeout);
251 static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) argument
204 __down_common(struct semaphore *sem, long state, long timeout) argument
[all...]
H A Drtmutex.c767 * function due to a signal or timeout.
1092 * @timeout: the pre-initialized and started timer, or NULL for none
1099 struct hrtimer_sleeper *timeout,
1111 * timeout. Ignored otherwise.
1117 if (timeout && !timeout->task)
1161 struct hrtimer_sleeper *timeout,
1181 /* Setup the timer, when timeout != NULL */
1182 if (unlikely(timeout)) {
1183 hrtimer_start_expires(&timeout
1098 __rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, struct rt_mutex_waiter *waiter) argument
1160 rt_mutex_slowlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk) argument
1321 rt_mutex_fastlock(struct rt_mutex *lock, int state, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) argument
1334 rt_mutex_timed_fastlock(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk, int (*slowfn)(struct rt_mutex *lock, int state, struct hrtimer_sleeper *timeout, enum rtmutex_chainwalk chwalk)) argument
1403 rt_mutex_timed_futex_lock(struct rt_mutex *lock, struct hrtimer_sleeper *timeout) argument
1427 rt_mutex_timed_lock(struct rt_mutex *lock, struct hrtimer_sleeper *timeout) argument
[all...]
/kernel/time/
H A Dtimer.c164 * @cpu: the processor number on which the timeout will happen
190 * @cpu: the processor number on which the timeout will happen
261 * @cpu: the processor number on which the timeout will happen
277 * @cpu: the processor number on which the timeout will happen
383 /* If the timeout is larger than MAX_TVAL (on 64-bit
385 * use the maximum timeout.
811 * mod_timer_pending - modify a pending timer's timeout
813 * @expires: new timeout in jiffies
866 * mod_timer - modify a timer's timeout
868 * @expires: new timeout i
1460 schedule_timeout(signed long timeout) argument
1515 schedule_timeout_interruptible(signed long timeout) argument
1522 schedule_timeout_killable(signed long timeout) argument
1529 schedule_timeout_uninterruptible(signed long timeout) argument
1693 unsigned long timeout = msecs_to_jiffies(msecs) + 1; local
1707 unsigned long timeout = msecs_to_jiffies(msecs) + 1; local
[all...]
H A Dposix-cpu-timers.c861 tsk->rt.timeout > DIV_ROUND_UP(hard, USEC_PER_SEC/HZ)) {
869 if (tsk->rt.timeout > DIV_ROUND_UP(soft, USEC_PER_SEC/HZ)) {
/kernel/printk/
H A Dprintk.c974 unsigned long timeout; local
983 timeout = jiffies + msecs_to_jiffies(boot_delay);
992 if (time_after(jiffies, timeout))

Completed in 180 milliseconds