Searched refs:n_buckets (Results 1 – 1 of 1) sorted by relevance
392 uint32_t n_buckets = 0; in cuckoo_hashtable_create() local405 n_buckets = __align32pow2(n / _CHT_BUCKET_SLOTS); in cuckoo_hashtable_create()406 buckets = sk_alloc_type_array(struct _bucket, n_buckets, Z_WAITOK, cuckoo_tag); in cuckoo_hashtable_create()412 for (i = 0; i < n_buckets; i++) { in cuckoo_hashtable_create()419 h->_n_buckets = n_buckets; in cuckoo_hashtable_create()421 h->_bitmask = n_buckets - 1; in cuckoo_hashtable_create()