Lines Matching full:vsp
35 #define timespecadd(tsp, usp, vsp) \ argument
37 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
38 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
39 if ((vsp)->tv_nsec >= 1000000000L) { \
40 (vsp)->tv_sec++; \
41 (vsp)->tv_nsec -= 1000000000L; \
45 #define timespecsub(tsp, usp, vsp) \ argument
47 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
48 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \
49 if ((vsp)->tv_nsec < 0) { \
50 (vsp)->tv_sec--; \
51 (vsp)->tv_nsec += 1000000000L; \