Searched refs:NSEC2SEC (Results 1 – 8 of 8) sorted by relevance
70 #ifndef NSEC2SEC71 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro
105 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_gen_bench_impl()197 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_rec_bench_impl()
88 if (NSEC2SEC(elapsed) >= rl->interval) { in zfs_ratelimit()
220 uint64_t age = NSEC2SEC(now - entry->re_timestamp); in zfs_ereport_cleaner()308 uint64_t age = NSEC2SEC(now - entry->re_timestamp); in zfs_ereport_is_duplicate()
1335 NSEC2SEC(sync_time_ns) >= zfs_txg_timeout)) || in dsl_scan_check_suspend()2814 NSEC2SEC(sync_time_ns) >= zfs_txg_timeout)) || in scan_io_queue_check_suspend()
3119 NSEC2SEC(import_expire - gethrtime())); in spa_activity_check()
51 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro
50 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro