Lines Matching refs:retry
122 int retry;
134 int retry;
148 int retry;
161 int retry;
233 int retry,
272 gai_req->retry = retry;
350 gai_resp->retry = gai_req->retry;
368 * retry sleeps once for each pending request, similar to
372 if (gai_resp->retry > INITIAL_DNS_RETRY) {
375 TRACE(1, ("DNS success after retry, ignoring sleeps scheduled before now (%s)\n",
457 int retry,
462 return getaddrinfo_sometime_ex(node, service, hints, retry,
506 if (gai_resp->retry > INITIAL_DNS_RETRY) {
509 TRACE(1, ("DNS success after retry, %u next_dns_timeslot reset (%s)\n",
519 if (gai_req->retry > 0 && again) {
520 /* log the first retry only */
521 if (INITIAL_DNS_RETRY == gai_req->retry)
546 &gai_req->retry, &child_ctx->next_dns_timeslot,
557 "unable to retry hostname %s",
667 gni_req->retry = INITIAL_DNS_RETRY;
742 gni_resp->retry = gni_req->retry;
757 * retry sleeps once for each pending request, similar to
761 if (gni_req->retry > INITIAL_DNS_RETRY) {
829 if (gni_resp->retry > INITIAL_DNS_RETRY) {
832 TRACE(1, ("DNS success after retry, %u next_dns_timeslot reset (%s)\n",
840 if (gni_req->retry > 0)
842 &gni_req->earliest, &gni_req->retry,
845 if (gni_req->retry > 0 && again) {
854 msyslog(LOG_ERR, "unable to retry reverse lookup of %s", stoa(&gni_req->socku));
1043 * to calculate the new retry interval and schedule the next query.
1056 int retry;
1060 retry = *pretry;
1061 when = max(now + retry, *pnext_timeslot);
1070 retry <<= 1;
1071 if (retry & (retry - 1))
1072 retry &= (retry - 1);
1074 retry -= (retry >> 2);
1075 retry = min(retmax, retry);
1079 *pretry = retry;
1084 * and getnameinfo_sometime_complete which implements ntpd's DNS retry