Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c617 struct _bucket *from_bkt, *to_bkt, *alt_bkt; in cuckoo_move() local
621 to_bkt = __get_bucket(h, curr_node->bkt_idx); in cuckoo_move()
624 __lock_bucket(to_bkt); in cuckoo_move()
633 __unlock_bucket(to_bkt); in cuckoo_move()
644 if (alt_bkt != to_bkt || in cuckoo_move()
645 !__slot_empty(__bucket_slot(to_bkt, to_slot))) { in cuckoo_move()
647 __unlock_bucket(to_bkt); in cuckoo_move()
649 alt_bkt != to_bkt ? "alt_bkt != to_bkt" : "", in cuckoo_move()
650 !__slot_empty(__bucket_slot(to_bkt, to_slot)) ? in cuckoo_move()
656 from_bkt - h->_buckets, from_slot, to_bkt - h->_buckets, in cuckoo_move()
[all …]