Home
last modified time | relevance | path

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

/xnu-8796.121.2/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c617 struct _bucket *from_bkt, *to_bkt, *alt_bkt; in cuckoo_move() local
628 from_bkt = __get_bucket(h, prev_node->bkt_idx); in cuckoo_move()
631 if (!__lock_bucket_with_backoff(from_bkt)) { in cuckoo_move()
643 alt_bkt = __alt_bucket(h, from_bkt->_slots[from_slot]._hash); in cuckoo_move()
646 __unlock_bucket(from_bkt); in cuckoo_move()
656 from_bkt - h->_buckets, from_slot, to_bkt - h->_buckets, in cuckoo_move()
663 to_bkt->_slots[to_slot] = from_bkt->_slots[from_slot]; in cuckoo_move()
665 __slot_reset(&from_bkt->_slots[from_slot]); in cuckoo_move()
666 from_bkt->_inuse--; in cuckoo_move()
671 to_bkt = from_bkt; in cuckoo_move()