Home
last modified time | relevance | path

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

/xnu-8792.41.9/bsd/skywalk/lib/
H A Dcuckoo_hashtable.c618 uint8_t from_slot, to_slot; in cuckoo_move() local
622 to_slot = leaf_slot; in cuckoo_move()
645 !__slot_empty(__bucket_slot(to_bkt, to_slot))) { in cuckoo_move()
650 !__slot_empty(__bucket_slot(to_bkt, to_slot)) ? in cuckoo_move()
657 to_slot); in cuckoo_move()
659 ASSERT(to_bkt->_slots[to_slot]._node == NULL); in cuckoo_move()
660 ASSERT(to_bkt->_slots[to_slot]._hash == 0); in cuckoo_move()
663 to_bkt->_slots[to_slot] = from_bkt->_slots[from_slot]; in cuckoo_move()
672 to_slot = from_slot; in cuckoo_move()
679 if (to_bkt->_slots[to_slot]._node != NULL) { in cuckoo_move()
[all …]