Searched refs:max_entries (Results 1 – 2 of 2) sorted by relevance
144 __u32 max_entries; member
1222 int max_entries; member1374 for (nn = 0; nn < cache->max_entries; nn++) in _cache_flush_locked()1419 cache->max_entries = _res_cache_get_max_entries(); in _resolv_cache_create()1420 cache->entries = calloc(sizeof(*cache->entries), cache->max_entries); in _resolv_cache_create()1519 int index = key->hash % cache->max_entries; in _cache_lookup_p()1749 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add()1751 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add()