Lines Matching refs:Entry
1049 typedef struct Entry { struct
1051 struct Entry* hlink; /* next in collision chain */ argument
1052 struct Entry* mru_prev; argument
1053 struct Entry* mru_next; argument
1061 } Entry; argument
1161 entry_free( Entry* e ) in entry_free()
1170 entry_mru_remove( Entry* e ) in entry_mru_remove()
1177 entry_mru_add( Entry* e, Entry* list ) in entry_mru_add()
1179 Entry* first = list->mru_next; in entry_mru_add()
1191 entry_hash( const Entry* e ) in entry_hash()
1202 entry_init_key( Entry* e, const void* query, int querylen ) in entry_init_key()
1218 static Entry*
1219 entry_alloc( const Entry* init, const void* answer, int answerlen ) in entry_alloc()
1221 Entry* e; in entry_alloc()
1244 entry_equals( const Entry* e1, const Entry* e2 ) in entry_equals()
1282 Entry mru_list;
1284 Entry* entries;
1337 _cache_check_pending_request_locked( struct resolv_cache** cache, Entry* key, unsigned netid ) in _cache_check_pending_request_locked()
1377 _cache_notify_waiting_tid_locked( struct resolv_cache* cache, Entry* key ) in _cache_notify_waiting_tid_locked()
1408 Entry key[1]; in _resolv_cache_query_failed()
1434 Entry** pnode = (Entry**) &cache->entries[nn]; in _cache_flush_locked()
1437 Entry* node = *pnode; in _cache_flush_locked()
1507 Entry* e; in _cache_dump_mru()
1573 static Entry**
1575 Entry* key ) in _cache_lookup_p()
1578 Entry** pnode = (Entry**) &cache->entries[ index ]; in _cache_lookup_p()
1581 Entry* node = *pnode; in _cache_lookup_p()
1601 Entry** lookup, in _cache_add_p()
1602 Entry* e ) in _cache_add_p()
1619 Entry** lookup ) in _cache_remove_p()
1621 Entry* e = *lookup; in _cache_remove_p()
1637 Entry* oldest = cache->mru_list.mru_prev; in _cache_remove_oldest()
1638 Entry** lookup = _cache_lookup_p(cache, oldest); in _cache_remove_oldest()
1654 Entry* e; in _cache_remove_expired()
1660 Entry** lookup = _cache_lookup_p(cache, e); in _cache_remove_expired()
1681 Entry key[1]; in _resolv_cache_lookup()
1682 Entry** lookup; in _resolv_cache_lookup()
1683 Entry* e; in _resolv_cache_lookup()
1770 Entry key[1]; in _resolv_cache_add()
1771 Entry* e; in _resolv_cache_add()
1772 Entry** lookup; in _resolv_cache_add()