Home
last modified time | relevance | path

Searched refs:ttime (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/input/misc/
Dhp_sdc_rtc.c532 struct timeval ttime; in hp_sdc_rtc_ioctl()
553 if (hp_sdc_rtc_read_mt(&ttime)) return -EFAULT; in hp_sdc_rtc_ioctl()
556 wtime.tm_hour = ttime.tv_sec / 3600; ttime.tv_sec %= 3600; in hp_sdc_rtc_ioctl()
557 wtime.tm_min = ttime.tv_sec / 60; ttime.tv_sec %= 60; in hp_sdc_rtc_ioctl()
558 wtime.tm_sec = ttime.tv_sec; in hp_sdc_rtc_ioctl()
573 ttime.tv_sec = 0; in hp_sdc_rtc_ioctl()
574 ttime.tv_usec = 1000000 / arg; in hp_sdc_rtc_ioctl()
575 if (hp_sdc_rtc_set_ct(&ttime)) return -EFAULT; in hp_sdc_rtc_ioctl()
599 ttime.sec = alm_tm.tm_hour * 3600 + in hp_sdc_rtc_ioctl()
601 ttime.usec = 0; in hp_sdc_rtc_ioctl()
[all …]
/linux-4.4.14/block/
Dcfq-iosched.c94 struct cfq_ttime ttime; member
97 .ttime = {.last_end_request = jiffies,},}
299 struct cfq_ttime ttime; member
311 struct cfq_ttime ttime; member
796 struct cfq_ttime *ttime, bool group_idle) in cfq_io_thinktime_big() argument
799 if (!sample_valid(ttime->ttime_samples)) in cfq_io_thinktime_big()
805 return ttime->ttime_mean > slice; in cfq_io_thinktime_big()
1521 cfqg->ttime.last_end_request = jiffies; in cfq_init_cfqg_base()
2891 !cfq_io_thinktime_big(cfqd, &st->ttime, false)) in cfq_should_idle()
2943 if (sample_valid(cic->ttime.ttime_samples) && in cfq_arm_slice_timer()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_pool.c998 int ttime = ldlm_pool_recalc(&ns->ns_pool); in ldlm_pools_recalc() local
1000 if (ttime < time) in ldlm_pools_recalc()
1001 time = ttime; in ldlm_pools_recalc()