Home
last modified time | relevance | path

Searched refs:duration_ns (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/cpuidle/governors/
Dteo.c264 s64 duration_ns) in teo_find_shallower_state() argument
273 if (drv->states[i].target_residency_ns <= duration_ns) in teo_find_shallower_state()
300 s64 duration_ns; in teo_select() local
310 duration_ns = tick_nohz_get_sleep_length(&delta_tick); in teo_select()
311 cpu_data->sleep_length_ns = duration_ns; in teo_select()
320 if (drv->states[1].target_residency_ns > duration_ns) in teo_select()
351 if (s->target_residency_ns > duration_ns) in teo_select()
385 s64 first_suitable_span_ns = duration_ns; in teo_select()
415 duration_ns = span_ns; in teo_select()
423 duration_ns = first_suitable_span_ns; in teo_select()
[all …]
Dmenu.c120 static inline int which_bucket(u64 duration_ns, unsigned int nr_iowaiters) in which_bucket() argument
133 if (duration_ns < 10ULL * NSEC_PER_USEC) in which_bucket()
135 if (duration_ns < 100ULL * NSEC_PER_USEC) in which_bucket()
137 if (duration_ns < 1000ULL * NSEC_PER_USEC) in which_bucket()
139 if (duration_ns < 10000ULL * NSEC_PER_USEC) in which_bucket()
141 if (duration_ns < 100000ULL * NSEC_PER_USEC) in which_bucket()
/linux-6.1.9/drivers/md/
Ddm-stats.h21 unsigned long long duration_ns; member
45 aux->duration_ns = ktime_to_ns(ktime_get()); in dm_stats_record_start()
Ddm-stats.c590 p->ticks[idx] += stats_aux->duration_ns; in dm_stat_for_entry()
591 duration = stats_aux->duration_ns; in dm_stat_for_entry()
692 stats_aux->duration_ns = ktime_to_ns(ktime_get()) - stats_aux->duration_ns; in dm_stats_account_io()
/linux-6.1.9/kernel/sched/
Didle.c358 void play_idle_precise(u64 duration_ns, u64 latency_ns) in play_idle_precise() argument
370 WARN_ON_ONCE(!duration_ns); in play_idle_precise()
381 hrtimer_start(&it.timer, ns_to_ktime(duration_ns), in play_idle_precise()
/linux-6.1.9/drivers/gpu/drm/
Ddrm_vblank.c704 int delta_ns, duration_ns; in drm_crtc_vblank_helper_get_vblank_timestamp_internal() local
758 duration_ns = ktime_to_ns(etime) - ktime_to_ns(stime); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
761 if (duration_ns <= *max_error) in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
769 pipe, duration_ns / 1000, *max_error / 1000, i); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
773 *max_error = duration_ns; in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
798 duration_ns / 1000, i); in drm_crtc_vblank_helper_get_vblank_timestamp_internal()
/linux-6.1.9/include/linux/
Dcpu.h193 void play_idle_precise(u64 duration_ns, u64 latency_ns);