/titanic_44/usr/src/cmd/stmfsvc/ |
H A D | stmfsvc.c | 94 struct timespec rqtp; in svcStop() local 96 bzero(&rqtp, sizeof (rqtp)); in svcStop() 98 rqtp.tv_nsec = TEN_MS_NANOSLEEP; in svcStop() 132 (void) nanosleep(&rqtp, NULL); in svcStop() 203 struct timespec rqtp; in online() local 205 bzero(&rqtp, sizeof (rqtp)); in online() 207 rqtp.tv_nsec = TEN_MS_NANOSLEEP; in online() 241 (void) nanosleep(&rqtp, NULL); in online()
|
/titanic_44/usr/src/lib/efcode/engine/ |
H A D | env.c | 199 timespec_t rqtp; in do_ms() local 204 rqtp.tv_sec = 0; in do_ms() 205 rqtp.tv_nsec = d*1000*1000; in do_ms() 206 nanosleep(&rqtp, 0); in do_ms() 215 timespec_t rqtp; in do_get_msecs() local 220 rqtp.tv_sec = 0; in do_get_msecs() 221 rqtp.tv_nsec = 1000*1000; in do_get_msecs() 222 nanosleep(&rqtp, 0); in do_get_msecs()
|
/titanic_44/usr/src/uts/common/fs/portfs/ |
H A D | port.c | 1177 timespec_t *rqtp = NULL; in port_getn() local 1260 rqtp = pgt->pgt_rqtp; in port_getn() 1272 error = port_get_timeout(pgt->pgt_timeout, &rqtime, &rqtp, in port_getn() 1283 if (rqtp != NULL) { in port_getn() 1287 timespecadd(rqtp, &now); in port_getn() 1327 rqtp, timecheck); in port_getn() 1535 &pgt->pgt_rqtime, &rqtp, &blocking, flag); in port_getn() 1540 if (rqtp != NULL) { in port_getn() 1546 pgt->pgt_rqtp = rqtp; in port_getn() 1549 pgt->pgt_rqtp = rqtp; in port_getn() [all …]
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | sigtimedwait.c | 101 timespec_t *rqtp = NULL; in sigtimedwait() local 131 rqtp = &sig_timeout; in sigtimedwait() 153 rqtp, timecheck)) > 0) in sigtimedwait()
|
H A D | lwpsys.c | 454 timespec_t *rqtp = NULL; in lwp_park() local 489 rqtp = &rqtime; in lwp_park() 499 &t->t_delay_lock, rqtp, timecheck)) { in lwp_park()
|
/titanic_44/usr/src/lib/libc/port/threads/ |
H A D | scalls.c | 594 nanosleep(const timespec_t *rqtp, timespec_t *rmtp) in nanosleep() argument 599 error = abort? EINTR : __nanosleep(rqtp, rmtp); in nanosleep() 610 const timespec_t *rqtp, timespec_t *rmtp) in clock_nanosleep() argument 630 abstime_to_reltime(clock_id, rqtp, &reltime); in clock_nanosleep() 633 reltime = *rqtp; in clock_nanosleep() 648 if ((hrtime_t)(uint32_t)rqtp->tv_sec * NANOSEC + in clock_nanosleep() 649 rqtp->tv_nsec > gethrtime()) { in clock_nanosleep() 650 abstime_to_reltime(clock_id, rqtp, &reltime); in clock_nanosleep() 654 rqlapse = (hrtime_t)(uint32_t)rqtp->tv_sec * NANOSEC + in clock_nanosleep() 655 rqtp->tv_nsec; in clock_nanosleep() [all …]
|
H A D | c11_thr.c | 250 thrd_sleep(const struct timespec *rqtp, struct timespec *rmtp) in thrd_sleep() argument 253 if ((ret = nanosleep(rqtp, rmtp)) == 0) in thrd_sleep()
|
/titanic_44/usr/src/cmd/sendmail/libsm/ |
H A D | clock.c | 515 struct timespec rqtp; local 519 rqtp.tv_sec = intvl; 520 rqtp.tv_nsec = 0; 521 nanosleep(&rqtp, NULL);
|
/titanic_44/usr/src/cmd/picl/plugins/sun4u/snowbird/envmond/ |
H A D | piclplatmod.c | 192 struct timespec rqtp, rmtp; in initiate_shutdown() local 225 rqtp.tv_sec = 5; in initiate_shutdown() 226 rqtp.tv_nsec = 0; in initiate_shutdown() 227 (void) nanosleep(&rqtp, &rmtp); in initiate_shutdown()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | aio.c | 415 timestruc_t **rqtp, int *blocking) in timeval2reltime() argument 423 *rqtp = NULL; in timeval2reltime() 470 *rqtp = rqtime; in timeval2reltime() 478 timestruc_t **rqtp, int *blocking) in timespec2reltime() argument 485 *rqtp = NULL; in timespec2reltime() 512 *rqtp = rqtime; in timespec2reltime() 532 timestruc_t *rqtp; in aiowait() local 541 error = timeval2reltime(timout, &rqtime, &rqtp, &blocking); in aiowait() 544 if (rqtp) { in aiowait() 548 timespecadd(rqtp, &now); in aiowait() [all …]
|
H A D | timers.c | 1284 nanosleep(timespec_t *rqtp, timespec_t *rmtp) in nanosleep() argument 1297 if (copyin(rqtp, &rqtime, sizeof (rqtime))) in nanosleep() 1302 if (copyin(rqtp, &rqtime32, sizeof (rqtime32))) in nanosleep()
|
/titanic_44/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 1101 timestruc_t *rqtp = NULL; in pr_wait_stop() local 1114 rqtp = &rqtime; in pr_wait_stop() 1115 rqtp->tv_sec = timeo / MILLISEC; in pr_wait_stop() 1116 rqtp->tv_nsec = (timeo % MILLISEC) * MICROSEC; in pr_wait_stop() 1117 timespecadd(rqtp, &now); in pr_wait_stop() 1128 error = pr_wait(pcp, rqtp, timecheck); in pr_wait_stop() 1147 error = pr_wait(pcp, rqtp, timecheck); in pr_wait_stop()
|
/titanic_44/usr/src/cmd/zlogin/ |
H A D | zlogin.c | 666 struct timespec rqtp; in process_user_input() local 674 rqtp.tv_sec = 0; in process_user_input() 675 rqtp.tv_nsec = MSEC2NSEC(10); in process_user_input() 676 (void) nanosleep(&rqtp, NULL); in process_user_input()
|
/titanic_44/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 339 struct timespec rqtp; in idmap_sqlite_busy_handler() local 358 rqtp.tv_sec = 0; in idmap_sqlite_busy_handler() 359 rqtp.tv_nsec = MSEC2NSEC(delay); in idmap_sqlite_busy_handler() 360 (void) nanosleep(&rqtp, NULL); in idmap_sqlite_busy_handler()
|