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

/freebsd-10.2-release/sys/ofed/include/linux/
H A Dktime.h39 #define NSEC_PER_SEC 1000000000L macro
76 #define KTIME_SEC_MAX (KTIME_MAX / NSEC_PER_SEC)
97 return (ktime_t) { .tv64 = (s64)secs * NSEC_PER_SEC + (s64)nsecs };
157 * tv.sec < 0 and 0 >= tv.nsec < NSEC_PER_SEC
179 res.tv.nsec += NSEC_PER_SEC;
198 * so we subtract NSEC_PER_SEC and add 1 to the upper 32 bit.
201 * tv.nsec -= NSEC_PER_SEC
204 if (res.tv.nsec >= NSEC_PER_SEC)
205 res.tv64 += (u32)-NSEC_PER_SEC;
286 return (s64) kt.tv.sec * NSEC_PER_SEC
[all...]
/freebsd-10.2-release/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-10.2-release/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-10.2-release/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-10.2-release/sys/ofed/drivers/infiniband/ulp/sdp/
H A Dsdp_dbg.h58 return tv.tv_sec * NSEC_PER_SEC + tv.tv_nsec;

Completed in 114 milliseconds