Home
last modified time | relevance | path

Searched refs:NSECS_PER_SEC (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/sun_fc/common/
H A DHBA.cc43 #define NSECS_PER_SEC 1000000000l macro
44 #define BUSY_SLEEP NSECS_PER_SEC/10 /* 1/10 second */
/illumos-gate/usr/src/cmd/cpc/common/
H A Dcpustat.c424 #define NSECS_PER_SEC 1000000000ll macro
496 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c106 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()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h523 #define NSECS_PER_SEC 1000000000UL macro
/illumos-gate/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c72 #define NSECS_PER_SEC 1000000000ll macro
636 if (elapsed > NSECS_PER_SEC) { in lacp_xmit_sm()