Lines Matching refs:dh
66 struct hashentry *const he, struct datahead *dh, int errval) in cache_addserv() argument
93 dh->nreloads = reload_count - 1; in cache_addserv()
96 timeout = dh->timeout = t + db->postimeout; in cache_addserv()
116 if (dh != NULL) in cache_addserv()
117 dh->usable = false; in cache_addserv()
149 if (dh != NULL) in cache_addserv()
150 dh->usable = false; in cache_addserv()
207 he == NULL ? 0 : dh->nreloads + 1, in cache_addserv()
240 if (total + req->key_len == dh->allocsize in cache_addserv()
241 && total - offsetof (struct dataset, resp) == dh->recsize in cache_addserv()
242 && memcmp (&dataset->resp, dh->data, in cache_addserv()
243 dh->allocsize - offsetof (struct dataset, resp)) == 0) in cache_addserv()
248 dh->timeout = dataset->head.timeout; in cache_addserv()
249 ++dh->nreloads; in cache_addserv()
270 dh->usable = false; in cache_addserv()
342 char *key, uid_t uid, struct hashentry *he, struct datahead *dh) in addservbyX() argument
378 time_t timeout = cache_addserv (db, fd, req, key, serv, uid, he, dh, errval); in addservbyX()
394 struct datahead *dh) in readdservbyname() argument
402 return addservbyX (db, -1, &req, db->data + he->key, he->owner, he, dh); in readdservbyname()
416 struct datahead *dh) in readdservbyport() argument
424 return addservbyX (db, -1, &req, db->data + he->key, he->owner, he, dh); in readdservbyport()