Home
last modified time | relevance | path

Searched refs:TICK_NSEC (Results 1 – 18 of 18) sorted by relevance

/linux/include/linux/
H A Djiffies.h406 #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000)
412 TICK_NSEC -1) / (u64)TICK_NSEC))
415 TICK_NSEC -1) / (u64)TICK_NSEC))
423 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC)
426 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
H A Dacct.h69 #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0 in jiffies_to_AHZ()
76 u64 tmp = (u64)x * TICK_NSEC; in jiffies_to_AHZ()
/linux/kernel/time/
H A Dtick-sched.c104 if (unlikely(delta >= TICK_NSEC)) { in tick_do_update_jiffies64()
106 s64 incr = TICK_NSEC; in tick_do_update_jiffies64()
114 TICK_NSEC); in tick_do_update_jiffies64()
121 nextp = ktime_add_ns(last_jiffies_update, TICK_NSEC); in tick_do_update_jiffies64()
170 div_u64_rem(tick_next_period, TICK_NSEC, &rem); in tick_init_jiffy_update()
172 tick_next_period += TICK_NSEC - rem; in tick_init_jiffy_update()
331 hrtimer_forward(timer, now, TICK_NSEC); in tick_nohz_handler()
872 if (likely(delta < TICK_NSEC)) in tick_forward_now()
873 return expires + TICK_NSEC; in tick_forward_now()
875 expires += TICK_NSEC * ktime_divns(delta, TICK_NSEC); in tick_forward_now()
[all …]
H A Dtime.c615 long nsec = value->tv_nsec + TICK_NSEC - 1; in timespec64_to_jiffies()
641 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timespec64()
659 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t()
666 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t()
702 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_64_to_clock_t()
716 x = div_u64(x * TICK_NSEC, (NSEC_PER_SEC / USER_HZ)); in jiffies_64_to_clock_t()
H A Dtick-common.c93 tick_next_period = ktime_add_ns(tick_next_period, TICK_NSEC); in tick_periodic()
131 next = ktime_add_ns(next, TICK_NSEC); in tick_handle_periodic()
177 next = ktime_add_ns(next, TICK_NSEC); in tick_setup_periodic()
H A Ditimer.c65 val = TICK_NSEC; in get_cpu_itimer()
203 nval += TICK_NSEC; in set_cpu_itimer()
H A Djiffies.c37 .mult = TICK_NSEC << JIFFIES_SHIFT, /* details above */
H A Dtick-broadcast.c420 ktime_t next = ktime_add_ns(dev->next_event, TICK_NSEC); in tick_handle_periodic_broadcast()
H A Dntp.c544 const unsigned long TIME_SET_NSEC_FUZZ = TICK_NSEC * 5; in rtc_tv_nsec_ok()
/linux/include/vdso/
H A Dktime.h13 #define LOW_RES_NSEC TICK_NSEC
H A Djiffies.h9 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) macro
/linux/drivers/cpufreq/
H A Dcpufreq_governor.c22 #define CPUFREQ_DBS_MIN_SAMPLING_INTERVAL (2 * TICK_NSEC / NSEC_PER_USEC)
H A Dintel_pstate.c2448 if (time_before64(time, cpu->last_io_update + 2 * TICK_NSEC)) in intel_pstate_update_util_hwp_local()
2620 if (delta_ns > TICK_NSEC) { in intel_pstate_update_util()
2631 if (delta_ns > TICK_NSEC) in intel_pstate_update_util()
/linux/drivers/cpuidle/
H A Dcpuidle.c422 #define CPUIDLE_POLL_MAX (TICK_NSEC / 16)
/linux/arch/x86/kernel/apic/
H A Dapic.c747 TICK_NSEC, lapic_clockevent.shift); in lapic_init_clockevent()
/linux/kernel/sched/
H A Dfair.c834 u64 max_slice = cfs_rq_max_slice(cfs_rq) + TICK_NSEC; in entity_lag()
3546 p->node_stamp += 2 * TICK_NSEC; in task_numa_work()
3783 delay += 2 * TICK_NSEC; in init_numa_balancing()
/linux/kernel/events/
H A Dcore.c673 max = (TICK_NSEC / 100) * sysctl_perf_cpu_time_max_percent; in perf_sample_event_took()
4441 u64 now, period = TICK_NSEC; in perf_adjust_freq_unthr_events()
10597 if (delta > 0 && delta < 2*TICK_NSEC) in __perf_event_account_interrupt()
/linux/drivers/scsi/
H A Dscsi_debug.c7587 seq_printf(m, "usec_in_jiffy=%lu, statistics=%d\n", TICK_NSEC / 1000, in scsi_debug_show_info()