Searched defs:newtable (Results 1 - 2 of 2) sorted by relevance

/bind-9.11.3/lib/isc/
H A Dsymtab.c183 eltlist_t *newtable; local
192 newtable = isc_mem_get(symtab->mctx, newsize * sizeof(eltlist_t));
193 if (newtable == NULL)
197 INIT_LIST(newtable[i]);
209 APPEND(newtable[hv % newsize], elt, link);
216 symtab->table = newtable;
/bind-9.11.3/lib/dns/
H A Dbadcache.c117 dns_bcentry_t **newtable, *bad, *next; local
125 newtable = isc_mem_get(bc->mctx, sizeof(dns_bcentry_t *) * newsize);
126 if (newtable == NULL)
128 memset(newtable, 0, sizeof(dns_bcentry_t *) * newsize);
138 bad->next = newtable[bad->hashval % newsize];
139 newtable[bad->hashval % newsize] = bad;
147 bc->table = newtable;

Completed in 12 milliseconds