Searched refs:MILLISEC (Results 1 – 9 of 9) sorted by relevance
38 #ifndef MILLISEC39 #define MILLISEC 1000 macro55 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))59 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
41 #define MILLISEC 1000 macro45 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))46 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
39 #define MILLISEC 1000UL macro44 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))45 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
155 usleep(10 * MILLISEC); in libzfs_load_module_impl()157 } while (NSEC2MSEC(gethrtime() - start) < (timeout * MILLISEC)); in libzfs_load_module_impl()
630 (void) usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()669 (void) usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()696 usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()746 (void) usleep(10 * MILLISEC); in encode_device_strings()748 } while (NSEC2MSEC(gethrtime() - start) < (3 * MILLISEC)); in encode_device_strings()
121 usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()
74 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
614 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
85 int zio_slow_io_ms = (30 * MILLISEC);