Home
last modified time | relevance | path

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

/illumos-gate/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; \
42 if ((vvp)->tv_usec >= 1000000) \
44 (vvp)->tv_sec++; \
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_osdep.h107 #define timespecadd(vvp, uvp) \ argument
109 (vvp)->tv_sec += (uvp)->tv_sec; \
110 (vvp)->tv_nsec += (uvp)->tv_nsec; \
111 if ((vvp)->tv_nsec >= 1000000000) { \
112 (vvp)->tv_sec++; \
113 (vvp)->tv_nsec -= 1000000000; \
119 (vvp)->tv_sec -= (uvp)->tv_sec; \
120 (vvp)->tv_nsec -= (uvp)->tv_nsec; \
121 if ((vvp)->tv_nsec < 0) { \
122 (vvp)->tv_sec--; \
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h151 (vvp)->tv_sec++; \
152 (vvp)->tv_usec -= 1000000; \
154 } while ((vvp)->tv_usec >= 1000000)
160 if ((vvp)->tv_usec < 0) \
162 (vvp)->tv_sec--; \
163 (vvp)->tv_usec += 1000000; \
174 (vvp)->tv_sec++; \
175 (vvp)->tv_usec -= 1000000; \
184 if ((vvp)->tv_usec < 0) \
186 (vvp)->tv_sec--; \
[all …]
/illumos-gate/usr/src/boot/sys/sys/
H A Dtime.h253 #define timespecadd(vvp, uvp) \ argument
258 (vvp)->tv_sec++; \
259 (vvp)->tv_nsec -= 1000000000; \
262 #define timespecsub(vvp, uvp) \ argument
266 if ((vvp)->tv_nsec < 0) { \
267 (vvp)->tv_sec--; \
298 (vvp)->tv_sec++; \
299 (vvp)->tv_usec -= 1000000; \
306 if ((vvp)->tv_usec < 0) { \
307 (vvp)->tv_sec--; \
[all …]