Home
last modified time | relevance | path

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

/onnv-gate/usr/src/cmd/lp/model/
H A Ddrain.output.c72 int sleep_time = 0; in main() local
83 if (argc != 2 || (sleep_time = atoi(argv[1])) < 0) in main()
88 sleep_time = LONG_ENOUGH(bufsz, cps); in main()
90 sleep_time = 2; in main()
96 if (sleep_time) in main()
97 sleep (sleep_time); in main()
/onnv-gate/usr/src/uts/common/os/
H A Drwstlock.c59 hrtime_t sleep_time; in rwst_enter_common() local
81 sleep_time = -gethrtime(); in rwst_enter_common()
86 sleep_time += gethrtime(); in rwst_enter_common()
87 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, l, sleep_time, rw, in rwst_enter_common()
108 sleep_time = -gethrtime(); in rwst_enter_common()
116 sleep_time += gethrtime(); in rwst_enter_common()
117 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, l, sleep_time, rw, in rwst_enter_common()
H A Dmutex.c346 hrtime_t sleep_time = 0; /* how long we slept */ in mutex_vector_enter() local
446 sleep_time -= gethrtime(); in mutex_vector_enter()
449 sleep_time += gethrtime(); in mutex_vector_enter()
459 if (sleep_time != 0) { in mutex_vector_enter()
464 LOCKSTAT_RECORD(LS_MUTEX_ENTER_BLOCK, lp, sleep_time); in mutex_vector_enter()
470 spin_time + sleep_time); in mutex_vector_enter()
H A Drwlock.c239 hrtime_t sleep_time; in rw_enter_sleep() local
306 sleep_time = -gethrtime(); in rw_enter_sleep()
317 sleep_time += gethrtime(); in rw_enter_sleep()
319 LOCKSTAT_RECORD4(LS_RW_ENTER_BLOCK, lp, sleep_time, rw, in rw_enter_sleep()
/onnv-gate/usr/src/lib/udapl/udapl_tavor/include/
H A Ddapl_osd.h292 #define dapl_os_sleep_usec(sleep_time) { \ argument
294 sleep_spec.tv_sec = (sleep_time) / 100000; \
295 sleep_spec.tv_nsec = (sleep_time) % 100000 * 1000; \
/onnv-gate/usr/src/cmd/cmd-inet/usr.lib/in.dhcpd/tests/
H A Dtest_client.c198 time_t retry_time = 2, lease, sleep_time = 0; in client() local
340 sleep_time = 0; in client()
373 sleep_time = 0; in client()
447 sleep_time = 0; in client()
675 sleep_time = 0; in client()
677 sleep_time = lease / 2; in client()
682 sleep_time = release_time; in client()
765 if (sleep_time != 0) { in client()
767 tr.tv_sec = time(NULL) + sleep_time; in client()
799 sleep_time = 0; in client()
[all …]
/onnv-gate/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/
H A Dpiclwatchdog.c535 long sleep_time; in wd_patting_thread() local
623 sleep_time = wd_data.wd1_timeout - pat_time; in wd_patting_thread()
625 if (wd_data.wd1_timeout <= 0 || sleep_time <= 0) { in wd_patting_thread()
639 sec = sleep_time/1000; in wd_patting_thread()
640 nano_sec = (sleep_time - (sec * 1000)) * 1000000; in wd_patting_thread()
/onnv-gate/usr/src/uts/common/io/iwk/
H A Diwk_calibration.h692 uint32_t sleep_time; member
/onnv-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
/onnv-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mn_handlers.c686 unsigned int sleep_time = 2; in mdmn_do_resync() local
749 (void) sleep(sleep_time); in mdmn_do_resync()