Lines Matching refs:tab
59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i];
104 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) +
146 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i];
250 ckhc_t *tab, *ttab;
273 tab = (ckhc_t *)ipallocztm(tsdn, usize, CACHELINE, true, NULL,
275 if (tab == NULL) {
280 ttab = ckh->tab;
281 ckh->tab = tab;
282 tab = ttab;
285 if (!ckh_rebuild(ckh, tab)) {
286 idalloctm(tsdn, tab, NULL, true, true);
291 idalloctm(tsdn, ckh->tab, NULL, true, true);
292 ckh->tab = tab;
304 ckhc_t *tab, *ttab;
317 tab = (ckhc_t *)ipallocztm(tsdn, usize, CACHELINE, true, NULL, true,
319 if (tab == NULL) {
327 ttab = ckh->tab;
328 ckh->tab = tab;
329 tab = ttab;
332 if (!ckh_rebuild(ckh, tab)) {
333 idalloctm(tsdn, tab, NULL, true, true);
341 idalloctm(tsdn, ckh->tab, NULL, true, true);
342 ckh->tab = tab;
394 ckh->tab = (ckhc_t *)ipallocztm(tsdn, usize, CACHELINE, true, NULL,
396 if (ckh->tab == NULL) {
424 idalloctm(tsdn, ckh->tab, NULL, true, true);
445 if (ckh->tab[i].key != NULL) {
447 *key = (void *)ckh->tab[i].key;
449 *data = (void *)ckh->tab[i].data;
493 *key = (void *)ckh->tab[cell].key;
495 *data = (void *)ckh->tab[cell].data;
496 ckh->tab[cell].key = NULL;
497 ckh->tab[cell].data = NULL; /* Not necessary. */
524 *key = (void *)ckh->tab[cell].key;
526 *data = (void *)ckh->tab[cell].data;