Home
last modified time | relevance | path

Searched refs:itv (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/
H A Dhrtimers.c179 struct itimerval itv; local
198 itv.it_value.tv_sec = cp->hrtc_int.hrt_secs;
199 itv.it_value.tv_usec = cp->hrtc_int.hrt_rem;
200 itv.it_interval.tv_sec = 0;
201 itv.it_interval.tv_usec = 0;
202 (void) xsetitimer(which, &itv, 1);
209 struct itimerval itv; local
226 itv.it_value.tv_sec = cp->hrtc_tod.hrt_secs;
227 itv.it_value.tv_usec = cp->hrtc_tod.hrt_rem;
228 itv.it_interval.tv_sec = cp->hrtc_int.hrt_secs;
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_getitimer.c37 pr_getitimer(struct ps_prochandle *Pr, int which, struct itimerval *itv) in pr_getitimer() argument
49 return (getitimer(which, itv)); in pr_getitimer()
67 adp->arg_object = itv; in pr_getitimer()
68 adp->arg_size = sizeof (*itv); in pr_getitimer()
71 adp->arg_object = itv; in pr_getitimer()
72 adp->arg_size = sizeof (*itv); in pr_getitimer()
83 ITIMERVAL32_TO_ITIMERVAL(itv, &itimerval32); in pr_getitimer()
94 int which, const struct itimerval *itv, struct itimerval *oitv) in pr_setitimer() argument
107 return (setitimer(which, (struct itimerval *)itv, oitv)); in pr_setitimer()
122 ITIMERVAL_TO_ITIMERVAL32(&itimerval32, itv); in pr_setitimer()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h221 #define ITIMERVAL32_TO_ITIMERVAL(itv, itv32) { \ argument
222 TIMEVAL32_TO_TIMEVAL(&(itv)->it_interval, &(itv32)->it_interval); \
223 TIMEVAL32_TO_TIMEVAL(&(itv)->it_value, &(itv32)->it_value); \
226 #define ITIMERVAL_TO_ITIMERVAL32(itv32, itv) { \ argument
227 TIMEVAL_TO_TIMEVAL32(&(itv32)->it_interval, &(itv)->it_interval); \
228 TIMEVAL_TO_TIMEVAL32(&(itv32)->it_value, &(itv)->it_value); \
231 #define ITIMERVAL_OVERFLOW(itv) \ argument
232 (TIMEVAL_OVERFLOW(&(itv)->it_interval) || \
233 TIMEVAL_OVERFLOW(&(itv)->it_value))
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c189 getitimer(uint_t which, struct itimerval *itv) in getitimer() argument
194 error = xgetitimer(which, itv, 0); in getitimer()
205 if (copyout(&itv32, itv, sizeof (itv32)) != 0) in getitimer()
215 xgetitimer(uint_t which, struct itimerval *itv, int iskaddr) in xgetitimer() argument
292 bcopy(&aitv, itv, sizeof (*itv)); in xgetitimer()
295 if (copyout(&aitv, itv, sizeof (*itv))) in xgetitimer()
304 setitimer(uint_t which, struct itimerval *itv, struct itimerval *oitv) in setitimer() argument
312 if (itv == NULL) in setitimer()
316 error = xsetitimer(which, itv, 0); in setitimer()
321 if (copyin(itv, &itv32, sizeof (itv32))) in setitimer()
[all …]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c622 struct timespec itv) in ctl_wrtimeout() argument
631 UNUSED(itv); in ctl_wrtimeout()
649 struct timespec itv) in ctl_rdtimeout() argument
658 UNUSED(itv); in ctl_rdtimeout()
H A Dctl_clnt.c600 timer(evContext ev, void *uap, struct timespec due, struct timespec itv) { in timer() argument
606 UNUSED(itv); in timer()