Searched defs:oitv (Results 1 - 5 of 5) sorted by relevance
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | alarm.c | 37 struct itimerval it, oitv; local 43 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) 45 if (oitv.it_value.tv_usec) 46 oitv.it_value.tv_sec++; 47 return (oitv.it_value.tv_sec);
|
H A D | usleep.c | 35 struct itimerval itv, oitv; local 43 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) 47 if (timerisset(&oitv.it_value)) { 48 if (timercmp(&oitv.it_value, &itp->it_value, >)) { 49 oitv.it_value.tv_sec -= itp->it_value.tv_sec; 50 oitv.it_value.tv_usec -= itp->it_value.tv_usec; 51 if (oitv.it_value.tv_usec < 0) { 52 oitv.it_value.tv_usec += USPS; 53 oitv.it_value.tv_sec--; 56 itp->it_value = oitv [all...] |
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | pr_getitimer.c | 96 int which, const struct itimerval *itv, struct itimerval *oitv) 109 return (setitimer(which, (struct itimerval *)itv, oitv)); 136 adp++; /* oitv argument */ 138 if (oitv == NULL) { 151 adp->arg_object = oitv; 152 adp->arg_size = sizeof (*oitv); 155 adp->arg_object = oitv; 156 adp->arg_size = sizeof (*oitv); 167 if (victim32 && oitv != NULL) { 168 ITIMERVAL32_TO_ITIMERVAL(oitv, 95 pr_setitimer(struct ps_prochandle *Pr, int which, const struct itimerval *itv, struct itimerval *oitv) argument [all...] |
/illumos-gate/usr/src/lib/libbc/libc/gen/4.2/ |
H A D | sleep.c | 23 struct itimerval itv, oitv; local 31 if (setitimer(ITIMER_REAL, itp, &oitv) < 0) 34 if (timerisset(&oitv.it_value)) { 35 if (timercmp(&oitv.it_value, &itp->it_value, >)) 36 oitv.it_value.tv_sec -= itp->it_value.tv_sec; 38 itp->it_value = oitv.it_value; 45 oitv.it_value.tv_sec = 1; 46 oitv.it_value.tv_usec = 0; 58 (void) setitimer(ITIMER_REAL, &oitv, (struct itimerval *)0);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | timers.c | 303 setitimer(uint_t which, struct itimerval *itv, struct itimerval *oitv) argument 307 if (oitv != NULL) 308 if ((error = getitimer(which, oitv)) != 0)
|
Completed in 68 milliseconds