Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Djiffies.h61 #define TICK_NSEC ((NSEC_PER_SEC+HZ/2)/HZ) macro
257 #if !((((NSEC_PER_SEC << 2) / TICK_NSEC) << (SEC_JIFFIE_SC - 2)) & 0x80000000)
263 TICK_NSEC -1) / (u64)TICK_NSEC))
266 TICK_NSEC -1) / (u64)TICK_NSEC))
274 (long)((u64)((u64)MAX_JIFFY_OFFSET * TICK_NSEC) / NSEC_PER_SEC)
277 (SH_DIV((MAX_JIFFY_OFFSET >> SEC_JIFFIE_SC) * TICK_NSEC, NSEC_PER_SEC, 1) - 1)
Dacct.h72 #if (TICK_NSEC % (NSEC_PER_SEC / AHZ)) == 0 in jiffies_to_AHZ()
79 u64 tmp = (u64)x * TICK_NSEC; in jiffies_to_AHZ()
Dktime.h280 #define LOW_RES_NSEC TICK_NSEC
/linux-4.4.14/kernel/time/
Dtime.c549 nsec = nsec + TICK_NSEC - 1; in __timespec64_to_jiffies()
582 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timespec64()
620 value->tv_sec = div_u64_rem((u64)jiffies * TICK_NSEC, in jiffies_to_timeval()
631 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_to_clock_t()
638 return div_u64((u64)x * TICK_NSEC, NSEC_PER_SEC / USER_HZ); in jiffies_to_clock_t()
662 #if (TICK_NSEC % (NSEC_PER_SEC / USER_HZ)) == 0 in jiffies_64_to_clock_t()
676 x = div_u64(x * TICK_NSEC, (NSEC_PER_SEC / USER_HZ)); in jiffies_64_to_clock_t()
Dtick-sched.c589 next_tick = basemono + TICK_NSEC; in tick_nohz_stop_sched_tick()
609 if (delta <= (u64)TICK_NSEC) { in tick_nohz_stop_sched_tick()
Dtimer.c1369 return DIV_ROUND_UP_ULL(nextevt, TICK_NSEC) * TICK_NSEC; in cmp_next_hrtimer_event()
1401 expires = basem + (nextevt - basej) * TICK_NSEC; in get_next_timer_interrupt()
Dntp.c548 next.tv_nsec = (NSEC_PER_SEC / 2) - now.tv_nsec - (TICK_NSEC / 2); in sync_cmos_clock()
/linux-4.4.14/drivers/oprofile/
Dtimer_int.c29 hrtimer_forward_now(hrtimer, ns_to_ktime(TICK_NSEC)); in oprofile_hrtimer_notify()
43 hrtimer_start(hrtimer, ns_to_ktime(TICK_NSEC), in __oprofile_hrtimer_start()
/linux-4.4.14/fs/proc/
Duptime.c24 nsec = cputime64_to_jiffies64(idletime) * TICK_NSEC; in uptime_proc_show()
/linux-4.4.14/arch/mips/kernel/
Dbinfmt_elfn32.c105 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_compat_timeval()
Dbinfmt_elfo32.c126 u64 nsec = (u64)jiffies * TICK_NSEC; in jiffies_to_compat_timeval()
/linux-4.4.14/arch/powerpc/oprofile/cell/
Dspu_profiler.c206 pr_debug("timer resolution: %lu\n", TICK_NSEC); in start_spu_profiling_cycles()
/linux-4.4.14/kernel/sched/
Dclock.c216 max_clock = wrap_max(old_clock, scd->tick_gtod + TICK_NSEC); in sched_clock_local()
Dfair.c2202 p->node_stamp += 2 * TICK_NSEC; in task_numa_work()
3463 cfs_rq->runtime_expires += TICK_NSEC; in expire_cfs_rq_runtime()
/linux-4.4.14/arch/x86/kernel/apic/
Dapic.c697 TICK_NSEC, lapic_clockevent.shift); in calibrate_APIC_clock()
743 lapic_clockevent.mult = div_sc(delta, TICK_NSEC * LAPIC_CAL_LOOPS, in calibrate_APIC_clock()
/linux-4.4.14/drivers/char/ipmi/
Dipmi_ssif.c90 #define SSIF_MSG_JIFFIES ((SSIF_MSG_USEC * 1000) / TICK_NSEC)
91 #define SSIF_MSG_PART_JIFFIES ((SSIF_MSG_PART_USEC * 1000) / TICK_NSEC)
/linux-4.4.14/kernel/rcu/
Dtree_plugin.h1504 *nextevt = basemono + dj * TICK_NSEC; in rcu_needs_cpu()
/linux-4.4.14/kernel/events/
Dcore.c2999 u64 now, period = TICK_NSEC; in perf_adjust_freq_unthr_context()
6434 if (delta > 0 && delta < 2*TICK_NSEC) in __perf_event_overflow()
/linux-4.4.14/drivers/scsi/
Dscsi_debug.c4220 dix_reads, dix_writes, dif_errors, TICK_NSEC / 1000); in scsi_debug_show_info()