Lines Matching refs:tv
41 static struct timeval32 tv_divide(struct timeval32 tv, int dividend);
42 static struct timeval32 tv_mult(struct timeval32 tv, int multiplier);
43 #define tv_to_usec(tv) (((tv).tv_sec * 1000000) + (tv).tv_usec) argument
320 tv_divide(struct timeval32 tv, int dividend) in tv_divide() argument
325 return (tv); in tv_divide()
326 usecs = tv_to_usec(tv); in tv_divide()
328 tv = usec_to_tv(usecs); in tv_divide()
329 return (tv); in tv_divide()
334 tv_mult(struct timeval32 tv, int multiplier) in tv_mult() argument
338 usecs = tv_to_usec(tv); in tv_mult()
340 tv = usec_to_tv(usecs); in tv_mult()
341 return (tv); in tv_mult()
347 struct timeval32 tv; in usec_to_tv() local
349 tv.tv_sec = usec / 1000000; in usec_to_tv()
350 tv.tv_usec = usec % 1000000; in usec_to_tv()
351 return (tv); in usec_to_tv()