| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | mmp.c | 261 spa_name(spa), gethrtime()); in mmp_thread_stop() 374 mts->mmp_last_write = gethrtime(); in mmp_delay_update() 446 hrtime_t lock_acquire_time = gethrtime(); in mmp_write_uberblock() 452 gethrtime()); in mmp_write_uberblock() 477 gethrtime(), error); in mmp_write_uberblock() 513 vd->vdev_mmp_pending = gethrtime(); in mmp_write_uberblock() 569 mmp->mmp_last_write = gethrtime(); in mmp_thread() 574 hrtime_t next_time = gethrtime() + in mmp_thread() 639 mmp->mmp_last_write = gethrtime(); in mmp_thread() 663 spa_name(spa), (u_longlong_t)gethrtime(), in mmp_thread() [all …]
|
| H A D | zfs_ratelimit.c | 84 now = gethrtime(); in zfs_ratelimit()
|
| H A D | dmu_zfetch.c | 187 hrtime_t now = gethrtime(); in dmu_zfetch_stream_create() 241 hrtime_t now = gethrtime(); in dmu_zfetch_stream_done() 418 zs->zs_atime = gethrtime(); in dmu_zfetch()
|
| H A D | vdev_rebuild.c | 204 NSEC2MSEC(gethrtime() - vr->vr_pass_start_time); in vdev_rebuild_update_sync() 770 vr->vr_pass_start_time = gethrtime(); in vdev_rebuild_thread() 777 uint64_t update_est_time = gethrtime(); in vdev_rebuild_thread() 866 if (gethrtime() > update_est_time + SEC2NSEC(300)) { in vdev_rebuild_thread() 867 update_est_time = gethrtime(); in vdev_rebuild_thread() 1128 vrs->vrs_pass_time_ms = NSEC2MSEC(gethrtime() - in vdev_rebuild_get_stats()
|
| H A D | spa_stats.c | 165 srh->start = gethrtime(); in spa_read_history_add() 416 spa_txg_history_set(spa, txg, TXG_STATE_WAIT_FOR_SYNC, gethrtime()); in spa_txg_history_init_io() 436 spa_txg_history_set(spa, ts->txg, TXG_STATE_SYNCED, gethrtime()); in spa_txg_history_fini_io() 738 smh->duration = gethrtime() - smh->error_start; in spa_mmp_history_set_skip() 810 smh->error_start = gethrtime(); in spa_mmp_history_add()
|
| H A D | txg.c | 380 tx->tx_open_time = tx_open_time = gethrtime(); in txg_quiesce() 406 spa_txg_history_set(dp->dp_spa, txg, TXG_STATE_QUIESCED, gethrtime()); in txg_quiesce() 648 hrtime_t start = gethrtime(); in txg_delay() 661 while (gethrtime() - start < delay && in txg_delay()
|
| H A D | dmu_tx.c | 73 tx->tx_start = gethrtime(); in dmu_tx_create_dd() 797 now = gethrtime(); in dmu_tx_delay() 1055 before = gethrtime(); in dmu_tx_wait() 1110 spa_tx_assign_add_nsecs(spa, gethrtime() - before); in dmu_tx_wait()
|
| H A D | vdev_raidz_math.c | 410 t_start = gethrtime(); in benchmark_raidz_impl() 416 t_diff = gethrtime() - t_start; in benchmark_raidz_impl()
|
| H A D | vdev_queue.c | 964 zio->io_timestamp = gethrtime(); in vdev_queue_io() 990 zio->io_delta = gethrtime() - zio->io_timestamp; in vdev_queue_io_done() 991 vq->vq_io_complete_ts = gethrtime(); in vdev_queue_io_done()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/ |
| H A D | zutil_device_path_os.c | 107 start = gethrtime(); in zpool_label_disk_wait() 114 settle = gethrtime(); in zpool_label_disk_wait() 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()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/linux/ |
| H A D | zutil_import_os.c | 622 start = gethrtime(); in zpool_label_disk_wait() 659 settle = gethrtime(); in zpool_label_disk_wait() 660 } else if (NSEC2MSEC(gethrtime() - settle) >= in zpool_label_disk_wait() 671 } while (NSEC2MSEC(gethrtime() - start) < timeout_ms); in zpool_label_disk_wait() 682 start = gethrtime(); in zpool_label_disk_wait() 689 settle = gethrtime(); 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() 731 start = gethrtime(); in encode_device_strings() 743 if (NSEC2MSEC(gethrtime() - start) < 10) in encode_device_strings() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | time.h | 67 gethrtime(void) in gethrtime() function 79 #define gethrtime_waitfree() gethrtime() 90 gethrtime(void) in gethrtime() function
|
| H A D | condvar.h | 164 hrtime = gethrtime(); in cv_timedwait_hires() 190 hrtime = gethrtime(); in cv_timedwait_sig_hires()
|
| /f-stack/freebsd/contrib/openzfs/cmd/raidz_test/ |
| H A D | raidz_bench.c | 102 start = gethrtime(); in run_gen_bench_impl() 105 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_gen_bench_impl() 194 start = gethrtime(); in run_rec_bench_impl() 197 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_rec_bench_impl()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/ |
| H A D | libzfs_util_os.c | 144 start = gethrtime(); in libzfs_load_module_impl() 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()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zfs_delay.h | 32 hrtime_t delta = wakeup - gethrtime(); \
|
| H A D | zfs_context.h | 597 #define ddi_get_lbolt() (gethrtime() >> 23) 598 #define ddi_get_lbolt64() (gethrtime() >> 23) 749 hrtime_t delta = wakeup - gethrtime(); \
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_open.c | 56 (void) snprintf(fname, PATH_MAX, "%s/uu%lld", dir, gethrtime()); in uu_open_tmp()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/spl/ |
| H A D | spl-kstat.c | 59 new = gethrtime(); in kstat_waitq_enter() 76 new = gethrtime(); in kstat_waitq_exit() 92 new = gethrtime(); in kstat_runq_enter() 109 new = gethrtime(); in kstat_runq_exit() 390 ksp->ks_snaptime = gethrtime(); in kstat_seq_start() 580 ksp->ks_crtime = gethrtime(); in __kstat_create()
|
| H A D | spl-condvar.c | 379 time_left = expire_time - gethrtime(); in __cv_timedwait_hires() 430 tim += gethrtime(); in cv_timedwait_hires_common()
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | spl_kstat.c | 265 ksp->ks_crtime = gethrtime(); in __kstat_create() 521 new = gethrtime(); in kstat_waitq_enter() 537 new = gethrtime(); in kstat_waitq_exit() 552 new = gethrtime(); in kstat_runq_enter() 568 new = gethrtime(); in kstat_runq_exit()
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/ |
| H A D | time.h | 100 gethrtime(void) in gethrtime() function
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | time.h | 105 gethrtime(void) in gethrtime() function
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | arc_os.c | 220 arc_growtime = gethrtime() + SEC2NSEC(arc_grow_retry); in arc_lowmem()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | vdev_disk.c | 269 hrtime_t start = gethrtime(); in vdev_disk_open() 271 while (IS_ERR(bdev) && ((gethrtime() - start) < timeout)) { in vdev_disk_open() 284 (u_longlong_t)(gethrtime() - start), in vdev_disk_open()
|