Searched refs:max_entries (Results 1 – 2 of 2) sorted by relevance
94 __u32 max_entries; member
1223 int max_entries; member1369 for (nn = 0; nn < cache->max_entries; nn++) in _cache_flush_locked()1414 cache->max_entries = _res_cache_get_max_entries(); in _resolv_cache_create()1415 cache->entries = calloc(sizeof(*cache->entries), cache->max_entries); in _resolv_cache_create()1514 int index = key->hash % cache->max_entries; in _cache_lookup_p()1744 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add()1746 if (cache->num_entries >= cache->max_entries) { in _resolv_cache_add()