/kernel/ |
D | hung_task.c | 279 unsigned long interval = sysctl_hung_task_check_interval_secs; in watchdog() local 282 if (interval == 0) in watchdog() 283 interval = timeout; in watchdog() 284 interval = min_t(unsigned long, interval, timeout); in watchdog() 285 t = hung_timeout_jiffies(hung_last_checked, interval); in watchdog()
|
D | sysctl.c | 893 .data = &printk_ratelimit_state.interval,
|
/kernel/irq/ |
D | timings.c | 435 static __always_inline int irq_timings_interval_index(u64 interval) in irq_timings_interval_index() argument 441 u64 interval_us = (interval >> 10) / PREDICTION_FACTOR; in irq_timings_interval_index() 447 u64 interval) in __irq_timings_store() argument 454 index = irq_timings_interval_index(interval); in __irq_timings_store() 467 irqs->ema_time[index] = irq_timings_ema_new(interval, in __irq_timings_store() 476 u64 interval; in irq_timings_store() local 489 interval = ts - old_ts; in irq_timings_store() 502 if (interval >= NSEC_PER_SEC) { in irq_timings_store() 507 __irq_timings_store(irq, irqs, interval); in irq_timings_store()
|
/kernel/trace/ |
D | trace_hwlat.c | 319 u64 interval; in kthread_fn() local 330 interval = hwlat_data.sample_window - hwlat_data.sample_width; in kthread_fn() 333 do_div(interval, USEC_PER_MSEC); /* modifies interval value */ in kthread_fn() 336 if (interval < 1) in kthread_fn() 337 interval = 1; in kthread_fn() 339 if (msleep_interruptible(interval)) in kthread_fn()
|
D | Kconfig | 713 10 seconds. Each interval it will print out the number of events
|
/kernel/time/ |
D | alarmtimer.c | 450 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward() argument 460 if (unlikely(delta >= interval)) { in alarm_forward() 461 s64 incr = ktime_to_ns(interval); in alarm_forward() 477 alarm->node.expires = ktime_add_safe(alarm->node.expires, interval); in alarm_forward() 482 static u64 __alarm_forward_now(struct alarm *alarm, ktime_t interval, bool throttle) in __alarm_forward_now() argument 501 if (interval < kj) in __alarm_forward_now() 505 return alarm_forward(alarm, now, interval); in __alarm_forward_now() 508 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval) in alarm_forward_now() argument 510 return __alarm_forward_now(alarm, interval, false); in alarm_forward_now()
|
D | timekeeping.c | 291 u64 interval; in tk_setup_internals() local 314 interval = (u64) tmp; in tk_setup_internals() 315 tk->cycle_interval = interval; in tk_setup_internals() 318 tk->xtime_interval = interval * clock->mult; in tk_setup_internals() 320 tk->raw_interval = interval * clock->mult; in tk_setup_internals() 1827 s64 interval = tk->cycle_interval; in timekeeping_apply_adjustment() local 1832 interval = -interval; in timekeeping_apply_adjustment() 1835 interval *= mult_adj; in timekeeping_apply_adjustment() 1893 tk->xtime_interval += interval; in timekeeping_apply_adjustment() 2015 u64 interval = tk->cycle_interval << shift; in logarithmic_accumulation() local [all …]
|
D | itimer.c | 50 u64 val, interval; in get_cpu_itimer() local 56 interval = it->incr; in get_cpu_itimer() 73 value->it_interval = ns_to_timeval(interval); in get_cpu_itimer()
|
D | hrtimer.c | 936 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward() argument 949 if (interval < hrtimer_resolution) in hrtimer_forward() 950 interval = hrtimer_resolution; in hrtimer_forward() 952 if (unlikely(delta >= interval)) { in hrtimer_forward() 953 s64 incr = ktime_to_ns(interval); in hrtimer_forward() 965 hrtimer_add_expires(timer, interval); in hrtimer_forward()
|
/kernel/sched/ |
D | fair.c | 1873 unsigned long interval = HZ; in numa_migrate_preferred() local 1880 interval = min(interval, msecs_to_jiffies(p->numa_scan_period) / 16); in numa_migrate_preferred() 1881 p->numa_migrate_retry = jiffies + interval; in numa_migrate_preferred() 8090 unsigned long interval; in update_group_capacity() local 8092 interval = msecs_to_jiffies(sd->balance_interval); in update_group_capacity() 8093 interval = clamp(interval, 1UL, max_load_balance_interval); in update_group_capacity() 8094 sdg->sgc->next_update = jiffies + interval; in update_group_capacity() 9416 unsigned long interval = sd->balance_interval; in get_sd_balance_interval() local 9419 interval *= sd->busy_factor; in get_sd_balance_interval() 9422 interval = msecs_to_jiffies(interval); in get_sd_balance_interval() [all …]
|
D | core.c | 6011 struct __kernel_timespec __user *, interval) in SYSCALL_DEFINE2() 6017 retval = put_timespec64(&t, interval); in SYSCALL_DEFINE2() 6024 struct old_timespec32 __user *, interval) in SYSCALL_DEFINE2() 6030 retval = put_old_timespec32(&t, interval); in SYSCALL_DEFINE2()
|
/kernel/events/ |
D | core.c | 1095 u64 interval; in __perf_mux_hrtimer_init() local 1105 interval = pmu->hrtimer_interval_ms; in __perf_mux_hrtimer_init() 1106 if (interval < 1) in __perf_mux_hrtimer_init() 1107 interval = pmu->hrtimer_interval_ms = PERF_CPU_HRTIMER; in __perf_mux_hrtimer_init() 1109 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); in __perf_mux_hrtimer_init()
|