/titanic_50/usr/src/lib/libfakekernel/common/ |
H A D | clock.c | 30 int nsec_per_tick = 1000000; variable 47 return (hrt / nsec_per_tick); in ddi_get_lbolt() 56 return (hrt / nsec_per_tick); in ddi_get_lbolt64()
|
H A D | mapfile-vers | 134 nsec_per_tick;
|
/titanic_50/usr/src/cmd/sa/ |
H A D | timex.c | 45 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick) 47 nsec_per_tick/2) 51 static int nsec_per_tick; variable 80 nsec_per_tick = NANOSEC / hz; in main()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | clock_impl.h | 98 ((gethrtime_waitfree()/nsec_per_tick) - \ 126 ((gethrtime()/nsec_per_tick) - lb_info->lbi_debug_time) : \
|
H A D | time.h | 270 extern int nsec_per_tick; /* nanoseconds per clock tick */ 293 #define TICK_TO_NSEC(tick) ((hrtime_t)(tick) * nsec_per_tick) 294 #define NSEC_TO_TICK(nsec) ((nsec) / nsec_per_tick)
|
/titanic_50/usr/src/uts/common/os/ |
H A D | clock_realtime.c | 66 ts->tv_nsec = nsec_per_tick; in clock_realtime_getres() 122 interval2nth.tv_nsec < nsec_per_tick) in clock_realtime_fire() 123 interval2nth.tv_nsec = nsec_per_tick; in clock_realtime_fire()
|
H A D | clock.c | 962 clk_when.cyt_interval = nsec_per_tick; in clock_init() 973 lbolt_when.cyt_interval = nsec_per_tick; in clock_init() 1016 (gethrtime()/nsec_per_tick); in clock_init() 2450 lb_info->lbi_internal = (ts/nsec_per_tick); in lbolt_ev_to_cyclic() 2455 exp = ts + nsec_per_tick - 1; in lbolt_ev_to_cyclic() 2456 exp = (exp/nsec_per_tick) * nsec_per_tick; in lbolt_ev_to_cyclic() 2483 ASSERT(nsec_per_tick > 0); in lbolt_event_driven() 2484 lb = (ts/nsec_per_tick); in lbolt_event_driven() 2656 ASSERT(nsec_per_tick > 0); in lbolt_debug_return() 2659 lb_info->lbi_internal = (ts/nsec_per_tick); in lbolt_debug_return() [all …]
|
H A D | condvar.c | 237 return (cv_timedwait_hires(cvp, mp, hrtim, nsec_per_tick, 0)); in cv_timedwait() 481 return (cv_timedwait_sig_hires(cvp, mp, hrtim, nsec_per_tick, 0)); in cv_timedwait_sig() 795 if (interval < nsec_per_tick) in cv_waituntil_sig() 796 interval = nsec_per_tick; in cv_waituntil_sig()
|
H A D | callout.c | 1207 TICK_TO_NSEC(delta), nsec_per_tick, CALLOUT_LEGACY); in timeout() 1230 nsec_per_tick, 0); in timeout_default() 1249 TICK_TO_NSEC(delta), nsec_per_tick, CALLOUT_LEGACY); in realtime_timeout() 1272 nsec_per_tick, 0); in realtime_timeout_default()
|
H A D | kstat_fr.c | 165 kstat_named_t nsec_per_tick; member 861 system_misc_kstat.nsec_per_tick.value.ui32 = (uint32_t) in system_misc_kstat_update() 862 nsec_per_tick; in system_misc_kstat_update()
|
H A D | timers.c | 908 nsec = tv->tv_nsec - now.tv_nsec + nsec_per_tick - 1; in timespectohz() 948 nsec = tv->tv_nsec + nsec_per_tick - 1; in timespectohz64()
|
/titanic_50/usr/src/uts/common/conf/ |
H A D | param.c | 175 int nsec_per_tick; variable 677 nsec_per_tick = NANOSEC / hz; in param_init() 678 max_hres_adj = nsec_per_tick >> ADJ_SHIFT; in param_init() 692 time_res[TR_CLOCK_TICK] = nsec_per_tick; in param_init()
|
/titanic_50/usr/src/uts/common/syscall/ |
H A D | lwp_timer.c | 74 lwp_timer_timeout, lwptp, ts2hrt(&delta), nsec_per_tick, in lwp_timer_timeout() 164 lwp_timer_timeout, lwptp, ts2hrt(&delta), nsec_per_tick, in lwp_timer_enqueue()
|
H A D | poll.c | 350 deadline = MAX(deadline, nsec_per_tick); in poll_common()
|
/titanic_50/usr/src/uts/sun4/io/ |
H A D | cbe.c | 312 when.cyt_interval = nsec_per_tick; in cbe_init()
|
/titanic_50/usr/src/uts/i86pc/io/ |
H A D | cbe.c | 372 when.cyt_interval = nsec_per_tick; in cbe_init()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | genunix.c | 706 int nsec_per_tick; /* for conversions */ member 1266 if (mdb_readvar(&(coargs->nsec_per_tick), "nsec_per_tick") == -1) { in callout_common_init() 1333 coargs.time *= coargs.nsec_per_tick; in callout() 1334 coargs.atime *= coargs.nsec_per_tick; in callout() 1335 coargs.btime *= coargs.nsec_per_tick; in callout() 1507 #define nsec_per_tick coargs.nsec_per_tick in calloutid() macro 1512 #undef nsec_per_tick in calloutid()
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | mp_machdep.c | 1476 return (nsec_per_tick); in mach_clkinit()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | devpoll.c | 1107 deadline = MAX(deadline, nsec_per_tick); in dpioctl()
|