Home | History | Annotate | Download | only in npf

Lines Matching defs:bucket

88 	lpm_ent_t **	bucket;
115 KASSERT(!hmap->bucket);
119 lpm_ent_t *entry = hmap->bucket[i];
133 kmem_free(hmap->bucket, hmap->hashsize * sizeof(lpm_ent_t *));
134 hmap->bucket = NULL;
172 lpm_ent_t **bucket;
178 bucket = kmem_zalloc(hashsize * sizeof(lpm_ent_t *), flags);
179 if (bucket == NULL)
182 lpm_ent_t *list = hmap->bucket[n];
190 entry->next = bucket[i];
191 bucket[i] = entry;
194 if (hmap->bucket)
195 kmem_free(hmap->bucket, hmap->hashsize * sizeof(lpm_ent_t *));
196 hmap->bucket = bucket;
215 entry = hmap->bucket[i];
225 entry->next = hmap->bucket[i];
228 hmap->bucket[i] = entry;
244 entry = hmap->bucket[i];
265 entry = hmap->bucket[i];
272 hmap->bucket[i] = entry->next;