Searched refs:newnbuckets (Results 1 – 1 of 1) sorted by relevance
809 int i, bucket, newnbuckets = d->nbuckets * 2; in RehashTable() local811 VLog("Rehashing lease table (new size %d buckets)", newnbuckets); in RehashTable()812 new = malloc(sizeof(RRTableElem *) * newnbuckets); in RehashTable()814 mDNSPlatformMemZero(new, newnbuckets * sizeof(RRTableElem *)); in RehashTable()821 bucket = ptr->rr.resrec.namehash % newnbuckets; in RehashTable()828 d->nbuckets = newnbuckets; in RehashTable()