Lines Matching refs:nslot
315 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
329 h->nslot = 0; in avtab_destroy()
344 for (i = 0; i < h->nslot; i++) { in avtab_map()
368 uint32_t nslot = 0; in avtab_alloc() local
379 nslot = UINT32_C(1) << shift; in avtab_alloc()
380 if (nslot > MAX_AVTAB_HASH_BUCKETS) in avtab_alloc()
381 nslot = MAX_AVTAB_HASH_BUCKETS; in avtab_alloc()
382 mask = nslot - 1; in avtab_alloc()
384 h->htable = calloc(nslot, sizeof(avtab_ptr_t)); in avtab_alloc()
389 h->nslot = nslot; in avtab_alloc()
401 for (i = 0; i < h->nslot; i++) { in avtab_hash_eval()
418 tag, h->nel, slots_used, h->nslot, max_chain_len); in avtab_hash_eval()