Home
last modified time | relevance | path

Searched refs:MILLISEC (Results 1 – 9 of 9) sorted by relevance

/f-stack/freebsd/contrib/openzfs/lib/libspl/include/sys/
H A Dtime.h38 #ifndef MILLISEC
39 #define MILLISEC 1000 macro
55 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))
59 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
/f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/
H A Dtime.h41 #define MILLISEC 1000 macro
45 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))
46 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/
H A Dtime.h39 #define MILLISEC 1000UL macro
44 #define MSEC2NSEC(m) ((hrtime_t)(m) * (NANOSEC / MILLISEC))
45 #define NSEC2MSEC(n) ((n) / (NANOSEC / MILLISEC))
/f-stack/freebsd/contrib/openzfs/lib/libzfs/os/linux/
H A Dlibzfs_util_os.c155 usleep(10 * MILLISEC); 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.c630 (void) usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()
669 (void) usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()
696 usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()
746 (void) usleep(10 * MILLISEC); in encode_device_strings()
748 } while (NSEC2MSEC(gethrtime() - start) < (3 * MILLISEC)); in encode_device_strings()
/f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/
H A Dzutil_device_path_os.c121 usleep(sleep_ms * MILLISEC); in zpool_label_disk_wait()
/f-stack/freebsd/contrib/openzfs/include/os/freebsd/zfs/sys/
H A Dzfs_context_os.h74 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_context.h614 #define MSEC_TO_TICK(msec) (howmany((hrtime_t)(msec) * hz, MILLISEC))
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzio.c85 int zio_slow_io_ms = (30 * MILLISEC);