Home
last modified time | relevance | path

Searched refs:sleep_sec (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/uts/i86pc/os/
H A Dtimestamp.c765 int sleep_sec; in tsc_resume() local
776 sleep_sec = ts.tv_sec - tsc_saved_ts.tv_sec; in tsc_resume()
784 if (sleep_sec <= 0) { in tsc_resume()
785 sleep_sec = 1; in tsc_resume()
790 sleep_tsc = sleep_sec * cpu_freq_hz; in tsc_resume()
/titanic_41/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c733 etm_sleep(unsigned sleep_sec) in etm_sleep() argument
737 tms.tv_sec = sleep_sec; in etm_sleep()
823 int sleep_sec; /* exp backoff sleep period in sec */ in etm_io_op() local
864 sleep_sec = 0; in etm_io_op()
879 if ((sleep_rv = etm_sleep(sleep_sec)) < 0) { in etm_io_op()
883 sleep_sec = ((sleep_sec == 0) ? 1 : in etm_io_op()
884 (sleep_sec * ETM_TRY_BACKOFF_RATE)); in etm_io_op()
885 sleep_sec = MIN(sleep_sec, ETM_TRY_BACKOFF_CAP); in etm_io_op()