Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c192 static const uint8_t _CHT_BUCKET_SLOTS = variable
197 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 …]
/xnu-12377.41.6/tools/lldbmacros/
H A Dskywalk.py753 for j in range(0, kern.globals._CHT_BUCKET_SLOTS):