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