Lines Matching refs:key
1210 Entry* key ) in _cache_lookup_p() argument
1212 int index = key->hash % MAX_HASH_ENTRIES; in _cache_lookup_p()
1213 Entry** pnode = &cache->entries[ key->hash % MAX_HASH_ENTRIES ]; in _cache_lookup_p()
1221 if (node->hash == key->hash && entry_equals(node, key)) in _cache_lookup_p()
1292 Entry key[1]; in _resolv_cache_lookup() local
1304 if (!entry_init_key(key, query, querylen)) { in _resolv_cache_lookup()
1314 lookup = _cache_lookup_p(cache, key); in _resolv_cache_lookup()
1363 Entry key[1]; in _resolv_cache_add() local
1369 if (!entry_init_key( key, query, querylen )) { in _resolv_cache_add()
1383 lookup = _cache_lookup_p(cache, key); in _resolv_cache_add()
1395 lookup = _cache_lookup_p(cache, key); in _resolv_cache_add()
1404 e = entry_alloc( key, answer, answerlen ); in _resolv_cache_add()