Home
last modified time | relevance | path

Searched refs:CONFIG_MAX_ENTRIES (Results 1 – 1 of 1) sorted by relevance

/packages/modules/DnsResolver/
Dres_cache.cpp156 const int CONFIG_MAX_ENTRIES = 64 * 2 * 5; variable
934 entries.resize(CONFIG_MAX_ENTRIES); in Cache()
940 for (int nn = 0; nn < CONFIG_MAX_ENTRIES; nn++) { in flush()
1105 int index = key->hash % CONFIG_MAX_ENTRIES; in _cache_lookup_p()
1322 if (cache->num_entries >= CONFIG_MAX_ENTRIES) { in resolv_cache_add()
1324 if (cache->num_entries >= CONFIG_MAX_ENTRIES) { in resolv_cache_add()