Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/lp/model/
H A Ddrain.output.c70 int sleep_time = 0; in main() local
81 if (argc != 2 || (sleep_time = atoi(argv[1])) < 0) in main()
86 sleep_time = LONG_ENOUGH(bufsz, cps); in main()
88 sleep_time = 2; in main()
94 if (sleep_time) in main()
95 sleep (sleep_time); in main()
/illumos-gate/usr/src/uts/common/os/
H A Drwstlock.c63 hrtime_t sleep_time; in rwst_enter_common() local
86 sleep_time = -gethrtime(); in rwst_enter_common()
91 sleep_time += gethrtime(); in rwst_enter_common()
92 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, l, sleep_time, rw, in rwst_enter_common()
113 sleep_time = -gethrtime(); in rwst_enter_common()
121 sleep_time += gethrtime(); in rwst_enter_common()
122 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, l, sleep_time, rw, in rwst_enter_common()
H A Dmutex.c347 hrtime_t sleep_time = 0; /* how long we slept */ in mutex_vector_enter() local
447 sleep_time -= gethrtime(); in mutex_vector_enter()
450 sleep_time += gethrtime(); in mutex_vector_enter()
460 if (sleep_time != 0) { in mutex_vector_enter()
465 LOCKSTAT_RECORD(LS_MUTEX_ENTER_BLOCK, lp, sleep_time); in mutex_vector_enter()
471 spin_time + sleep_time); in mutex_vector_enter()
H A Drwlock.c277 hrtime_t sleep_time; in rw_enter_sleep() local
347 sleep_time = -gethrtime(); in rw_enter_sleep()
357 sleep_time += gethrtime(); in rw_enter_sleep()
359 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, lp, sleep_time, rw, in rw_enter_sleep()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_osd.h290 #define dapl_os_sleep_usec(sleep_time) { \ argument
292 sleep_spec.tv_sec = (sleep_time) / 100000; \
293 sleep_spec.tv_nsec = (sleep_time) % 100000 * 1000; \
/illumos-gate/usr/src/uts/common/io/nvme/
H A Dnvme_lock.c472 hrtime_t sleep_time; in nvme_rwlock() local
550 sleep_time = gethrtime(); in nvme_rwlock()
551 info->nli_last_change = sleep_time; in nvme_rwlock()
570 ASSERT3S(info->nli_last_change, !=, sleep_time); in nvme_rwlock()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/mcp/
H A Dmulti_thread_def.h117 u32 sleep_time; /* In ticks */ member
/illumos-gate/usr/src/uts/common/io/iwk/
H A Diwk_calibration.h692 uint32_t sleep_time; member
/illumos-gate/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c761 int sleep_time = 0; in set_cpufreq_gov() local
909 int sleep_time = 0; in set_cpufreq_performance() local