Lines Matching refs:namecache
40 cacheduser_t *namecache[256]; /* indexed by hash of name */
55 if ((entry = namecache[i]) != NULL) {
63 "namecache{%d}: name:%s, uuid:%s, type%s: %s, cached: %s",
171 if (namecache[hash] == NULL) {
173 namecache[hash] = cacheduser;
175 cacheduser->next = namecache[hash];
176 namecache[hash]->prev = cacheduser;
177 namecache[hash] = cacheduser;
211 if (namecache[hash] == NULL)
214 entry = namecache[hash];
231 if ((namecache[hash] = entry->next) != NULL)
232 namecache[hash]->prev = NULL;