Lines Matching refs:refresh_ttl
1443 getldap_set_refresh_ttl(server_info_t *head, int *refresh_ttl, in getldap_set_refresh_ttl() argument
1468 if (!head || !refresh_ttl || !no_gd_server) { in getldap_set_refresh_ttl()
1482 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1484 if (*refresh_ttl == 0) { in getldap_set_refresh_ttl()
1503 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1518 *refresh_ttl = REFRESHTTL_REGULAR; in getldap_set_refresh_ttl()
1519 if (*refresh_ttl > (refresh_ttl_max + refresh_ttl_min) / 2) in getldap_set_refresh_ttl()
1520 *refresh_ttl = (refresh_ttl_max + refresh_ttl_min) / 2; in getldap_set_refresh_ttl()
1523 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1563 *refresh_ttl = *refresh_ttl * 2; in getldap_set_refresh_ttl()
1564 if (*refresh_ttl > refresh_ttl_max) in getldap_set_refresh_ttl()
1565 *refresh_ttl = refresh_ttl_max; in getldap_set_refresh_ttl()
1571 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1578 *refresh_ttl = refresh_ttl_min; in getldap_set_refresh_ttl()
1583 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1591 *refresh_ttl = *refresh_ttl / 2; in getldap_set_refresh_ttl()
1592 if (*refresh_ttl < refresh_ttl_min) in getldap_set_refresh_ttl()
1593 *refresh_ttl = refresh_ttl_min; in getldap_set_refresh_ttl()
1596 "seconds\n", *refresh_ttl); in getldap_set_refresh_ttl()
1602 *refresh_ttl); in getldap_set_refresh_ttl()
1617 static int refresh_ttl = 0; in getldap_serverInfo_op() local
1700 refresh_ttl = 0; in getldap_serverInfo_op()
1702 &refresh_ttl, &no_server_good); in getldap_serverInfo_op()
1703 sec_to_refresh = refresh_ttl; in getldap_serverInfo_op()
1788 &refresh_ttl, &no_server_good); in getldap_serverInfo_op()
1800 sec_to_refresh = refresh_ttl; in getldap_serverInfo_op()
1829 sec_to_refresh = refresh_ttl; in getldap_serverInfo_op()
1934 &refresh_ttl, &no_server_good); in getldap_serverInfo_op()
1957 sec_to_refresh = refresh_ttl; in getldap_serverInfo_op()
1965 new_timeout.tv_sec = time(NULL) + refresh_ttl; in getldap_serverInfo_op()