Lines Matching full:vsp
134 #define TS_ADD(tsp, usp, vsp) \ argument
136 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
137 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
138 if ((vsp)->tv_nsec >= 1000000000L) { \
139 (vsp)->tv_sec++; \
140 (vsp)->tv_nsec -= 1000000000L; \
143 #define TS_SUB(tsp, usp, vsp) \ argument
145 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
146 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \
147 if ((vsp)->tv_nsec < 0) { \
148 (vsp)->tv_sec--; \
149 (vsp)->tv_nsec += 1000000000L; \