Lines Matching full:it

72 clock_highres_timer_create(itimer_t *it, void (*fire)(itimer_t *))  in clock_highres_timer_create()  argument
74 it->it_arg = kmem_zalloc(sizeof (cyclic_id_t), KM_SLEEP); in clock_highres_timer_create()
75 it->it_fire = fire; in clock_highres_timer_create()
83 itimer_t *it = (itimer_t *)arg; in clock_highres_fire() local
84 hrtime_t *addr = &it->it_hrtime; in clock_highres_fire()
91 it->it_fire(it); in clock_highres_fire()
95 clock_highres_timer_settime(itimer_t *it, int flags, in clock_highres_timer_settime() argument
98 cyclic_id_t cyc, *cycp = it->it_arg; in clock_highres_timer_settime()
154 it->it_itime.it_interval.tv_sec == 0 && in clock_highres_timer_settime()
155 it->it_itime.it_interval.tv_nsec == 0 && in clock_highres_timer_settime()
162 it->it_itime = *when; in clock_highres_timer_settime()
167 hrt2ts(cyctime.cyt_when, &it->it_itime.it_value); in clock_highres_timer_settime()
207 * side of (a) is minimized when i is small, it is sufficient to show in clock_highres_timer_settime()
226 * removed (so it's not possible to run the machine out in clock_highres_timer_settime()
232 it->it_itime = *when; in clock_highres_timer_settime()
234 hrt2ts(cyctime.cyt_when, &it->it_itime.it_value); in clock_highres_timer_settime()
237 hdlr.cyh_arg = it; in clock_highres_timer_settime()
244 * Now that we have the cyclic created, we need to bind it to our in clock_highres_timer_settime()
262 clock_highres_timer_gettime(itimer_t *it, struct itimerspec *when) in clock_highres_timer_gettime() argument
267 hrtime_t start = ts2hrt(&it->it_itime.it_value); in clock_highres_timer_gettime()
268 hrtime_t interval = ts2hrt(&it->it_itime.it_interval); in clock_highres_timer_gettime()
270 hrtime_t *addr = &it->it_hrtime; in clock_highres_timer_gettime()
279 *when = it->it_itime; in clock_highres_timer_gettime()
329 clock_highres_timer_delete(itimer_t *it) in clock_highres_timer_delete() argument
333 if (it->it_arg == NULL) { in clock_highres_timer_delete()
343 if ((cyc = *((cyclic_id_t *)it->it_arg)) != CYCLIC_NONE) in clock_highres_timer_delete()
348 kmem_free(it->it_arg, sizeof (cyclic_id_t)); in clock_highres_timer_delete()
354 clock_highres_timer_lwpbind(itimer_t *it) in clock_highres_timer_lwpbind() argument
358 cyclic_id_t cyc = *((cyclic_id_t *)it->it_arg); in clock_highres_timer_lwpbind()