/kernel/sched/ |
D | completion.c | 70 long (*action)(long), long timeout, int state) in do_wait_for_common() argument 78 timeout = -ERESTARTSYS; in do_wait_for_common() 83 timeout = action(timeout); in do_wait_for_common() 85 } while (!x->done && timeout); in do_wait_for_common() 88 return timeout; in do_wait_for_common() 92 return timeout ?: 1; in do_wait_for_common() 97 long (*action)(long), long timeout, int state) in __wait_for_common() argument 104 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common() 109 return timeout; in __wait_for_common() 113 wait_for_common(struct completion *x, long timeout, int state) in wait_for_common() argument [all …]
|
D | wait_bit.c | 70 unsigned mode, unsigned long timeout) in out_of_line_wait_on_bit_timeout() argument 75 wq_entry.key.timeout = jiffies + timeout; in out_of_line_wait_on_bit_timeout() 220 if (time_after_eq(now, word->timeout)) in bit_wait_timeout() 222 schedule_timeout(word->timeout - now); in bit_wait_timeout() 234 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout() 236 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()
|
D | wait.c | 406 long wait_woken(struct wait_queue_entry *wq_entry, unsigned mode, long timeout) in wait_woken() argument 416 timeout = schedule_timeout(timeout); in wait_woken() 427 return timeout; in wait_woken()
|
D | rt.c | 1373 rt_se->timeout = 0; in enqueue_task_rt() 2345 p->rt.timeout++; in watchdog() 2350 if (p->rt.timeout > next) { in watchdog()
|
D | core.c | 2710 p->rt.timeout = 0; in __sched_fork() 4468 p->rt.timeout = 0; in rt_mutex_setprio() 5772 long __sched io_schedule_timeout(long timeout) in io_schedule_timeout() argument 5778 ret = schedule_timeout(timeout); in io_schedule_timeout()
|
/kernel/ |
D | hung_task.c | 88 static void check_hung_task(struct task_struct *t, unsigned long timeout) in check_hung_task() argument 112 if (time_is_after_jiffies(t->last_switch_time + timeout * HZ)) in check_hung_task() 173 static void check_hung_uninterruptible_tasks(unsigned long timeout) in check_hung_uninterruptible_tasks() argument 198 check_hung_task(t, timeout); in check_hung_uninterruptible_tasks() 211 unsigned long timeout) in hung_timeout_jiffies() argument 214 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 278 unsigned long timeout = sysctl_hung_task_timeout_secs; in watchdog() local 283 interval = timeout; in watchdog() 284 interval = min_t(unsigned long, interval, timeout); in watchdog() 289 check_hung_uninterruptible_tasks(timeout); in watchdog()
|
D | umh.c | 263 long usermodehelper_read_lock_wait(long timeout) in usermodehelper_read_lock_wait() argument 267 if (timeout < 0) in usermodehelper_read_lock_wait() 279 timeout = schedule_timeout(timeout); in usermodehelper_read_lock_wait() 280 if (!timeout) in usermodehelper_read_lock_wait() 286 return timeout; in usermodehelper_read_lock_wait()
|
D | futex.c | 490 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, in futex_setup_timer() argument 496 hrtimer_init_sleeper_on_stack(timeout, (flags & FLAGS_CLOCKRT) ? in futex_setup_timer() 503 hrtimer_set_expires_range_ns(&timeout->timer, *time, range_ns); in futex_setup_timer() 505 return timeout; in futex_setup_timer() 2678 struct hrtimer_sleeper *timeout) in futex_wait_queue_me() argument 2690 if (timeout) in futex_wait_queue_me() 2691 hrtimer_sleeper_start_expires(timeout, HRTIMER_MODE_ABS); in futex_wait_queue_me() 2703 if (!timeout || timeout->task) in futex_wait_queue_me() 2788 struct hrtimer_sleeper timeout, *to; in futex_wait() local 2798 to = futex_setup_timer(abs_time, &timeout, flags, in futex_wait() [all …]
|
D | jump_label.c | 282 unsigned long timeout) in __static_key_slow_dec_deferred() argument 289 schedule_delayed_work(work, timeout); in __static_key_slow_dec_deferred() 304 key->timeout = rl; in jump_label_rate_limit()
|
D | audit.c | 435 static int audit_set_backlog_wait_time(u32 timeout) in audit_set_backlog_wait_time() argument 438 &audit_backlog_wait_time, timeout); in audit_set_backlog_wait_time()
|
D | signal.c | 3435 ktime_t *to = NULL, timeout = KTIME_MAX; in do_sigtimedwait() local 3443 timeout = timespec64_to_ktime(*ts); in do_sigtimedwait() 3444 to = &timeout; in do_sigtimedwait() 3455 if (!sig && timeout) { in do_sigtimedwait()
|
/kernel/locking/ |
D | semaphore.c | 39 static noinline int __down_timeout(struct semaphore *sem, long timeout); 155 int down_timeout(struct semaphore *sem, long timeout) in down_timeout() argument 164 result = __down_timeout(sem, timeout); in down_timeout() 205 long timeout) in __down_common() argument 216 if (unlikely(timeout <= 0)) in __down_common() 220 timeout = schedule_timeout(timeout); in __down_common() 250 static noinline int __sched __down_timeout(struct semaphore *sem, long timeout) in __down_timeout() argument 252 return __down_common(sem, TASK_UNINTERRUPTIBLE, timeout); in __down_timeout()
|
D | rtmutex.c | 1168 struct hrtimer_sleeper *timeout, in __rt_mutex_slowlock() argument 1186 if (timeout && !timeout->task) in __rt_mutex_slowlock() 1231 struct hrtimer_sleeper *timeout, in rt_mutex_slowlock() argument 1259 if (unlikely(timeout)) in rt_mutex_slowlock() 1260 hrtimer_start_expires(&timeout->timer, HRTIMER_MODE_ABS); in rt_mutex_slowlock() 1266 ret = __rt_mutex_slowlock(lock, state, timeout, &waiter); in rt_mutex_slowlock() 1283 if (unlikely(timeout)) in rt_mutex_slowlock() 1284 hrtimer_cancel(&timeout->timer); in rt_mutex_slowlock() 1408 struct hrtimer_sleeper *timeout, in rt_mutex_fastlock() argument 1419 struct hrtimer_sleeper *timeout, in rt_mutex_timed_fastlock() argument [all …]
|
D | test-ww_mutex.c | 70 unsigned long timeout = jiffies + TIMEOUT; in __test_mutex() local 79 } while (time_before(jiffies, timeout)); in __test_mutex() 345 unsigned long timeout; member 426 } while (!time_after(jiffies, stress->timeout)); in stress_inorder_work() 488 } while (!time_after(jiffies, stress->timeout)); in stress_reorder_work() 514 } while (!time_after(jiffies, stress->timeout)); in stress_one_work() 566 stress->timeout = jiffies + 2*HZ; in stress()
|
D | rwsem.c | 356 unsigned long timeout; member 456 time_after(jiffies, waiter->timeout)) { in rwsem_mark_wake() 1041 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_read_slowpath() 1168 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_write_slowpath() 1261 time_after(jiffies, waiter.timeout))) { in rwsem_down_write_slowpath()
|
/kernel/time/ |
D | timer.c | 1822 struct process_timer *timeout = from_timer(timeout, t, timer); in process_timeout() local 1824 wake_up_process(timeout->task); in process_timeout() 1856 signed long __sched schedule_timeout(signed long timeout) in schedule_timeout() argument 1861 switch (timeout) in schedule_timeout() 1881 if (timeout < 0) { in schedule_timeout() 1883 "value %lx\n", timeout); in schedule_timeout() 1890 expire = timeout + jiffies; in schedule_timeout() 1901 timeout = expire - jiffies; in schedule_timeout() 1904 return timeout < 0 ? 0 : timeout; in schedule_timeout() 1912 signed long __sched schedule_timeout_interruptible(signed long timeout) in schedule_timeout_interruptible() argument [all …]
|
D | posix-cpu-timers.c | 848 unsigned long rttime = tsk->rt.timeout * (USEC_PER_SEC / HZ); in check_thread_timers()
|
/kernel/trace/ |
D | ring_buffer_benchmark.c | 232 ktime_t start_time, end_time, timeout; in ring_buffer_producer() local 247 timeout = ktime_add_ns(start_time, RUN_TIME * NSEC_PER_SEC); in ring_buffer_producer() 283 } while (ktime_before(end_time, timeout) && !break_test()); in ring_buffer_producer()
|
/kernel/rcu/ |
D | Kconfig.debug | 61 int "RCU CPU stall timeout in seconds"
|
/kernel/printk/ |
D | printk.c | 1230 unsigned long timeout; in boot_delay_msec() local 1239 timeout = jiffies + msecs_to_jiffies(boot_delay); in boot_delay_msec() 1248 if (time_after(jiffies, timeout)) in boot_delay_msec()
|
/kernel/power/ |
D | Kconfig | 209 int "Watchdog timeout in seconds"
|