Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c214 struct _bucket *_buckets; member
247 return &h->_buckets[b_i]; in __get_bucket()
266 return ((uintptr_t)b - (uintptr_t)&h->_buckets[0]) / sizeof(struct _bucket); in __bucket_idx()
428 h->_buckets = buckets; in cuckoo_hashtable_create()
454 if (h->_buckets != NULL) { in cuckoo_hashtable_free()
456 lck_mtx_destroy(&h->_buckets[i]._lock, &cht_lock_group); in cuckoo_hashtable_free()
458 sk_free_type_array(struct _bucket, h->_n_buckets, h->_buckets); in cuckoo_hashtable_free()
662 from_bkt - h->_buckets, from_slot, to_bkt - h->_buckets, in cuckoo_move()
796 struct _bucket *b = &h->_buckets[i];
907 lck_mtx_destroy(&h->_buckets[i]._lock, &cht_lock_group); in cuckoo_resize()
[all …]
/xnu-8019.80.24/tools/lldbmacros/
H A Dskywalk.py746 b = cht._buckets[i]