Lines Matching full:vsp
548 #define timespecadd(tsp, usp, vsp) \ argument
550 (vsp)->tv_sec = (tsp)->tv_sec + (usp)->tv_sec; \
551 (vsp)->tv_nsec = (tsp)->tv_nsec + (usp)->tv_nsec; \
552 if ((vsp)->tv_nsec >= 1000000000L) { \
553 (vsp)->tv_sec++; \
554 (vsp)->tv_nsec -= 1000000000L; \
559 #define timespecsub(tsp, usp, vsp) \ argument
561 (vsp)->tv_sec = (tsp)->tv_sec - (usp)->tv_sec; \
562 (vsp)->tv_nsec = (tsp)->tv_nsec - (usp)->tv_nsec; \
563 if ((vsp)->tv_nsec < 0) { \
564 (vsp)->tv_sec--; \
565 (vsp)->tv_nsec += 1000000000L; \