Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/i86pc/io/
H A Dhrtimers.c181 struct itimerval itv; local
200 itv.it_value.tv_sec = cp->hrtc_int.hrt_secs;
201 itv.it_value.tv_usec = cp->hrtc_int.hrt_rem;
202 itv.it_interval.tv_sec = 0;
203 itv.it_interval.tv_usec = 0;
204 (void) xsetitimer(which, &itv, 1);
211 struct itimerval itv; local
228 itv.it_value.tv_sec = cp->hrtc_tod.hrt_secs;
229 itv.it_value.tv_usec = cp->hrtc_tod.hrt_rem;
230 itv.it_interval.tv_sec = cp->hrtc_int.hrt_secs;
[all …]
/titanic_50/usr/src/lib/libproc/common/
H A Dpr_getitimer.c39 pr_getitimer(struct ps_prochandle *Pr, int which, struct itimerval *itv) in pr_getitimer() argument
51 return (getitimer(which, itv)); in pr_getitimer()
69 adp->arg_object = itv; in pr_getitimer()
70 adp->arg_size = sizeof (*itv); in pr_getitimer()
73 adp->arg_object = itv; in pr_getitimer()
74 adp->arg_size = sizeof (*itv); in pr_getitimer()
85 ITIMERVAL32_TO_ITIMERVAL(itv, &itimerval32); in pr_getitimer()
96 int which, const struct itimerval *itv, struct itimerval *oitv) in pr_setitimer() argument
109 return (setitimer(which, (struct itimerval *)itv, oitv)); in pr_setitimer()
124 ITIMERVAL_TO_ITIMERVAL32(&itimerval32, itv); in pr_setitimer()
[all …]
H A Dllib-lproc250 int which, struct itimerval *itv);
252 int which, const struct itimerval *itv, struct itimerval *oitv);
/titanic_50/usr/src/uts/common/sys/
H A Dtime.h219 #define ITIMERVAL32_TO_ITIMERVAL(itv, itv32) { \ argument
220 TIMEVAL32_TO_TIMEVAL(&(itv)->it_interval, &(itv32)->it_interval); \
221 TIMEVAL32_TO_TIMEVAL(&(itv)->it_value, &(itv32)->it_value); \
224 #define ITIMERVAL_TO_ITIMERVAL32(itv32, itv) { \ argument
225 TIMEVAL_TO_TIMEVAL32(&(itv32)->it_interval, &(itv)->it_interval); \
226 TIMEVAL_TO_TIMEVAL32(&(itv32)->it_value, &(itv)->it_value); \
229 #define ITIMERVAL_OVERFLOW(itv) \ argument
230 (TIMEVAL_OVERFLOW(&(itv)->it_interval) || \
231 TIMEVAL_OVERFLOW(&(itv)->it_value))
/titanic_50/usr/src/uts/common/os/
H A Dtimers.c188 getitimer(uint_t which, struct itimerval *itv) in getitimer() argument
193 error = xgetitimer(which, itv, 0); in getitimer()
204 if (copyout(&itv32, itv, sizeof (itv32)) != 0) in getitimer()
214 xgetitimer(uint_t which, struct itimerval *itv, int iskaddr) in xgetitimer() argument
291 bcopy(&aitv, itv, sizeof (*itv)); in xgetitimer()
294 if (copyout(&aitv, itv, sizeof (*itv))) in xgetitimer()
303 setitimer(uint_t which, struct itimerval *itv, struct itimerval *oitv) in setitimer() argument
311 if (itv == NULL) in setitimer()
315 error = xsetitimer(which, itv, 0); in setitimer()
320 if (copyin(itv, &itv32, sizeof (itv32))) in setitimer()
[all …]
/titanic_50/usr/src/lib/libbc/libc/gen/4.2/
H A Dsleep.c23 struct itimerval itv, oitv; in sleep() local
24 struct itimerval *itp = &itv; in sleep()
/titanic_50/usr/src/lib/libbc/libc/gen/common/
H A Dusleep.c35 struct itimerval itv, oitv; in usleep() local
36 struct itimerval *itp = &itv; in usleep()
/titanic_50/usr/src/lib/libresolv2/common/isc/
H A Dctl_srvr.c628 struct timespec itv) in ctl_wrtimeout() argument
637 UNUSED(itv); in ctl_wrtimeout()
655 struct timespec itv) in ctl_rdtimeout() argument
664 UNUSED(itv); in ctl_rdtimeout()
H A Dctl_clnt.c606 timer(evContext ev, void *uap, struct timespec due, struct timespec itv) { in timer() argument
612 UNUSED(itv); in timer()