Searched refs:NSEC2MSEC (Results 1 – 11 of 11) sorted by relevance
115 else if (NSEC2MSEC(gethrtime() - settle) >= settle_ms) in zpool_label_disk_wait()122 } while (NSEC2MSEC(gethrtime() - start) < timeout_ms); in zpool_label_disk_wait()
58 #ifndef NSEC2MSEC59 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
152 } else if (NSEC2MSEC(gethrtime() - start) < busy_timeout) { in libzfs_load_module_impl()157 } while (NSEC2MSEC(gethrtime() - start) < (timeout * MILLISEC)); in libzfs_load_module_impl()
660 } else if (NSEC2MSEC(gethrtime() - settle) >= in zpool_label_disk_wait()671 } while (NSEC2MSEC(gethrtime() - start) < timeout_ms); in zpool_label_disk_wait()690 else if (NSEC2MSEC(gethrtime() - settle) >= settle_ms) in zpool_label_disk_wait()697 } while (NSEC2MSEC(gethrtime() - start) < timeout_ms); in zpool_label_disk_wait()743 if (NSEC2MSEC(gethrtime() - start) < 10) in encode_device_strings()748 } while (NSEC2MSEC(gethrtime() - start) < (3 * MILLISEC)); in encode_device_strings()
46 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
45 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
204 NSEC2MSEC(gethrtime() - vr->vr_pass_start_time); in vdev_rebuild_update_sync()1128 vrs->vrs_pass_time_ms = NSEC2MSEC(gethrtime() - in vdev_rebuild_get_stats()
1332 if ((NSEC2MSEC(scan_time_ns) > mintime && in dsl_scan_check_suspend()2811 return ((NSEC2MSEC(scan_time_ns) > mintime && in scan_io_queue_check_suspend()3168 (NSEC2MSEC(elapsed_nanosecs) > scn->scn_async_block_min_time_ms && in dsl_scan_async_block_should_pause()3422 NSEC2MSEC(gethrtime() - scn->scn_sync_start_time), in dsl_process_async_destroys()3603 NSEC2MSEC(scan_time_ns) < mintime) { in dsl_scan_sync()3720 (longlong_t)NSEC2MSEC(gethrtime() - in dsl_scan_sync()3756 (longlong_t)NSEC2MSEC(gethrtime() - in dsl_scan_sync()
672 NSEC2MSEC(gethrtime() - mmp->mmp_last_write), in mmp_thread()
466 (NSEC2MSEC(gethrtime() - ta->trim_start_time) + 1)); in vdev_trim_calculate_rate()
437 (u_longlong_t)NSEC2MSEC(record->zi_timer), in print_delay_handler()