Searched refs:_CHT_BUCKET_SLOTS (Results 1 – 2 of 2) sorted by relevance
192 static const uint8_t _CHT_BUCKET_SLOTS = variable197 struct _slot _slots[_CHT_BUCKET_SLOTS];302 return (100 * h->_n_entries) / (h->_n_buckets * _CHT_BUCKET_SLOTS); in cuckoo_hashtable_load_factor()397 p->cht_capacity < _CHT_BUCKET_SLOTS) { in cuckoo_hashtable_create()405 n_buckets = __align32pow2(n / _CHT_BUCKET_SLOTS); in cuckoo_hashtable_create()421 h->_capacity = h->_rcapacity = h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_create()466 return h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_capacity()488 for (i = 0; i < _CHT_BUCKET_SLOTS; i++) { in __find_in_bucket()550 if (b->_inuse == _CHT_BUCKET_SLOTS) { in __add_to_bucket()553 for (uint8_t i = 0; i < _CHT_BUCKET_SLOTS; i++) { in __add_to_bucket()[all …]
753 for j in range(0, kern.globals._CHT_BUCKET_SLOTS):