Home
last modified time | relevance | path

Searched refs:_CHT_BUCKET_SLOTS (Results 1 – 2 of 2) sorted by relevance

/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c191 static const uint8_t _CHT_BUCKET_SLOTS = variable
196 struct _slot _slots[_CHT_BUCKET_SLOTS];
299 return (100 * h->_n_entries) / (h->_n_buckets * _CHT_BUCKET_SLOTS); in cuckoo_hashtable_load_factor()
403 p->cht_capacity < _CHT_BUCKET_SLOTS) { in cuckoo_hashtable_create()
411 n_buckets = __align32pow2(n / _CHT_BUCKET_SLOTS); in cuckoo_hashtable_create()
426 h->_capacity = h->_rcapacity = h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_create()
472 return h->_n_buckets * _CHT_BUCKET_SLOTS; in cuckoo_hashtable_capacity()
494 for (i = 0; i < _CHT_BUCKET_SLOTS; i++) { in __find_in_bucket()
556 if (b->_inuse == _CHT_BUCKET_SLOTS) { in __add_to_bucket()
559 for (uint8_t i = 0; i < _CHT_BUCKET_SLOTS; i++) { in __add_to_bucket()
[all …]
/xnu-8019.80.24/tools/lldbmacros/
H A Dskywalk.py749 for j in range(0, kern.globals._CHT_BUCKET_SLOTS):