Lines Matching full:vsp
40 #define TS_ADD(tsp, usp, vsp) \ argument
42 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
43 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
44 if ((vsp)->tv_nsec >= 1000000000L) { \
45 (vsp)->tv_sec++; \
46 (vsp)->tv_nsec -= 1000000000L; \
49 #define TS_SUB(tsp, usp, vsp) \ argument
51 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
52 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \
53 if ((vsp)->tv_nsec < 0) { \
54 (vsp)->tv_sec--; \
55 (vsp)->tv_nsec += 1000000000L; \