Lines Matching refs:lookup
1601 Entry** lookup, in _cache_add_p() argument
1604 *lookup = e; in _cache_add_p()
1619 Entry** lookup ) in _cache_remove_p() argument
1621 Entry* e = *lookup; in _cache_remove_p()
1627 *lookup = e->hlink; in _cache_remove_p()
1638 Entry** lookup = _cache_lookup_p(cache, oldest); in _cache_remove_oldest() local
1640 if (*lookup == NULL) { /* should not happen */ in _cache_remove_oldest()
1648 _cache_remove_p(cache, lookup); in _cache_remove_oldest()
1660 Entry** lookup = _cache_lookup_p(cache, e); in _cache_remove_expired() local
1661 if (*lookup == NULL) { /* should not happen */ in _cache_remove_expired()
1666 _cache_remove_p(cache, lookup); in _cache_remove_expired()
1682 Entry** lookup; in _resolv_cache_lookup() local
1710 lookup = _cache_lookup_p(cache, key); in _resolv_cache_lookup()
1711 e = *lookup; in _resolv_cache_lookup()
1720 lookup = _cache_lookup_p(cache, key); in _resolv_cache_lookup()
1721 e = *lookup; in _resolv_cache_lookup()
1732 XLOG( " NOT IN CACHE (STALE ENTRY %p DISCARDED)", *lookup ); in _resolv_cache_lookup()
1734 _cache_remove_p(cache, lookup); in _resolv_cache_lookup()
1772 Entry** lookup; in _resolv_cache_add() local
1798 lookup = _cache_lookup_p(cache, key); in _resolv_cache_add()
1799 e = *lookup; in _resolv_cache_add()
1813 lookup = _cache_lookup_p(cache, key); in _resolv_cache_add()
1814 e = *lookup; in _resolv_cache_add()
1827 _cache_add_p(cache, lookup, e); in _resolv_cache_add()