Lines Matching refs:timeoutp
316 waitfd(int fd, int *timeoutp, short events, volatile sig_atomic_t *stop) in waitfd() argument
323 if (timeoutp && *timeoutp == -1) in waitfd()
324 timeoutp = NULL; in waitfd()
328 if (timeoutp != NULL) in waitfd()
329 ptimeout_deadline_ms(&timeout, *timeoutp); in waitfd()
332 for (; timeoutp == NULL || *timeoutp >= 0;) { in waitfd()
346 if (timeoutp) in waitfd()
347 *timeoutp = ptimeout_get_ms(&timeout); in waitfd()
367 waitrfd(int fd, int *timeoutp, volatile sig_atomic_t *stop) { in waitrfd() argument
368 return waitfd(fd, timeoutp, POLLIN, stop); in waitrfd()
380 socklen_t addrlen, int *timeoutp) in timeout_connect() argument
386 if (timeoutp == NULL || *timeoutp <= 0) in timeout_connect()
402 if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1) in timeout_connect()