/kernel/rcu/ |
D | tree_stall.h | 92 unsigned long j = jiffies; in rcu_gp_might_be_stalled() 172 unsigned long j = jiffies; in record_gp_stall_check_time() 189 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in zero_cpu_stall_ticks() 203 if (time_after(jiffies, j) && rcu_state.gp_kthread && in rcu_stall_kick_kthreads() 409 unsigned long j = jiffies - READ_ONCE(rcu_state.gp_activity); in rcu_is_gp_kthread_starving() 430 j = jiffies - READ_ONCE(rdp->rcuc_activity); in rcu_is_rcuc_kthread_starving() 544 time_after(jiffies, jiffies_fqs + RCU_STALL_MIGHT_MIN) && in rcu_check_gp_kthread_expired_fqs_timer() 548 rcu_state.name, (jiffies - jiffies_fqs), in rcu_check_gp_kthread_expired_fqs_timer() 598 smp_processor_id(), (long)(jiffies - gps), in print_other_cpu_stall() 610 j = jiffies; in print_other_cpu_stall() [all …]
|
D | tree.c | 890 (time_after(jiffies, rcu_state.gp_start + jtsq * 2) || in rcu_implicit_dynticks_qs() 891 time_after(jiffies, rcu_state.jiffies_resched) || in rcu_implicit_dynticks_qs() 896 } else if (time_after(jiffies, rcu_state.gp_start + jtsq)) { in rcu_implicit_dynticks_qs() 909 (time_after(jiffies, READ_ONCE(rdp->last_fqs_resched) + jtsq * 3) || in rcu_implicit_dynticks_qs() 913 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in rcu_implicit_dynticks_qs() 923 if (time_after(jiffies, rcu_state.jiffies_resched)) { in rcu_implicit_dynticks_qs() 924 if (time_after(jiffies, in rcu_implicit_dynticks_qs() 927 WRITE_ONCE(rdp->last_fqs_resched, jiffies); in rcu_implicit_dynticks_qs() 1019 WRITE_ONCE(rcu_state.gp_req_activity, jiffies); in rcu_start_this_gp() 1108 WRITE_ONCE(rcu_state.gp_wake_time, jiffies); in rcu_gp_kthread_wake() [all …]
|
D | rcutorture.c | 289 return shutdown_secs && time_after(jiffies, shutdown_jiffies - 30 * HZ); in shutdown_time_arrived() 1020 unsigned long end = jiffies; in rcu_torture_boost_failed() 1034 j = jiffies; in rcu_torture_boost_failed() 1055 *start = jiffies; in rcu_torture_boost_failed() 1083 while (time_before(jiffies, oldstarttime)) { in rcu_torture_boost() 1084 schedule_timeout_interruptible(oldstarttime - jiffies); in rcu_torture_boost() 1093 while (time_before(jiffies, endtime)) { in rcu_torture_boost() 1101 gp_state_time = jiffies; in rcu_torture_boost() 1130 jiffies + test_boost_interval * HZ); in rcu_torture_boost() 1167 fqs_resume_time = jiffies + fqs_stutter * HZ; in rcu_torture_fqs() [all …]
|
D | tasks.h | 207 rtp->gp_jiffies = jiffies; in set_tasks_gp_state() 304 j = jiffies; in call_rcu_tasks_generic() 531 rtp->gp_start = jiffies; in rcu_tasks_one_gp() 644 jiffies - data_race(rtp->gp_jiffies), in show_rcu_tasks_generic_gp_kthread() 699 lastreport = jiffies; in rcu_tasks_wait_gp() 726 needreport = rtst > 0 && time_after(jiffies, lastreport + rtst); in rcu_tasks_wait_gp() 728 lastreport = jiffies; in rcu_tasks_wait_gp() 737 j = jiffies; in rcu_tasks_wait_gp() 1464 time_after(jiffies + 1, rcu_tasks_trace.gp_start + rcu_task_ipi_delay)) { in trc_wait_for_one_reader() 1853 unsigned long j = jiffies; in rcu_tasks_initiate_self_tests() [all …]
|
D | tree_nocb.h | 302 mod_timer(&rdp_gp->nocb_timer, jiffies + jiffies_till_flush); in wake_nocb_gp_defer() 305 mod_timer(&rdp_gp->nocb_timer, jiffies + 2); in wake_nocb_gp_defer() 309 mod_timer(&rdp_gp->nocb_timer, jiffies + 1); in wake_nocb_gp_defer() 421 unsigned long j = jiffies; in rcu_nocb_try_bypass() 603 j = jiffies; in __call_rcu_nocb_wake() 684 unsigned long j = jiffies; in nocb_gp_wait() 1138 WARN_ON_ONCE(!rcu_nocb_flush_bypass(rdp, NULL, jiffies, false)); in rcu_nocb_rdp_deoffload() 1646 jiffies - rdp->nocb_bypass_first, in show_rcu_nocb_state() 1647 jiffies - rdp->nocb_nobypass_last, in show_rcu_nocb_state()
|
D | tree_plugin.h | 744 time_after(jiffies, rcu_state.gp_start + HZ)) in rcu_flavor_sched_clock_irq() 1015 WRITE_ONCE(rdp->rcuc_activity, jiffies); in rcu_cpu_kthread_setup() 1165 (!time_after(rnp->boost_time, jiffies) || rcu_state.cbovld || in rcu_initiate_boost() 1184 rnp->boost_time = jiffies + RCU_BOOST_DELAY_JIFFIES; in rcu_preempt_boost_start_gp() 1290 time_before(jiffies, READ_ONCE(rcu_state.gp_start) + HZ))) in rcu_nohz_full_cpu()
|
/kernel/sched/ |
D | loadavg.c | 222 if (!time_before(jiffies, READ_ONCE(calc_load_update))) in calc_load_write_idx() 271 if (time_before(jiffies, this_rq->calc_load_update)) in calc_load_nohz_stop() 279 if (time_before(jiffies, this_rq->calc_load_update + 10)) in calc_load_nohz_stop() 309 if (!time_before(jiffies, sample_window + 10)) { in calc_global_nohz() 313 delta = jiffies - sample_window - 10; in calc_global_nohz() 355 if (time_before(jiffies, sample_window + 10)) in calc_global_load() 389 if (time_before(jiffies, this_rq->calc_load_update)) in calc_global_load_tick()
|
D | wait_bit.c | 75 wq_entry.key.timeout = jiffies + timeout; in out_of_line_wait_on_bit_timeout() 219 unsigned long now = READ_ONCE(jiffies); in bit_wait_timeout() 233 unsigned long now = READ_ONCE(jiffies); in bit_wait_io_timeout()
|
D | autogroup.c | 249 if (!capable(CAP_SYS_ADMIN) && time_before(jiffies, next)) in proc_sched_autogroup_set_nice() 252 next = HZ / 10 + jiffies; in proc_sched_autogroup_set_nice()
|
D | fair.c | 1510 time = jiffies_to_msecs(jiffies); in numa_hint_fault_latency() 1527 now = jiffies_to_msecs(jiffies); in numa_promotion_rate_limit() 1548 now = jiffies_to_msecs(jiffies); in numa_promotion_adjust_threshold() 2308 p->numa_migrate_retry = jiffies + interval; in numa_migrate_preferred() 2382 p->mm->numa_next_scan = jiffies + in update_task_scan_period() 2902 if (time_after(jiffies, p->numa_migrate_retry)) { in task_numa_fault() 2937 unsigned long migrate, next_scan, now = jiffies; in task_numa_work() 3089 mm->numa_next_scan = jiffies + msecs_to_jiffies(sysctl_numa_balancing_scan_delay); in init_numa_balancing() 3156 if (!time_before(jiffies, curr->mm->numa_next_scan)) in task_tick_numa() 6291 rq->next_balance = jiffies; in dequeue_task_fair() [all …]
|
/kernel/ |
D | hung_task.c | 113 t->last_switch_time = jiffies; in check_hung_task() 135 t->comm, t->pid, (jiffies - t->last_switch_time) / HZ); in check_hung_task() 183 unsigned long last_break = jiffies; in check_hung_uninterruptible_tasks() 201 if (time_after(jiffies, last_break + HUNG_TASK_LOCK_BREAK)) { in check_hung_uninterruptible_tasks() 204 last_break = jiffies; in check_hung_uninterruptible_tasks() 238 return timeout ? last_checked - jiffies + timeout * HZ : in hung_timeout_jiffies() 368 unsigned long hung_last_checked = jiffies; in watchdog() 385 hung_last_checked = jiffies; in watchdog()
|
D | torture.c | 213 starttime = jiffies; in torture_offline() 235 delta = jiffies - starttime; in torture_offline() 273 starttime = jiffies; in torture_online() 293 delta = jiffies - starttime; in torture_online()
|
D | workqueue.c | 1177 pwq->pool->watchdog_ts = jiffies; in pwq_activate_inactive_work() 1520 pwq->pool->watchdog_ts = jiffies; in __queue_work() 1681 timer->expires = jiffies + delay; in __queue_delayed_work() 1814 worker->last_active = jiffies; in worker_enter_idle() 1820 mod_timer(&pool->idle_timer, jiffies + IDLE_WORKER_TIMEOUT); in worker_enter_idle() 2029 if (time_before(jiffies, expires)) { in idle_worker_timeout() 2085 mod_timer(&pool->mayday_timer, jiffies + MAYDAY_INTERVAL); in pool_mayday_timeout() 2114 mod_timer(&pool->mayday_timer, jiffies + MAYDAY_INITIAL_TIMEOUT); in maybe_create_worker() 2442 pool->watchdog_ts = jiffies; in worker_thread() 2546 pool->watchdog_ts = jiffies; in rescuer_thread() [all …]
|
/kernel/locking/ |
D | rwsem.c | 252 trace_android_vh_record_rwsem_lock_starttime(current, jiffies); in rwsem_read_trylock() 266 trace_android_vh_record_rwsem_lock_starttime(current, jiffies); in rwsem_write_trylock() 473 if (time_after(jiffies, waiter->timeout)) { in rwsem_mark_wake() 643 !time_after(jiffies, waiter->timeout))) in rwsem_try_write_lock() 1057 trace_android_vh_record_rwsem_lock_starttime(current, jiffies); in rwsem_down_read_slowpath() 1064 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_read_slowpath() 1082 current, jiffies); in rwsem_down_read_slowpath() 1129 trace_android_vh_record_rwsem_lock_starttime(current, jiffies); in rwsem_down_read_slowpath() 1154 trace_android_vh_record_rwsem_lock_starttime(current, jiffies); in rwsem_down_write_slowpath() 1164 waiter.timeout = jiffies + RWSEM_WAIT_TIMEOUT; in rwsem_down_write_slowpath() [all …]
|
D | test-ww_mutex.c | 79 unsigned long timeout = jiffies + TIMEOUT; in __test_mutex() 88 } while (time_before(jiffies, timeout)); in __test_mutex() 466 } while (!time_after(jiffies, stress->timeout)); in stress_inorder_work() 527 } while (!time_after(jiffies, stress->timeout)); in stress_reorder_work() 552 } while (!time_after(jiffies, stress->timeout)); in stress_one_work() 609 stress->timeout = jiffies + 2*HZ; in stress()
|
D | percpu-rwsem.c | 260 trace_android_vh_record_pcpu_rwsem_time_early(jiffies, sem); in percpu_down_write() 283 trace_android_vh_record_pcpu_rwsem_starttime(current, jiffies); in percpu_down_write()
|
D | mutex.c | 176 trace_android_vh_record_mutex_lock_starttime(current, jiffies); in __mutex_trylock_fast() 635 trace_android_vh_record_mutex_lock_starttime(current, jiffies); in __mutex_lock_common() 754 trace_android_vh_record_mutex_lock_starttime(current, jiffies); in __mutex_lock_common() 1117 trace_android_vh_record_mutex_lock_starttime(current, jiffies); in mutex_trylock()
|
D | rtmutex_api.c | 35 trace_android_vh_record_rtmutex_lock_starttime(current, jiffies); in __rt_mutex_lock_common() 129 trace_android_vh_record_rtmutex_lock_starttime(current, jiffies); in rt_mutex_trylock()
|
/kernel/irq/ |
D | spurious.c | 172 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in poll_spurious_irqs() 392 if (time_after(jiffies, desc->last_unhandled + HZ/10)) in note_interrupt() 396 desc->last_unhandled = jiffies; in note_interrupt() 429 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in note_interrupt()
|
/kernel/time/ |
D | timer.c | 391 unsigned long j0 = jiffies; in __round_jiffies_relative() 468 unsigned long j0 = jiffies; in __round_jiffies_up_relative() 953 unsigned long jnow = READ_ONCE(jiffies); in forward_timer_base() 1774 if (time_before(jiffies, base->next_expiry)) in __run_timers() 1780 while (time_after_eq(jiffies, base->clk) && in __run_timers() 1781 time_after_eq(jiffies, base->next_expiry)) { in __run_timers() 1823 if (time_before(jiffies, base->next_expiry)) { in run_local_timers() 1828 if (time_before(jiffies, base->next_expiry)) in run_local_timers() 1936 expire = timeout + jiffies; in schedule_timeout() 1947 timeout = expire - jiffies; in schedule_timeout() [all …]
|
D | jiffies.c | 18 return (u64) jiffies; in jiffies_read() 62 EXPORT_SYMBOL(jiffies);
|
D | tick-sched.c | 219 if (ts->last_tick_jiffies != jiffies) { in tick_sched_do_timer() 221 ts->last_tick_jiffies = READ_ONCE(jiffies); in tick_sched_do_timer() 226 ts->last_tick_jiffies = READ_ONCE(jiffies); in tick_sched_do_timer() 819 basejiff = jiffies; in tick_nohz_next_event() 1317 ticks = jiffies - ts->idle_jiffies; in tick_nohz_account_idle_time()
|
D | Makefile | 3 obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
|
/kernel/power/ |
D | process.c | 47 end_time = jiffies + msecs_to_jiffies(freeze_timeout_msecs); in try_to_freeze_tasks() 68 if (!todo || time_after(jiffies, end_time)) in try_to_freeze_tasks()
|
D | suspend_test.c | 33 suspend_test_start_time = jiffies; in suspend_test_start() 38 long nj = jiffies - suspend_test_start_time; in suspend_test_finish()
|