Home
last modified time | relevance | path

Searched refs:vvp (Results 1 – 3 of 3) sorted by relevance

/titanic_41/usr/src/cmd/sendmail/include/sm/
H A Dtime.h23 # define timersub(tvp, uvp, vvp) \ argument
26 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
27 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
28 if ((vvp)->tv_usec < 0) \
30 (vvp)->tv_sec--; \
31 (vvp)->tv_usec += 1000000; \
37 # define timeradd(tvp, uvp, vvp) \ argument
40 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
41 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
42 if ((vvp)->tv_usec >= 1000000) \
[all …]
/titanic_41/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_osdep.h82 #define timespecadd(vvp, uvp) \ argument
84 (vvp)->tv_sec += (uvp)->tv_sec; \
85 (vvp)->tv_nsec += (uvp)->tv_nsec; \
86 if ((vvp)->tv_nsec >= 1000000000) { \
87 (vvp)->tv_sec++; \
88 (vvp)->tv_nsec -= 1000000000; \
92 #define timespecsub(vvp, uvp) \ argument
94 (vvp)->tv_sec -= (uvp)->tv_sec; \
95 (vvp)->tv_nsec -= (uvp)->tv_nsec; \
96 if ((vvp)->tv_nsec < 0) { \
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dtime.h138 #define timeradd(tvp, uvp, vvp) \ argument
141 (vvp)->tv_sec = (tvp)->tv_sec + (uvp)->tv_sec; \
142 (vvp)->tv_usec = (tvp)->tv_usec + (uvp)->tv_usec; \
143 if ((vvp)->tv_usec >= 1000000) \
145 (vvp)->tv_sec++; \
146 (vvp)->tv_usec -= 1000000; \
148 } while ((vvp)->tv_usec >= 1000000)
149 #define timersub(tvp, uvp, vvp) \ argument
152 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \
153 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \
[all …]