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 */
405 #define NSECS_PER_SEC 1000000000ll macro477 ts.tv_sec = (time_t)((ht - htnow) / NSECS_PER_SEC); in gtick()478 ts.tv_nsec = (suseconds_t)((ht - htnow) % NSECS_PER_SEC); in gtick()547 NSECS_PER_SEC); in gtick()549 NSECS_PER_SEC); in gtick()
105 secs = ((time_t)fwtime / NSECS_PER_SEC); in pmcs_fwtime_to_systime()106 nsecs = ((long)fwtime % NSECS_PER_SEC); in pmcs_fwtime_to_systime()114 stime->tv_nsec = stime->tv_nsec + NSECS_PER_SEC - nsecs; in pmcs_fwtime_to_systime()120 if (stime->tv_nsec + nsecs > NSECS_PER_SEC) { in pmcs_fwtime_to_systime()123 stime->tv_nsec = (stime->tv_nsec + nsecs) % NSECS_PER_SEC; in pmcs_fwtime_to_systime()
523 #define NSECS_PER_SEC 1000000000UL macro
71 #define NSECS_PER_SEC 1000000000ll macro635 if (elapsed > NSECS_PER_SEC) { in lacp_xmit_sm()