Lines Matching refs:tsp

2078 	struct timespec ts, *tsp;  in linux_pselect6()  local
2081 if (args->tsp != NULL) { in linux_pselect6()
2082 error = linux_get_timespec(&ts, args->tsp); in linux_pselect6()
2085 tsp = &ts; in linux_pselect6()
2087 tsp = NULL; in linux_pselect6()
2090 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6()
2092 if (args->tsp != NULL) in linux_pselect6()
2093 linux_put_timespec(&ts, args->tsp); in linux_pselect6()
2099 l_fd_set *writefds, l_fd_set *exceptfds, struct timespec *tsp, in linux_common_pselect6() argument
2124 if (tsp != NULL) { in linux_common_pselect6()
2125 TIMESPEC_TO_TIMEVAL(&utv, tsp); in linux_common_pselect6()
2137 if (tsp != NULL) { in linux_common_pselect6()
2149 TIMEVAL_TO_TIMESPEC(&utv, tsp); in linux_common_pselect6()
2159 struct timespec ts, *tsp; in linux_pselect6_time64() local
2162 if (args->tsp != NULL) { in linux_pselect6_time64()
2163 error = linux_get_timespec64(&ts, args->tsp); in linux_pselect6_time64()
2166 tsp = &ts; in linux_pselect6_time64()
2168 tsp = NULL; in linux_pselect6_time64()
2171 args->writefds, args->exceptfds, tsp, args->sig); in linux_pselect6_time64()
2173 if (args->tsp != NULL) in linux_pselect6_time64()
2174 linux_put_timespec64(&ts, args->tsp); in linux_pselect6_time64()
2182 struct timespec uts, *tsp; in linux_ppoll() local
2185 if (args->tsp != NULL) { in linux_ppoll()
2186 error = linux_get_timespec(&uts, args->tsp); in linux_ppoll()
2189 tsp = &uts; in linux_ppoll()
2191 tsp = NULL; in linux_ppoll()
2193 error = linux_common_ppoll(td, args->fds, args->nfds, tsp, in linux_ppoll()
2195 if (error == 0 && args->tsp != NULL) in linux_ppoll()
2196 error = linux_put_timespec(&uts, args->tsp); in linux_ppoll()
2202 struct timespec *tsp, l_sigset_t *sset, l_size_t ssize) in linux_common_ppoll() argument
2219 if (tsp != NULL) in linux_common_ppoll()
2230 error = kern_poll_kfds(td, kfds, nfds, tsp, ssp); in linux_common_ppoll()
2234 if (error == 0 && tsp != NULL) { in linux_common_ppoll()
2238 timespecsub(tsp, &ts1, tsp); in linux_common_ppoll()
2239 if (tsp->tv_sec < 0) in linux_common_ppoll()
2240 timespecclear(tsp); in linux_common_ppoll()
2242 timespecclear(tsp); in linux_common_ppoll()
2255 struct timespec uts, *tsp; in linux_ppoll_time64() local
2258 if (args->tsp != NULL) { in linux_ppoll_time64()
2259 error = linux_get_timespec64(&uts, args->tsp); in linux_ppoll_time64()
2262 tsp = &uts; in linux_ppoll_time64()
2264 tsp = NULL; in linux_ppoll_time64()
2265 error = linux_common_ppoll(td, args->fds, args->nfds, tsp, in linux_ppoll_time64()
2267 if (error == 0 && args->tsp != NULL) in linux_ppoll_time64()
2268 error = linux_put_timespec64(&uts, args->tsp); in linux_ppoll_time64()
2550 struct timespec ts, *tsp; in linux_poll() local
2557 tsp = &ts; in linux_poll()
2559 tsp = NULL; in linux_poll()
2562 tsp, NULL, 0)); in linux_poll()