Searched refs:NSEC_PER_SEC (Results 1 - 12 of 12) sorted by relevance

/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/
H A Dtime.h33 #define NSEC_PER_SEC 1000000000L macro
55 tv.tv_sec = nsec / NSEC_PER_SEC;
56 rem = nsec % NSEC_PER_SEC;
59 rem += NSEC_PER_SEC;
68 return ((int64_t)tv->tv_sec * NSEC_PER_SEC) +
95 return ((ts->tv_sec * NSEC_PER_SEC) + ts->tv_nsec);
110 ts.tv_sec = nsec / NSEC_PER_SEC;
111 rem = nsec % NSEC_PER_SEC;
114 rem += NSEC_PER_SEC;
H A Djiffies.h77 (((u64)hz * ts->tv_nsec + NSEC_PER_SEC - 1) / NSEC_PER_SEC);
H A Dktime.h42 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
109 ktime_t retval = {(s64) secs * NSEC_PER_SEC + (s64) nsecs};
H A Dsched.h188 return ((uint64_t)ts.tv_sec * NSEC_PER_SEC + ts.tv_nsec);
/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Dtime.h114 return (((hrtime_t)ts.tv_sec * NSEC_PER_SEC) + ts.tv_nsec);
/freebsd-13-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.c39 #define NSEC_PER_SEC 1000000000L macro
44 return ((int64_t)tv->tv_sec * NSEC_PER_SEC) +
60 tv.tv_sec = nsec / NSEC_PER_SEC;
61 rem = nsec % NSEC_PER_SEC;
64 rem += NSEC_PER_SEC;
/freebsd-13-stable/crypto/heimdal/lib/ipc/
H A Dcommon.c129 timeout = (uint64_t)t * NSEC_PER_SEC;
H A Dserver.c75 timeoutvalue * NSEC_PER_SEC),
76 timeoutvalue * NSEC_PER_SEC, 1000000);
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dannounce.c105 t = dispatch_time(DISPATCH_TIME_NOW, 5ull * NSEC_PER_SEC);
106 dispatch_source_set_timer(s, t, 0, NSEC_PER_SEC);
/freebsd-13-stable/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_dbg.h58 return tv.tv_sec * NSEC_PER_SEC + tv.tv_nsec;
/freebsd-13-stable/contrib/wpa/src/utils/
H A Dos_unix.c120 t->sec = nano / NSEC_PER_SEC;
121 t->usec = (nano - (((uint64_t) t->sec) * NSEC_PER_SEC)) / NSEC_PER_USEC;
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_alias_GUID.c316 rec->time_to_run = ktime_get_ns() + 1 * NSEC_PER_SEC;
423 resched_delay_sec * NSEC_PER_SEC;
717 div_u64((low_record_time - curr_time), NSEC_PER_SEC);

Completed in 132 milliseconds