Home
last modified time | relevance | path

Searched refs:jiffies (Results 1 – 25 of 25) sorted by relevance

/kernel/
Dsemaphore.c39 static noinline int __down_timeout(struct semaphore *sem, long jiffies);
155 int down_timeout(struct semaphore *sem, long jiffies) in down_timeout() argument
164 result = __down_timeout(sem, jiffies); in down_timeout()
251 static noinline int __sched __down_timeout(struct semaphore *sem, long jiffies) in __down_timeout() argument
253 return __down_common(sem, TASK_UNINTERRUPTIBLE, jiffies); in __down_timeout()
Drcuclassic.c171 rcp->gp_start = jiffies; in record_gp_stall_check_time()
172 rcp->jiffies_stall = jiffies + RCU_SECONDS_TILL_STALL_CHECK; in record_gp_stall_check_time()
184 delta = jiffies - rcp->jiffies_stall; in print_other_cpu_stall()
189 rcp->jiffies_stall = jiffies + RCU_SECONDS_TILL_STALL_RECHECK; in print_other_cpu_stall()
200 smp_processor_id(), (long)(jiffies - rcp->gp_start)); in print_other_cpu_stall()
208 smp_processor_id(), jiffies, in print_cpu_stall()
209 jiffies - rcp->gp_start); in print_cpu_stall()
212 if ((long)(jiffies - rcp->jiffies_stall) >= 0) in print_cpu_stall()
214 jiffies + RCU_SECONDS_TILL_STALL_RECHECK; in print_cpu_stall()
223 delta = jiffies - rcp->jiffies_stall; in check_cpu_stall()
Drcutree.c416 rsp->gp_start = jiffies; in record_gp_stall_check_time()
417 rsp->jiffies_stall = jiffies + RCU_SECONDS_TILL_STALL_CHECK; in record_gp_stall_check_time()
432 delta = jiffies - rsp->jiffies_stall; in print_other_cpu_stall()
437 rsp->jiffies_stall = jiffies + RCU_SECONDS_TILL_STALL_RECHECK; in print_other_cpu_stall()
451 smp_processor_id(), (long)(jiffies - rsp->gp_start)); in print_other_cpu_stall()
461 smp_processor_id(), jiffies - rsp->gp_start); in print_cpu_stall()
464 if ((long)(jiffies - rsp->jiffies_stall) >= 0) in print_cpu_stall()
466 jiffies + RCU_SECONDS_TILL_STALL_RECHECK; in print_cpu_stall()
476 delta = jiffies - rsp->jiffies_stall; in check_cpu_stall()
560 rsp->jiffies_force_qs = jiffies + RCU_JIFFIES_TILL_FORCE_QS; in rcu_start_gp()
[all …]
Dtime.c531 jiffies_to_timespec(const unsigned long jiffies, struct timespec *value) in jiffies_to_timespec() argument
538 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timespec()
572 void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) in jiffies_to_timeval() argument
580 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timeval()
673 EXPORT_SYMBOL(jiffies);
Dprintk.c218 timeout = jiffies + msecs_to_jiffies(boot_delay); in boot_delay_msec()
227 if (time_after(jiffies, timeout)) in boot_delay_msec()
555 if (time_after_eq(jiffies, oops_timestamp) && in zap_locks()
556 !time_after(jiffies, oops_timestamp + 30 * HZ)) in zap_locks()
559 oops_timestamp = jiffies; in zap_locks()
1350 if (*caller_jiffies == 0 || time_after(jiffies, *caller_jiffies)) { in printk_timed_ratelimit()
1351 *caller_jiffies = jiffies + msecs_to_jiffies(interval_msecs); in printk_timed_ratelimit()
Dtimer.c148 if (j <= jiffies) /* rounding ate our timeout entirely; */ in round_jiffies_common()
201 unsigned long j0 = jiffies; in __round_jiffies_relative()
278 unsigned long j0 = jiffies; in __round_jiffies_up_relative()
837 while (time_after_eq(jiffies, base->timer_jiffies)) { in __run_timers()
1090 if (time_after_eq(jiffies, base->timer_jiffies)) in run_timer_softirq()
1268 expire = timeout + jiffies; in schedule_timeout()
1278 timeout = expire - jiffies; in schedule_timeout()
1467 base->timer_jiffies = jiffies; in init_timers_cpu()
Drcutree_trace.c157 (long)(rsp->jiffies_force_qs - jiffies), in print_one_rcu_state()
158 (int)(jiffies & 0xffff), in print_one_rcu_state()
Daudit.c209 now = jiffies; in audit_rate_check()
244 now = jiffies; in audit_log_lost()
1159 unsigned long timeout_start = jiffies; in audit_log_start()
1176 && time_before(jiffies, timeout_start + audit_backlog_wait_time)) { in audit_log_start()
1185 schedule_timeout(timeout_start + audit_backlog_wait_time - jiffies); in audit_log_start()
Dsched_clock.c40 return (unsigned long long)jiffies * (NSEC_PER_SEC / HZ); in sched_clock()
Dacct.c165 acct->timer.expires = jiffies + ACCT_TIMEOUT*HZ; in check_free_space()
203 acct->timer.expires = jiffies + ACCT_TIMEOUT*HZ; in acct_file_reopen()
Dsched_stats.h19 seq_printf(seq, "timestamp %lu\n", jiffies); in show_schedstat()
Dsched_debug.c275 SEQ_printf(m, " .%-30s: %lu\n", "jiffies", jiffies); in print_cpu()
Dsched.c3775 unsigned long next_balance = jiffies + HZ; in idle_balance()
3798 if (pulled_task || time_after(jiffies, this_rq->next_balance)) { in idle_balance()
3952 unsigned long next_balance = jiffies + 60*HZ; in rebalance_domains()
3983 if (time_after_eq(jiffies, sd->last_balance + interval)) { in rebalance_domains()
3992 sd->last_balance = jiffies; in rebalance_domains()
4126 if (time_after_eq(jiffies, rq->next_balance)) in trigger_load_balance()
8510 rq->next_balance = jiffies; in sched_init()
8585 if (time_before(jiffies, prev_jiffy + HZ) && prev_jiffy) in __might_sleep()
8587 prev_jiffy = jiffies; in __might_sleep()
Dworkqueue.c248 timer->expires = jiffies + delay; in queue_delayed_work_on()
Drelay.c753 __mod_timer(&buf->timer, jiffies + 1); in relay_switch_subbuf()
Dcompat.c234 return compat_jiffies_to_clock_t(jiffies); in compat_sys_times()
/kernel/irq/
Dspurious.c128 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in poll_spurious_irqs()
224 if (time_after(jiffies, desc->last_unhandled + HZ/10)) in note_interrupt()
228 desc->last_unhandled = jiffies; in note_interrupt()
258 jiffies + POLL_SPURIOUS_IRQ_INTERVAL); in note_interrupt()
/kernel/power/
Dwakelock.c72 timeout = lock->expires - jiffies; in get_expired_time()
234 long timeout = lock->expires - jiffies; in print_active_locks()
253 long timeout = lock->expires - jiffies; in has_wake_lock_locked()
419 (long)(lock->expires - jiffies) <= 0) { in wake_lock_internal()
436 lock->expires = jiffies + timeout; in wake_lock_internal()
462 mod_timer(&expire_timer, jiffies + expire_in); in wake_lock_internal()
507 mod_timer(&expire_timer, jiffies + has_lock); in wake_unlock()
Dprocess.c44 end_time = jiffies + TIMEOUT; in try_to_freeze_tasks()
71 if (time_after(jiffies, end_time)) in try_to_freeze_tasks()
Dmain.c156 suspend_test_start_time = jiffies; in suspend_test_start()
161 long nj = jiffies - suspend_test_start_time; in suspend_test_finish()
/kernel/time/
Djiffies.c55 return (cycle_t) jiffies; in jiffies_read()
DMakefile1 obj-y += timekeeping.o ntp.o clocksource.o jiffies.o timer_list.o
Dclocksource.c175 watchdog_timer.expires = jiffies + WATCHDOG_INTERVAL; in clocksource_check_watchdog()
197 jiffies + WATCHDOG_INTERVAL; in clocksource_check_watchdog()
Dtick-sched.c266 last_jiffies = jiffies; in tick_nohz_stop_sched_tick()
452 ticks = jiffies - ts->idle_jiffies; in tick_nohz_restart_sched_tick()
Dtimer_list.c180 (unsigned long long)jiffies); in print_cpu()