Home
last modified time | relevance | path

Searched refs:TICK_NSEC (Results 1 – 15 of 15) 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-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 Djiffies.c37 .mult = TICK_NSEC << JIFFIES_SHIFT, /* details above */
H A Dtick-broadcast.c428 ktime_t next = ktime_add_ns(dev->next_event, TICK_NSEC); in tick_handle_periodic_broadcast()
H A Dposix-cpu-timers.c1520 *oldval = TICK_NSEC; in set_process_cpu_timer()
/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/kernel/sched/ext/
H A Dsub.c283 delta_exec = min_t(s64, delta_exec, scx_rescue_quantum_ns + TICK_NSEC); in scx_rescue_charge()
384 s64 min_slice = max_t(s64, SCX_RESCUE_MIN_SLICE_US * NSEC_PER_USEC, TICK_NSEC); in scx_rescue_next_slice()
645 scx_rescue_quantum_ns = max(quantum_us * NSEC_PER_USEC, TICK_NSEC); in scx_rescue_set_knobs()
647 div_s64((4 * scx_rescue_quantum_ns + TICK_NSEC) << SCHED_CAPACITY_SHIFT, in scx_rescue_set_knobs()
/linux/drivers/cpuidle/
H A Dcpuidle.c422 #define CPUIDLE_POLL_MAX (TICK_NSEC / 16)
/linux/kernel/sched/
H A Dcpufreq_schedutil.c268 if (delta_ns <= TICK_NSEC) in sugov_iowait_reset()
H A Dfair.c573 * (slice + TICK_NSEC) << NICE_0_LOAD_SHIFT
855 * Limit this to either double the slice length with a minimum of TICK_NSEC
864 u64 max_slice = cfs_rq_max_slice(cfs_rq) + TICK_NSEC; in entity_lag()
4191 p->node_stamp += 2 * TICK_NSEC; in task_numa_work()
4428 delay += 2 * TICK_NSEC; in task_tick_numa()
/linux/drivers/cpufreq/
H A Dintel_pstate.c2417 if (time_before64(time, cpu->last_io_update + 2 * TICK_NSEC)) in intel_pstate_update_util_hwp_local()
2589 if (delta_ns > TICK_NSEC) { in intel_pstate_update_util()
2600 if (delta_ns > TICK_NSEC) in intel_pstate_update_util()
/linux/kernel/events/
H A Dcore.c674 max = (TICK_NSEC / 100) * sysctl_perf_cpu_time_max_percent; in perf_sample_event_took()
4449 u64 now, period = TICK_NSEC; in perf_adjust_freq_unthr_events()
10659 if (delta > 0 && delta < 2*TICK_NSEC) in __perf_event_account_interrupt()
/linux/drivers/scsi/
H A Dscsi_debug.c7536 seq_printf(m, "usec_in_jiffy=%lu, statistics=%d\n", TICK_NSEC / 1000, in scsi_debug_show_info()