Searched refs:NSEC_PER_SEC (Results 1 – 10 of 10) sorted by relevance
| /netbsd/src/usr.bin/rump_dhcpclient/ |
| D | common.c | 105 #define NSEC_PER_SEC 1000000000 in get_monotonic() macro 123 tp->tv_sec = nano / NSEC_PER_SEC; in get_monotonic() 124 rem = nano % NSEC_PER_SEC; in get_monotonic() 127 rem += NSEC_PER_SEC; in get_monotonic()
|
| /netbsd/src/external/apache2/mDNSResponder/dist/mDNSShared/ |
| D | PlatformCommon.h | 21 #ifndef NSEC_PER_SEC 22 #define NSEC_PER_SEC 1000000000ull macro
|
| /netbsd/src/sys/external/bsd/drm2/include/linux/ |
| D | time.h | 44 #define NSEC_PER_SEC 1000000000L macro
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/kdc/ |
| D | announce.c | 107 t = dispatch_time(DISPATCH_TIME_NOW, 5ull * NSEC_PER_SEC); in retry_timer() 108 dispatch_source_set_timer(s, t, 0, NSEC_PER_SEC); in retry_timer()
|
| /netbsd/src/crypto/external/bsd/heimdal/dist/lib/ipc/ |
| D | common.c | 133 timeout = (uint64_t)t * NSEC_PER_SEC; in heim_ipc_semaphore_wait()
|
| D | server.c | 78 timeoutvalue * NSEC_PER_SEC), in set_timer() 79 timeoutvalue * NSEC_PER_SEC, 1000000); in set_timer()
|
| /netbsd/src/external/apache2/mDNSResponder/dist/Clients/ |
| D | dns-sd.c | 943 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in myTimerCallBack() 944 (uint64_t)timeOut * NSEC_PER_SEC, 0); in myTimerCallBack() 977 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in reg_reply() 978 (uint64_t)timeOut * NSEC_PER_SEC, 0); in reg_reply() 1357 …_source_set_timer(timer_source, dispatch_time(DISPATCH_TIME_NOW, (uint64_t)timeOut * NSEC_PER_SEC), in HandleEvents() 1358 (uint64_t)timeOut * NSEC_PER_SEC, 0); in HandleEvents() 1365 … dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (uint64_t)exitTimeout * NSEC_PER_SEC), main_queue, in HandleEvents()
|
| /netbsd/src/external/bsd/wpa/dist/src/utils/ |
| D | os_unix.c | 126 t->sec = nano / NSEC_PER_SEC; in os_get_reltime() 127 t->usec = (nano - (((uint64_t) t->sec) * NSEC_PER_SEC)) / NSEC_PER_USEC; in os_get_reltime()
|
| /netbsd/src/sys/external/bsd/drm2/dist/drm/i915/ |
| D | i915_perf.c | 291 #define POLL_PERIOD (NSEC_PER_SEC / POLL_FREQUENCY) 3819 if (oa_period <= NSEC_PER_SEC) { in read_properties_unlocked() 3820 u64 tmp = NSEC_PER_SEC; in read_properties_unlocked()
|
| D | i915_pmu.c | 28 #define PERIOD max_t(u64, 10000, NSEC_PER_SEC / FREQUENCY)
|