Lines Matching defs:timeout
215 int timeout;
237 /* timeout loop */
240 for (timeout = slp_get_next_onlist(&state);
241 timeout != -1 &&
243 timeout = slp_get_next_onlist(&state)) {
254 0, &timeout, sent, &now, pfd, 1);
257 /* timeout */
299 if (timeout != -1)
339 int maxwait, timeout, noresults, anyresults;
358 /* set the final timeout */
362 /* timeout prep and loop */
367 for (timeout = slp_get_next_onlist(&state);
368 timeout != -1 &&
372 timeout = slp_get_next_onlist(&state)) {
382 sent, &now, &noresults, &anyresults, timeout);
440 * down if nothing has been put in its queue for the timeout period).
471 /* set idle shutdown timeout */
996 * final_to IN final timeout
1001 * timeout IN time for this convergence iteration
1004 * timeout or the final timeout has expired, or if hp->cancel becomes true.
1011 int *noresults, int *anyresults, int timeout) {
1022 final_to, &timeout, sent, now, pfd, nfds);
1024 /* timeout */
1088 /* reset poll's timeout */
1089 timeout = timeout - (int)(*now - sent);
1090 if (timeout <= 0) {
1146 * wait no longer than 'timeout' before returning. poll can return
1147 * even if no data is on the pipe or timeout has occured, so the
1149 * we have exceeded the timeout value. 'final_to' is ignored if it is 0.
1152 * 0 on timeout
1158 int *timeout,
1167 pollerr = poll(pfd, nfds, *timeout);
1176 /* timeout */
1186 when > *timeout)
1188 *timeout = *timeout - when;