Home
last modified time | relevance | path

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

/titanic_41/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 */
/titanic_41/usr/src/cmd/cpc/common/
H A Dcpustat.c405 #define NSECS_PER_SEC 1000000000ll macro
477 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()
/titanic_41/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c105 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()
/titanic_41/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h523 #define NSECS_PER_SEC 1000000000UL macro
/titanic_41/usr/src/uts/common/io/aggr/
H A Daggr_lacp.c71 #define NSECS_PER_SEC 1000000000ll macro
635 if (elapsed > NSECS_PER_SEC) { in lacp_xmit_sm()