Lines Matching full:tsp
2104 struct timespec ts, *tsp; in linux_pselect6() local
2107 if (args->tsp != NULL) { in linux_pselect6()
2108 error = linux_get_timespec(&ts, args->tsp); in linux_pselect6()
2111 tsp = &ts; in linux_pselect6()
2113 tsp = NULL; in linux_pselect6()
2116 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6()
2118 if (args->tsp != NULL) in linux_pselect6()
2119 linux_put_timespec(&ts, args->tsp); in linux_pselect6()
2125 l_fd_set *writefds, l_fd_set *exceptfds, struct timespec *tsp, in linux_common_pselect6() argument
2150 if (tsp != NULL) { in linux_common_pselect6()
2151 TIMESPEC_TO_TIMEVAL(&utv, tsp); in linux_common_pselect6()
2163 if (tsp != NULL) { in linux_common_pselect6()
2175 TIMEVAL_TO_TIMESPEC(&utv, tsp); in linux_common_pselect6()
2185 struct timespec ts, *tsp; in linux_pselect6_time64() local
2188 if (args->tsp != NULL) { in linux_pselect6_time64()
2189 error = linux_get_timespec64(&ts, args->tsp); in linux_pselect6_time64()
2192 tsp = &ts; in linux_pselect6_time64()
2194 tsp = NULL; in linux_pselect6_time64()
2197 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6_time64()
2199 if (args->tsp != NULL) in linux_pselect6_time64()
2200 linux_put_timespec64(&ts, args->tsp); in linux_pselect6_time64()
2208 struct timespec uts, *tsp; in linux_ppoll() local
2211 if (args->tsp != NULL) { in linux_ppoll()
2212 error = linux_get_timespec(&uts, args->tsp); in linux_ppoll()
2215 tsp = &uts; in linux_ppoll()
2217 tsp = NULL; in linux_ppoll()
2219 error = linux_common_ppoll(td, args->fds, args->nfds, tsp, in linux_ppoll()
2221 if (error == 0 && args->tsp != NULL) in linux_ppoll()
2222 error = linux_put_timespec(&uts, args->tsp); in linux_ppoll()
2228 struct timespec *tsp, l_sigset_t *sset, l_size_t ssize) in linux_common_ppoll() argument
2245 if (tsp != NULL) in linux_common_ppoll()
2256 error = kern_poll_kfds(td, kfds, nfds, tsp, ssp); in linux_common_ppoll()
2260 if (error == 0 && tsp != NULL) { in linux_common_ppoll()
2264 timespecsub(tsp, &ts1, tsp); in linux_common_ppoll()
2265 if (tsp->tv_sec < 0) in linux_common_ppoll()
2266 timespecclear(tsp); in linux_common_ppoll()
2268 timespecclear(tsp); in linux_common_ppoll()
2281 struct timespec uts, *tsp; in linux_ppoll_time64() local
2284 if (args->tsp != NULL) { in linux_ppoll_time64()
2285 error = linux_get_timespec64(&uts, args->tsp); in linux_ppoll_time64()
2288 tsp = &uts; in linux_ppoll_time64()
2290 tsp = NULL; in linux_ppoll_time64()
2291 error = linux_common_ppoll(td, args->fds, args->nfds, tsp, in linux_ppoll_time64()
2293 if (error == 0 && args->tsp != NULL) in linux_ppoll_time64()
2294 error = linux_put_timespec64(&uts, args->tsp); in linux_ppoll_time64()
2576 struct timespec ts, *tsp; in linux_poll() local
2583 tsp = &ts; in linux_poll()
2585 tsp = NULL; in linux_poll()
2588 tsp, NULL, 0)); in linux_poll()