Lines Matching refs:timeoutp
337 waitfd(int fd, int *timeoutp, short events, volatile sig_atomic_t *stop) in waitfd() argument
344 if (timeoutp && *timeoutp == -1) in waitfd()
345 timeoutp = NULL; in waitfd()
349 if (timeoutp != NULL) in waitfd()
350 ptimeout_deadline_ms(&timeout, *timeoutp); in waitfd()
353 for (; timeoutp == NULL || *timeoutp >= 0;) { in waitfd()
367 if (timeoutp) in waitfd()
368 *timeoutp = ptimeout_get_ms(&timeout); in waitfd()
388 waitrfd(int fd, int *timeoutp, volatile sig_atomic_t *stop) { in waitrfd() argument
389 return waitfd(fd, timeoutp, POLLIN, stop); in waitrfd()
401 socklen_t addrlen, int *timeoutp) in timeout_connect() argument
407 if (timeoutp == NULL || *timeoutp <= 0) in timeout_connect()
423 if (waitfd(sockfd, timeoutp, POLLIN | POLLOUT, NULL) == -1) in timeout_connect()