Lines Matching refs:dh
93 struct datahead *dh in cache_search() local
97 if (dh->usable) in cache_search()
102 if (dh->notfound) in cache_search()
108 if (dh->nreloads != 0) in cache_search()
109 dh->nreloads = 0; in cache_search()
112 result = dh; in cache_search()
352 struct datahead *dh = (struct datahead *) (data + runp->packet); in prune_cache() local
370 serv2str[runp->type], str, dh->timeout); in prune_cache()
374 if (dh->timeout < now) in prune_cache()
393 && __builtin_expect (dh->nreloads >= reload_count, 0)) in prune_cache()
395 || dh->notfound in prune_cache()
401 dh->usable = false; in prune_cache()
414 time_t timeout = readdfcts[runp->type] (table, runp, dh); in prune_cache()
419 any |= !dh->usable; in prune_cache()
425 assert (dh->usable); in prune_cache()
426 next_timeout = MIN (next_timeout, dh->timeout); in prune_cache()
470 struct datahead *dh in prune_cache() local
473 if (! dh->usable) in prune_cache()