Home
last modified time | relevance | path

Searched refs:NSEC2SEC (Results 1 – 8 of 8) sorted by relevance

/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dtime.h70 #ifndef NSEC2SEC
71 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro
/f-stack/freebsd/contrib/openzfs/cmd/raidz_test/
H A Draidz_bench.c105 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_gen_bench_impl()
197 elapsed = NSEC2SEC((double)(gethrtime() - start)); in run_rec_bench_impl()
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_ratelimit.c88 if (NSEC2SEC(elapsed) >= rl->interval) { in zfs_ratelimit()
H A Dzfs_fm.c220 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()
H A Ddsl_scan.c1335 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()
H A Dspa.c3119 NSEC2SEC(import_expire - gethrtime())); in spa_activity_check()
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dtime.h51 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtime.h50 #define NSEC2SEC(n) ((n) / (NANOSEC / SEC)) macro