Home
last modified time | relevance | path

Searched refs:NSEC2MSEC (Results 1 – 11 of 11) sorted by relevance

/f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_device_path_os.c115 else if (NSEC2MSEC(gethrtime() - settle) >= settle_ms) in zpool_label_disk_wait()
122 } while (NSEC2MSEC(gethrtime() - start) < timeout_ms); in zpool_label_disk_wait()
/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dtime.h58 #ifndef NSEC2MSEC
59 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c152 } else if (NSEC2MSEC(gethrtime() - start) < busy_timeout) { in libzfs_load_module_impl()
157 } while (NSEC2MSEC(gethrtime() - start) < (timeout * MILLISEC)); in libzfs_load_module_impl()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/
H A Dzutil_import_os.c660 } 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()
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dtime.h46 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtime.h45 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC)) macro
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_rebuild.c204 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()
H A Ddsl_scan.c1332 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()
H A Dmmp.c672 NSEC2MSEC(gethrtime() - mmp->mmp_last_write), in mmp_thread()
H A Dvdev_trim.c466 (NSEC2MSEC(gethrtime() - ta->trim_start_time) + 1)); in vdev_trim_calculate_rate()
/f-stack/freebsd/contrib/openzfs/cmd/zinject/
H A Dzinject.c437 (u_longlong_t)NSEC2MSEC(record->zi_timer), in print_delay_handler()