Lines Matching defs:entry
2192 * First calls hnc_lookup to see if there is valid cache entry for
2913 /* hand-craft a host_list_t entry for our local host name */
3428 /* clear out file entry */
5309 * single linked list. if cached entry was found, it will
5311 * the entries, an entry which has already expired will be invalidated.
5313 * Hashes the ipaddress finds the index and puts current entry to the list.
5351 DPRINT3(1, "hnc_init(%u): hostname cache configured %d entry"
5392 * Put the entry at the top.
5426 struct hostname_cache **hpp, **tailp, *hp, *entry;
5445 if ((entry = malloc(sizeof (struct hostname_cache))) == NULL) {
5446 MALLOC_FAIL("pushing hostname entry");
5484 entry->addr.len = nbp->len;
5485 entry->addr.buf = addrbuf;
5486 entry->ncp = ncp;
5487 entry->h = h;
5488 entry->expire = time(NULL) + hnc_ttl;
5491 entry->next = hnc_cache[hindex];
5492 hnc_cache[hindex] = entry;
5501 mythreadno, (void *)entry->h, (void *)entry, entry->h->hl_hosts[0]);