Searched refs:NSEC_TO_TICK (Results 1 – 14 of 14) sorted by relevance
54 p_time.tms_utime = (clock_t)NSEC_TO_TICK( in times()56 p_time.tms_stime = (clock_t)NSEC_TO_TICK( in times()84 p_time.tms_utime = (clock32_t)NSEC_TO_TICK( in times32()86 p_time.tms_stime = (clock32_t)NSEC_TO_TICK( in times32()
294 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick) macro296 ((nsec) == 0 ? 0 : NSEC_TO_TICK((nsec) - 1) + 1)328 (SEC_TO_TICK((tsp)->tv_sec) + NSEC_TO_TICK((tsp)->tv_nsec))
435 #define CALLOUT_MAX_TICKS NSEC_TO_TICK(CY_INFINITY);
45 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick) macro46 #define NSEC_TO_TICK_ROUNDUP(nsec) NSEC_TO_TICK((nsec) + \
409 ag->acctbuf.ac_utime = acct_compress(NSEC_TO_TICK(p->p_acct[LMS_USER])); in acct()411 NSEC_TO_TICK(p->p_acct[LMS_SYSTEM] + p->p_acct[LMS_TRAP])); in acct()
3210 NSEC_TO_TICK(csskd->cpu_nsec_idle.value.ui64); in cpu_sys_stats_ks_update()3212 NSEC_TO_TICK(csskd->cpu_nsec_user.value.ui64); in cpu_sys_stats_ks_update()3214 NSEC_TO_TICK(csskd->cpu_nsec_kernel.value.ui64); in cpu_sys_stats_ks_update()3344 msnsecs[CMS_IDLE] = NSEC_TO_TICK(msnsecs[CMS_IDLE]); in cpu_stat_ks_update()3345 msnsecs[CMS_USER] = NSEC_TO_TICK(msnsecs[CMS_USER]); in cpu_stat_ks_update()3346 msnsecs[CMS_SYSTEM] = NSEC_TO_TICK(msnsecs[CMS_SYSTEM]); in cpu_stat_ks_update()
918 ticks = NSEC_TO_TICK(nsec); in timespectohz()958 ticks = NSEC_TO_TICK(nsec); in timespectohz64()
735 p->p_utime = (clock_t)NSEC_TO_TICK(hrutime) + p->p_cutime; in proc_exit()736 p->p_stime = (clock_t)NSEC_TO_TICK(hrstime) + p->p_cstime; in proc_exit()
843 zone_lbolt = (clock_t)(NSEC_TO_TICK(zone_hrtime) - in system_misc_kstat_update()844 NSEC_TO_TICK(curproc->p_zone->zone_zsched->p_mstart)); in system_misc_kstat_update()
1423 tleft = NSEC_TO_TICK(hleft); in untimeout()1444 tleft = NSEC_TO_TICK(hleft); in untimeout_default()
978 msnsecs[state] = NSEC_TO_TICK(msnsecs[state]); \ in cpudrv_monitor()1061 cpupm->lastquan_ticks = NSEC_TO_TICK(gethrtime()); in cpudrv_monitor()1076 ticks = NSEC_TO_TICK(gethrtime()); in cpudrv_monitor()
569 softsp, NSEC_TO_TICK(power_button_abort_interval) + in power_soft_intr()
511 #define NSEC_TO_TICK(usec) ((usec) / (NANOSEC / hz)) macro
700 softsp, NSEC_TO_TICK(power_button_abort_interval) + in ds1287_softintr()