Lines Matching refs:timeoutp
285 waitfd(int fd, int *timeoutp, short events, volatile sig_atomic_t *stop) in waitfd() argument
292 if (timeoutp && *timeoutp == -1) in waitfd()
293 timeoutp = NULL; in waitfd()
297 if (timeoutp != NULL) in waitfd()
298 ptimeout_deadline_ms(&timeout, *timeoutp); in waitfd()
301 for (; timeoutp == NULL || *timeoutp >= 0;) { in waitfd()
315 if (timeoutp) in waitfd()
316 *timeoutp = ptimeout_get_ms(&timeout); in waitfd()
336 waitrfd(int fd, int *timeoutp, volatile sig_atomic_t *stop) { in waitrfd() argument
337 return waitfd(fd, timeoutp, POLLIN, stop); in waitrfd()
349 socklen_t addrlen, int *timeoutp) in timeout_connect() argument
355 if (timeoutp == NULL || *timeoutp <= 0) in timeout_connect()
371 if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1) in timeout_connect()