/kernel/ |
D | hung_task.c | 290 unsigned long interval = sysctl_hung_task_check_interval_secs; in watchdog() local 293 if (interval == 0) in watchdog() 294 interval = timeout; in watchdog() 295 interval = min_t(unsigned long, interval, timeout); in watchdog() 296 t = hung_timeout_jiffies(hung_last_checked, interval); in watchdog()
|
D | sysctl.c | 2310 .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 | 332 u64 interval; in kthread_fn() local 343 interval = hwlat_data.sample_window - hwlat_data.sample_width; in kthread_fn() 346 do_div(interval, USEC_PER_MSEC); /* modifies interval value */ in kthread_fn() 349 if (interval < 1) in kthread_fn() 350 interval = 1; in kthread_fn() 352 if (msleep_interruptible(interval)) in kthread_fn()
|
D | Kconfig | 736 10 seconds. Each interval it will print out the number of events
|
/kernel/time/ |
D | alarmtimer.c | 448 u64 alarm_forward(struct alarm *alarm, ktime_t now, ktime_t interval) in alarm_forward() argument 458 if (unlikely(delta >= interval)) { in alarm_forward() 459 s64 incr = ktime_to_ns(interval); in alarm_forward() 475 alarm->node.expires = ktime_add_safe(alarm->node.expires, interval); in alarm_forward() 480 static u64 __alarm_forward_now(struct alarm *alarm, ktime_t interval, bool throttle) in __alarm_forward_now() argument 499 if (interval < kj) in __alarm_forward_now() 503 return alarm_forward(alarm, now, interval); in __alarm_forward_now() 506 u64 alarm_forward_now(struct alarm *alarm, ktime_t interval) in alarm_forward_now() argument 508 return __alarm_forward_now(alarm, interval, false); in alarm_forward_now()
|
D | timekeeping.c | 311 u64 interval; in tk_setup_internals() local 334 interval = (u64) tmp; in tk_setup_internals() 335 tk->cycle_interval = interval; in tk_setup_internals() 338 tk->xtime_interval = interval * clock->mult; in tk_setup_internals() 340 tk->raw_interval = interval * clock->mult; in tk_setup_internals() 1901 s64 interval = tk->cycle_interval; in timekeeping_apply_adjustment() local 1906 interval = -interval; in timekeeping_apply_adjustment() 1909 interval *= mult_adj; in timekeeping_apply_adjustment() 1967 tk->xtime_interval += interval; in timekeeping_apply_adjustment() 2089 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_timespec64(interval); in get_cpu_itimer()
|
D | hrtimer.c | 935 u64 hrtimer_forward(struct hrtimer *timer, ktime_t now, ktime_t interval) in hrtimer_forward() argument 948 if (interval < hrtimer_resolution) in hrtimer_forward() 949 interval = hrtimer_resolution; in hrtimer_forward() 951 if (unlikely(delta >= interval)) { in hrtimer_forward() 952 s64 incr = ktime_to_ns(interval); in hrtimer_forward() 964 hrtimer_add_expires(timer, interval); in hrtimer_forward()
|
/kernel/sched/ |
D | fair.c | 2123 unsigned long interval = HZ; in numa_migrate_preferred() local 2130 interval = min(interval, msecs_to_jiffies(p->numa_scan_period) / 16); in numa_migrate_preferred() 2131 p->numa_migrate_retry = jiffies + interval; in numa_migrate_preferred() 8522 unsigned long interval; in update_group_capacity() local 8524 interval = msecs_to_jiffies(sd->balance_interval); in update_group_capacity() 8525 interval = clamp(interval, 1UL, max_load_balance_interval); in update_group_capacity() 8526 sdg->sgc->next_update = jiffies + interval; in update_group_capacity() 10213 unsigned long interval = sd->balance_interval; in get_sd_balance_interval() local 10216 interval *= sd->busy_factor; in get_sd_balance_interval() 10219 interval = msecs_to_jiffies(interval); in get_sd_balance_interval() [all …]
|
D | core.c | 6687 struct __kernel_timespec __user *, interval) in SYSCALL_DEFINE2() 6693 retval = put_timespec64(&t, interval); in SYSCALL_DEFINE2() 6700 struct old_timespec32 __user *, interval) in SYSCALL_DEFINE2() 6706 retval = put_old_timespec32(&t, interval); in SYSCALL_DEFINE2()
|
/kernel/events/ |
D | core.c | 1153 u64 interval; in __perf_mux_hrtimer_init() local 1163 interval = pmu->hrtimer_interval_ms; in __perf_mux_hrtimer_init() 1164 if (interval < 1) in __perf_mux_hrtimer_init() 1165 interval = pmu->hrtimer_interval_ms = PERF_CPU_HRTIMER; in __perf_mux_hrtimer_init() 1167 cpuctx->hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval); in __perf_mux_hrtimer_init()
|