Home
last modified time | relevance | path

Searched refs:tmxnsec (Results 1 – 19 of 19) sorted by relevance

/titanic_50/usr/src/lib/libast/common/features/
H A Dtmx30 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000))
46 #define tmxnsec(t) (((Tmxnsec_t)(((t)-((uint32_t)(t))+0.0000005)*1000L))*1000000L)
61 #define tmxnsec(t) (0)
71 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
80 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
81 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
82 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/amd64/include/ast/
H A Dtmx.h106 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/
H A Dtmx.h85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/include/ast/
H A Dtmx.h106 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/
H A Dtmx.h85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/
H A Dtmx.h85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/include/ast/
H A Dtmx.h106 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/
H A Dtmx.h85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/include/ast/
H A Dtmx.h106 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000)) macro
113 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
122 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
123 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
124 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/common/tm/
H A Dtmxtouch.c57 av.tv_nsec = tmxnsec(at); in tmxtouch()
67 mv.tv_nsec = tmxnsec(mt); in tmxtouch()
77 cv.tv_nsec = tmxnsec(ct); in tmxtouch()
H A Dtmxmake.c64 t = tmxsns(n - lp->total, tmxnsec(t)); in tmxtm()
104 tm->tm_nsec = tmxnsec(t); in tmxtm()
H A Dtmxsettime.c43 tv.tv_nsec = tmxnsec(t); in tmxsettime()
H A Dtmxsleep.c39 tv.tv_nsec = tmxnsec(t); in tmxsleep()
H A Dtmxleap.c48 t = tmxsns(sec + lp->total, tmxnsec(t)); in tmxleap()
H A Dtmxfmt.c450 n = sfsprintf(cp, ep - cp, ".%09I*u", sizeof(Tmxnsec_t), tmxnsec(now)); in tmxfmt()
/titanic_50/usr/src/lib/libast/amd64/src/lib/libast/FEATURE/
H A Dtmx85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparcv9/src/lib/libast/FEATURE/
H A Dtmx85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/i386/src/lib/libast/FEATURE/
H A Dtmx85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))
/titanic_50/usr/src/lib/libast/sparc/src/lib/libast/FEATURE/
H A Dtmx85 #define tmxnsec(t) ((Tmxnsec_t)((t)%1000000000))
92 #define tmx2tv(t,v) ((v)->tv_nsec=tmxnsec(t),(v)->tv_sec=tmxsec(t))
101 #define tmxsetatime(s,t) ((s)->st_atime=tmxsec(t),ST_ATIME_NSEC_SET(s,tmxnsec(t)))
102 #define tmxsetctime(s,t) ((s)->st_ctime=tmxsec(t),ST_CTIME_NSEC_SET(s,tmxnsec(t)))
103 #define tmxsetmtime(s,t) ((s)->st_mtime=tmxsec(t),ST_MTIME_NSEC_SET(s,tmxnsec(t)))