/kernel/sched/ |
D | completion.c | 72 long (*action)(long), long timeout, int state) in do_wait_for_common() argument 79 timeout = -ERESTARTSYS; in do_wait_for_common() 85 timeout = action(timeout); in do_wait_for_common() 87 } while (!x->done && timeout); in do_wait_for_common() 90 return timeout; in do_wait_for_common() 94 return timeout ?: 1; in do_wait_for_common() 99 long (*action)(long), long timeout, int state) in __wait_for_common() argument 106 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common() 111 return timeout; in __wait_for_common() 115 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() 221 if (time_after_eq(now, word->timeout)) in bit_wait_timeout() 223 schedule_timeout(word->timeout - now); in bit_wait_timeout() 235 if (time_after_eq(now, word->timeout)) in bit_wait_io_timeout() 237 io_schedule_timeout(word->timeout - now); in bit_wait_io_timeout()
|
D | wait.c | 440 __sched long wait_woken(struct wait_queue_entry *wq_entry, unsigned int mode, long timeout) in wait_woken() argument 450 timeout = schedule_timeout(timeout); in wait_woken() 461 return timeout; in wait_woken()
|
D | rt.c | 1420 rt_se->timeout = 0; in enqueue_task_rt() 2481 p->rt.timeout++; in watchdog() 2486 if (p->rt.timeout > next) { in watchdog()
|
D | core.c | 3331 p->rt.timeout = 0; in __sched_fork() 5212 p->rt.timeout = 0; in rt_mutex_setprio() 6563 long __sched io_schedule_timeout(long timeout) in io_schedule_timeout() argument 6569 ret = schedule_timeout(timeout); in io_schedule_timeout()
|
/kernel/ |
D | hung_task.c | 89 static void check_hung_task(struct task_struct *t, unsigned long timeout) in check_hung_task() argument 113 if (time_is_after_jiffies(t->last_switch_time + timeout * HZ)) in check_hung_task() 177 static void check_hung_uninterruptible_tasks(unsigned long timeout) in check_hung_uninterruptible_tasks() argument 201 trace_android_vh_check_uninterruptible_tasks(t, timeout, &need_check); in check_hung_uninterruptible_tasks() 205 check_hung_task(t, timeout); in check_hung_uninterruptible_tasks() 223 unsigned long timeout) in hung_timeout_jiffies() argument 226 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 289 unsigned long timeout = sysctl_hung_task_timeout_secs; in watchdog() local 294 interval = timeout; in watchdog() 295 interval = min_t(unsigned long, interval, timeout); in watchdog() [all …]
|
D | umh.c | 240 long usermodehelper_read_lock_wait(long timeout) in usermodehelper_read_lock_wait() argument 244 if (timeout < 0) in usermodehelper_read_lock_wait() 256 timeout = schedule_timeout(timeout); in usermodehelper_read_lock_wait() 257 if (!timeout) in usermodehelper_read_lock_wait() 263 return timeout; in usermodehelper_read_lock_wait()
|
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 | 441 static int audit_set_backlog_wait_time(u32 timeout) in audit_set_backlog_wait_time() argument 444 &audit_backlog_wait_time, timeout); in audit_set_backlog_wait_time()
|
D | signal.c | 3488 ktime_t *to = NULL, timeout = KTIME_MAX; in do_sigtimedwait() local 3496 timeout = timespec64_to_ktime(*ts); in do_sigtimedwait() 3497 to = &timeout; in do_sigtimedwait() 3508 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 | 1167 struct hrtimer_sleeper *timeout, in __rt_mutex_slowlock() argument 1186 if (timeout && !timeout->task) in __rt_mutex_slowlock() 1232 struct hrtimer_sleeper *timeout, in rt_mutex_slowlock() argument 1260 if (unlikely(timeout)) in rt_mutex_slowlock() 1261 hrtimer_start_expires(&timeout->timer, HRTIMER_MODE_ABS); in rt_mutex_slowlock() 1267 ret = __rt_mutex_slowlock(lock, state, timeout, &waiter); in rt_mutex_slowlock() 1284 if (unlikely(timeout)) in rt_mutex_slowlock() 1285 hrtimer_cancel(&timeout->timer); in rt_mutex_slowlock() 1409 struct hrtimer_sleeper *timeout, in rt_mutex_fastlock() argument 1420 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() 487 } while (!time_after(jiffies, stress->timeout)); in stress_reorder_work() 512 } while (!time_after(jiffies, stress->timeout)); in stress_one_work() 569 stress->timeout = jiffies + 2*HZ; in stress()
|
D | rwsem.c | 452 time_after(jiffies, waiter->timeout)) { in rwsem_mark_wake() 1052 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_read_slowpath() 1192 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_write_slowpath() 1291 time_after(jiffies, waiter.timeout))) { in rwsem_down_write_slowpath()
|
/kernel/time/ |
D | timer.c | 1808 struct process_timer *timeout = from_timer(timeout, t, timer); in process_timeout() local 1810 wake_up_process(timeout->task); in process_timeout() 1844 signed long __sched schedule_timeout(signed long timeout) in schedule_timeout() argument 1849 switch (timeout) in schedule_timeout() 1869 if (timeout < 0) { in schedule_timeout() 1871 "value %lx\n", timeout); in schedule_timeout() 1878 expire = timeout + jiffies; in schedule_timeout() 1889 timeout = expire - jiffies; in schedule_timeout() 1892 return timeout < 0 ? 0 : timeout; in schedule_timeout() 1900 signed long __sched schedule_timeout_interruptible(signed long timeout) in schedule_timeout_interruptible() argument [all …]
|
D | posix-cpu-timers.c | 855 unsigned long rttime = tsk->rt.timeout * (USEC_PER_SEC / HZ); in check_thread_timers()
|
/kernel/futex/ |
D | core.c | 402 futex_setup_timer(ktime_t *time, struct hrtimer_sleeper *timeout, in futex_setup_timer() argument 408 hrtimer_init_sleeper_on_stack(timeout, (flags & FLAGS_CLOCKRT) ? in futex_setup_timer() 415 hrtimer_set_expires_range_ns(&timeout->timer, *time, range_ns); in futex_setup_timer() 417 return timeout; in futex_setup_timer() 2599 struct hrtimer_sleeper *timeout) in futex_wait_queue_me() argument 2611 if (timeout) in futex_wait_queue_me() 2612 hrtimer_sleeper_start_expires(timeout, HRTIMER_MODE_ABS); in futex_wait_queue_me() 2624 if (!timeout || timeout->task) { in futex_wait_queue_me() 2707 struct hrtimer_sleeper timeout, *to; in futex_wait() local 2718 to = futex_setup_timer(abs_time, &timeout, flags, in futex_wait() [all …]
|
/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/kcsan/ |
D | report.c | 467 int timeout = max(kcsan_udelay_task, kcsan_udelay_interrupt); in set_other_info_task_blocking() local 487 if (timeout-- < 0) { in set_other_info_task_blocking()
|
/kernel/rcu/ |
D | Kconfig.debug | 84 int "RCU CPU stall timeout in seconds"
|
/kernel/printk/ |
D | printk.c | 1266 unsigned long timeout; in boot_delay_msec() local 1275 timeout = jiffies + msecs_to_jiffies(boot_delay); in boot_delay_msec() 1284 if (time_after(jiffies, timeout)) in boot_delay_msec()
|
/kernel/power/ |
D | Kconfig | 221 int "Watchdog timeout in seconds"
|