Searched refs:NSECS_PER_SEC (Results 1 – 5 of 5) sorted by relevance
43 #define NSECS_PER_SEC 1000000000l macro44 #define BUSY_SLEEP NSECS_PER_SEC/10 /* 1/10 second */
424 #define NSECS_PER_SEC 1000000000ll macro496 ts.tv_sec = (time_t)((ht - htnow) / NSECS_PER_SEC); in gtick()497 ts.tv_nsec = (suseconds_t)((ht - htnow) % NSECS_PER_SEC); in gtick()566 NSECS_PER_SEC); in gtick()568 NSECS_PER_SEC); in gtick()
106 secs = ((time_t)fwtime / NSECS_PER_SEC); in pmcs_fwtime_to_systime()107 nsecs = ((long)fwtime % NSECS_PER_SEC); in pmcs_fwtime_to_systime()115 stime->tv_nsec = stime->tv_nsec + NSECS_PER_SEC - nsecs; in pmcs_fwtime_to_systime()121 if (stime->tv_nsec + nsecs > NSECS_PER_SEC) { in pmcs_fwtime_to_systime()124 stime->tv_nsec = (stime->tv_nsec + nsecs) % NSECS_PER_SEC; in pmcs_fwtime_to_systime()
523 #define NSECS_PER_SEC 1000000000UL macro
72 #define NSECS_PER_SEC 1000000000ll macro636 if (elapsed > NSECS_PER_SEC) { in lacp_xmit_sm()